summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoravl <avl@df743ca5-7f9a-e211-a948-0013205c9059>2009-09-16 10:39:25 +0800
committeravl <avl@df743ca5-7f9a-e211-a948-0013205c9059>2009-09-16 10:39:25 +0800
commit5cbbcf344d134afedde556915cebd2e203eb7368 (patch)
treeb459a7d57f59a44ef86153b381807012b658fd43 /www
parentfedab432476cca039e6c15403bf7d95b7c34adf4 (diff)
downloadmarcuscom-ports-5cbbcf344d134afedde556915cebd2e203eb7368.tar
marcuscom-ports-5cbbcf344d134afedde556915cebd2e203eb7368.tar.gz
marcuscom-ports-5cbbcf344d134afedde556915cebd2e203eb7368.tar.bz2
marcuscom-ports-5cbbcf344d134afedde556915cebd2e203eb7368.tar.lz
marcuscom-ports-5cbbcf344d134afedde556915cebd2e203eb7368.tar.xz
marcuscom-ports-5cbbcf344d134afedde556915cebd2e203eb7368.tar.zst
marcuscom-ports-5cbbcf344d134afedde556915cebd2e203eb7368.zip
Add optional seed support.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12881 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www')
-rw-r--r--www/epiphany/Makefile15
-rw-r--r--www/epiphany/pkg-plist4
2 files changed, 17 insertions, 2 deletions
diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile
index 2bad99189..1e9ef4e5f 100644
--- a/www/epiphany/Makefile
+++ b/www/epiphany/Makefile
@@ -3,7 +3,7 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/www/epiphany/Makefile,v 1.207 2009/08/25 07:06:31 kwm Exp $
+# $MCom: ports/www/epiphany/Makefile,v 1.208 2009/09/08 18:45:54 kwm Exp $
#
PORTNAME= epiphany
@@ -44,7 +44,8 @@ PLIST_SUB+= EPHY_VERSION="${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}"
MAN1= epiphany.1
-OPTIONS= NSS "Import passwords from 2.26 and older on first run" on
+OPTIONS= NSS "Import passwords from 2.26 and older on first run" on \
+ SEED "Enable seed support" off
.if defined(PACKAGE_BUILDING)
.undef WITHOUT_GNOME
@@ -66,6 +67,16 @@ CONFIGURE_ARGS+=--enable-nss
CONFIGURE_ARGS+=--disable-nss
.endif
+.if defined(WITH_SEED)
+LIB_DEPENDS+= seed.0:${PORTSDIR}/devel/seed
+BUILD_DEPENDS+= ${LOCALBASE}/share/gir-1.0/WebKit-1.0.gir:${PORTSDIR}/www/gir-repository-webkit
+RUN_DEPENDS+= ${LOCALBASE}/share/gir-1.0/WebKit-1.0.gir:${PORTSDIR}/www/gir-repository-webkit
+CONFIGURE_ARGS+=-enable-seed --enable-introspection
+PLIST_SUB+= GIR=""
+.else
+PLIST_SUB+= GIR="@comment "
+.endif
+
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
's|-lpthread|${PTHREAD_LIBS}|g'
diff --git a/www/epiphany/pkg-plist b/www/epiphany/pkg-plist
index 5de88f3ed..e3cc76a66 100644
--- a/www/epiphany/pkg-plist
+++ b/www/epiphany/pkg-plist
@@ -39,6 +39,8 @@ share/aclocal/epiphany.m4
share/applications/bme.desktop
share/applications/epiphany.desktop
share/dbus-1/services/org.gnome.Epiphany.service
+%%GIR%%lib/girepository-1.0/Epiphany-2.27.typelib
+%%GIR%%share/gir-1.0/Epiphany-2.27.gir
%%DOCSDIR%%/EphyCommandManager.html
%%DOCSDIR%%/EphyEmbed.html
%%DOCSDIR%%/EphyLocationEntry.html
@@ -396,6 +398,8 @@ share/omf/epiphany/epiphany-uk.omf
@dirrmtry %%DATADIR%%
@dirrmtry %%DOCSDIR%%
@dirrmtry share/applications
+%%GIR%%@dirrmtry lib/girepository-1.0
+%%GIR%%@dirrmtry share/gir-1.0
@dirrmtry lib/epiphany/%%EPHY_VERSION%%/plugins
@dirrmtry lib/epiphany/%%EPHY_VERSION%%
@dirrmtry lib/epiphany