summaryrefslogtreecommitdiffstats
path: root/www/epiphany-extensions/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-06-06 18:04:04 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-06-06 18:04:04 +0800
commit7b4c86f2b5a7f3e637aa96dee6441077d56818aa (patch)
tree0271aede76fb5b8a8febdc37b3065cce85f30a81 /www/epiphany-extensions/Makefile
parenta8fcdde55369b886ead9ed249b7a68bfdb98bf87 (diff)
downloadmarcuscom-ports-7b4c86f2b5a7f3e637aa96dee6441077d56818aa.tar
marcuscom-ports-7b4c86f2b5a7f3e637aa96dee6441077d56818aa.tar.gz
marcuscom-ports-7b4c86f2b5a7f3e637aa96dee6441077d56818aa.tar.bz2
marcuscom-ports-7b4c86f2b5a7f3e637aa96dee6441077d56818aa.tar.lz
marcuscom-ports-7b4c86f2b5a7f3e637aa96dee6441077d56818aa.tar.xz
marcuscom-ports-7b4c86f2b5a7f3e637aa96dee6441077d56818aa.tar.zst
marcuscom-ports-7b4c86f2b5a7f3e637aa96dee6441077d56818aa.zip
Chase epiphany update.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14187 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/epiphany-extensions/Makefile')
-rw-r--r--www/epiphany-extensions/Makefile59
1 files changed, 59 insertions, 0 deletions
diff --git a/www/epiphany-extensions/Makefile b/www/epiphany-extensions/Makefile
new file mode 100644
index 000000000..fe708118f
--- /dev/null
+++ b/www/epiphany-extensions/Makefile
@@ -0,0 +1,59 @@
+# Ports collection Makefile for: epiphany-extensions
+# Date created: 30 December 2003
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= epiphany-extensions
+PORTVERSION= 2.30.1
+PORTREVISION= 2
+CATEGORIES= www gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A set of add-ons for the Epiphany web browser
+
+BUILD_DEPENDS= epiphany:${PORTSDIR}/www/epiphany
+LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre \
+ webkit-1.0.13:${PORTSDIR}/www/webkit-gtk2
+RUN_DEPENDS= epiphany:${PORTSDIR}/www/epiphany
+
+USE_GETTEXT= yes
+USE_BZIP2= yes
+USE_GNOME= gnomeprefix gnomehack intlhack
+INSTALLS_OMF= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+
+EPHY_EXTENSIONS=really-all
+#EPHY_VERSION= ${PORTVERSION:R}
+EPHY_VERSION= 2.31
+
+PLIST_SUB= VERSION=${EPHY_VERSION} EPHY_VERSION=${EPHY_VERSION}
+
+OPTIONS= OPENSP "Enable OpenSP SGML support" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_OPENSP)
+CONFIGURE_ARGS+= --enable-opensp=yes
+LIB_DEPENDS+= osp.5:${PORTSDIR}/textproc/opensp
+.else
+CONFIGURE_ARGS+= --disable-opensp
+.endif
+
+CONFIGURE_ARGS+=--with-extensions="${EPHY_EXTENSIONS}"
+
+post-patch:
+# @${REINPLACE_CMD} -e 's|$$($$PKG_CONFIG --variable=extensionsdir epiphany-$$_epiphany_api_version)|${PREFIX}/lib/epiphany/${PORTVERSION:R}/extensions|g' \
+ @${REINPLACE_CMD} -e 's|$$($$PKG_CONFIG --variable=extensionsdir epiphany-$$_epiphany_api_version)|${PREFIX}/lib/epiphany/2.31/extensions|g' \
+ -e 's|$$($$PKG_CONFIG --variable=icondir epiphany-$$EPIPHANY_API_VERSION)|${PREFIX}/share/epiphany/icons|g' \
+ -e 's|EPIPHANY_API_VERSION=2.29|EPIPHANY_API_VERSION=2.31|g' \
+ ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>