diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-04-24 12:49:23 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-04-24 12:49:23 +0800 |
commit | d619c3ad180db8416e4580301fdb894f6bee764a (patch) | |
tree | 3ca155715cf7f1cb144105bf0b8a4b25a57b8003 /www/epiphany-extensions/Makefile | |
parent | 12ec2db01912240f9da4f0637421377d2ac2504f (diff) | |
download | marcuscom-ports-d619c3ad180db8416e4580301fdb894f6bee764a.tar marcuscom-ports-d619c3ad180db8416e4580301fdb894f6bee764a.tar.gz marcuscom-ports-d619c3ad180db8416e4580301fdb894f6bee764a.tar.bz2 marcuscom-ports-d619c3ad180db8416e4580301fdb894f6bee764a.tar.lz marcuscom-ports-d619c3ad180db8416e4580301fdb894f6bee764a.tar.xz marcuscom-ports-d619c3ad180db8416e4580301fdb894f6bee764a.tar.zst marcuscom-ports-d619c3ad180db8416e4580301fdb894f6bee764a.zip |
Add the adblock extension as a default-on option.
Requested by: mux
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6123 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/epiphany-extensions/Makefile')
-rw-r--r-- | www/epiphany-extensions/Makefile | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/www/epiphany-extensions/Makefile b/www/epiphany-extensions/Makefile index 6b2b54b66..ddaa92d5e 100644 --- a/www/epiphany-extensions/Makefile +++ b/www/epiphany-extensions/Makefile @@ -3,11 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/www/epiphany-extensions/Makefile,v 1.70 2006/04/12 06:41:18 marcus Exp $ +# $MCom: ports/www/epiphany-extensions/Makefile,v 1.71 2006/04/13 07:52:38 bland Exp $ # PORTNAME= epiphany PORTVERSION= 2.14.1 +PORTREVISION= 1 CATEGORIES= www gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}${PKGNAMESUFFIX}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} @@ -31,25 +32,32 @@ GNU_CONFIGURE= 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" \ - --with-mozilla=${GECKO} +CONFIGURE_ARGS= --with-mozilla=${GECKO} + +EPHY_EXTENSIONS=all PLIST_SUB= VERSION="2.14" EPHY_VERSION="2.14" -.if defined(PACKAGE_BUILDING) || defined(PARALLEL_PACKAGE_BUILD) -.undef WITHOUT_OPENSP -WITH_OPENSP= yes -.endif +OPTIONS= OPENSP "Enable OpenSP SGML support" off \ + ADBLOCK "Enable the adblock extension" on .include <bsd.port.pre.mk> -.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk" +.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk" -.if defined(WITH_OPENSP) || exists(${LOCALBASE}/lib/libosp.so) +.if defined(WITH_OPENSP) CONFIGURE_ARGS+= --enable-opensp=yes .else CONFIGURE_ARGS+= --disable-opensp .endif +.if !defined(WITHOUT_ADBLOCK) +EPHY_EXTENSIONS:= ${EPHY_EXTENSIONS},adblock +LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre-utf8 +PLIST_SUB+= ADBLOCK="" +.else +PLIST_SUB+= ADBLOCK="@comment " +.endif + .if exists(${LOCALBASE}/share/pygtk/2.0/defs/epiphany.defs) USE_PYTHON= yes .include "${PORTSDIR}/Mk/bsd.python.mk" @@ -58,6 +66,8 @@ PLIST_SUB+= PYTHON="" PLIST_SUB+= PYTHON="@comment " .endif +CONFIGURE_ARGS+=--with-extensions="${EPHY_EXTENSIONS}" + pre-everything:: @${ECHO_MSG} "Epiphany-extensions also supports the following tunable option(s):" @${ECHO_MSG} " WITH_OPENSP=yes Enable support for OpenSP SGML validation" |