diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-02-02 14:54:49 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-02-02 14:54:49 +0800 |
commit | da7ea56d442fa55af7927f0296757e45df0d16bd (patch) | |
tree | 6ab6181cf460da0079d8c0409834f7a88d4bf284 /www/epiphany-extensions/Makefile | |
parent | ba7720cb751733c58abc99dc3d1a502599c37efb (diff) | |
download | marcuscom-ports-da7ea56d442fa55af7927f0296757e45df0d16bd.tar marcuscom-ports-da7ea56d442fa55af7927f0296757e45df0d16bd.tar.gz marcuscom-ports-da7ea56d442fa55af7927f0296757e45df0d16bd.tar.bz2 marcuscom-ports-da7ea56d442fa55af7927f0296757e45df0d16bd.tar.lz marcuscom-ports-da7ea56d442fa55af7927f0296757e45df0d16bd.tar.xz marcuscom-ports-da7ea56d442fa55af7927f0296757e45df0d16bd.tar.zst marcuscom-ports-da7ea56d442fa55af7927f0296757e45df0d16bd.zip |
Update to 0.7.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1749 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/epiphany-extensions/Makefile')
-rw-r--r-- | www/epiphany-extensions/Makefile | 60 |
1 files changed, 54 insertions, 6 deletions
diff --git a/www/epiphany-extensions/Makefile b/www/epiphany-extensions/Makefile index a98dd837d..52b196a65 100644 --- a/www/epiphany-extensions/Makefile +++ b/www/epiphany-extensions/Makefile @@ -6,10 +6,10 @@ # PORTNAME= epiphany -PORTVERSION= 0.6 +PORTVERSION= 0.7 CATEGORIES= www gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/${PORTNAME}${PKGNAMESUFFIX}/0.6 +MASTER_SITE_SUBDIR= sources/${PORTNAME}${PKGNAMESUFFIX}/0.7 PKGNAMESUFFIX= -extensions DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} DIST_SUBDIR= gnome2 @@ -17,8 +17,29 @@ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= A set of add-ons for the Epiphany web browser -BUILD_DEPENDS= epiphany:${PORTSDIR}/www/epiphany -RUN_DEPENDS= epiphany:${PORTSDIR}/www/epiphany +BUILD_DEPENDS= epiphany:${PORTSDIR}/www/epiphany \ + ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA} +RUN_DEPENDS= epiphany:${PORTSDIR}/www/epiphany \ + ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA} + +MOZILLA= mozilla-gtk2 +HEADERS_SUFX= + +MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="1.6" + +.if !defined(WITH_MOZILLA) +MOZILLA= mozilla-gtk2 +HEADERS_SUFX= +.else +.if ${WITH_MOZILLA}=="mozilla-devel-gtk2" +MOZILLA= ${WITH_MOZILLA} +HEADERS_SUFX= -devel +MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="trunk" +.else +MOZILLA= mozilla-gtk2 +HEADERS_SUFX= +.endif +.endif USE_BZIP2= yes USE_X_PREFIX= yes @@ -27,6 +48,33 @@ USE_LIBTOOL= yes USE_GMAKE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" -CONFIGURE_ARGS= --with-extensions="all" +CONFIGURE_ARGS= --with-extensions="all" \ + ${MOZ_CONFIGURE_ARGS} + +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/lib/libosp.so) +WITH_OPENSP= yes +.endif + +.if defined(WITH_OPENSP) +CONFIGURE_ARGS+= --enable-opensp=yes +.else +CONFIGURE_ARGS+= --enable-opensp=no +.endif + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} " By default epiphany-extensions builds with www/mozilla-gtk2 support, but you can" + @${ECHO_MSG} " change this by defining WITH_MOZILLA to one of the following values:" + @${ECHO_MSG} + @${ECHO_MSG} " mozilla-devel-gtk2 " + @${ECHO_MSG} "" + @${ECHO_MSG} "Epiphany-extensions also supports the following tunable option(s):" + @${ECHO_MSG} " WITH_OPENSP=yes Enable support for OpenSP SGML validation" + @${ECHO_MSG} "" + +post-patch: + @${REINPLACE_CMD} -e 's|mozilla-gtkmozembed|mozilla-gtkmozembed${HEADERS_SUFX}-gtk2|g' ${WRKSRC}/configure -.include <bsd.port.mk> +.include <bsd.port.post.mk> |