summaryrefslogtreecommitdiffstats
path: root/devel/seed/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-01-16 02:47:23 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-01-16 02:47:23 +0800
commit751b6d3ca64f255ceb5d6a166b89bf472d7587e6 (patch)
tree38e4e4fdfd49b10ab68afd572b504f602dc105b9 /devel/seed/Makefile
parent61aa936abab4cc2921800f35d26f0a0e6ef89ec2 (diff)
downloadmarcuscom-ports-751b6d3ca64f255ceb5d6a166b89bf472d7587e6.tar
marcuscom-ports-751b6d3ca64f255ceb5d6a166b89bf472d7587e6.tar.gz
marcuscom-ports-751b6d3ca64f255ceb5d6a166b89bf472d7587e6.tar.bz2
marcuscom-ports-751b6d3ca64f255ceb5d6a166b89bf472d7587e6.tar.lz
marcuscom-ports-751b6d3ca64f255ceb5d6a166b89bf472d7587e6.tar.xz
marcuscom-ports-751b6d3ca64f255ceb5d6a166b89bf472d7587e6.tar.zst
marcuscom-ports-751b6d3ca64f255ceb5d6a166b89bf472d7587e6.zip
This is a copy of devel/seed but then build agains webkit-gtk3.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15031 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/seed/Makefile')
-rw-r--r--devel/seed/Makefile70
1 files changed, 70 insertions, 0 deletions
diff --git a/devel/seed/Makefile b/devel/seed/Makefile
new file mode 100644
index 000000000..8cd7b979e
--- /dev/null
+++ b/devel/seed/Makefile
@@ -0,0 +1,70 @@
+# New ports collection makefile for: seed
+# Date created: 19 July 2009
+# Whom: Alexander Logvinov <avl@FreeBSD.org>
+#
+# $FreeBSD: ports/devel/seed/Makefile,v 1.11 2010/12/04 07:31:27 ade Exp $
+# $MCom: ports/devel/seed/Makefile,v 1.24 2010/09/19 15:06:42 kwm Exp $
+#
+# NOTE: It may be necessary to update ${FILESDIR}/Seed.js on each release.
+# To do that, just replace imports.searchPaths with "." and ".." elements.
+#
+
+PORTNAME= seed
+PORTVERSION= 2.31.91
+CATEGORIES= devel gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= GObject JavaScriptCore bridge
+
+BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gnome-js-common.pc:${PORTSDIR}/devel/gnome-js-common
+LIB_DEPENDS= ffi.5:${PORTSDIR}/devel/libffi \
+ webkitgtk-3.0.0:${PORTSDIR}/www/webkit-gtk3 \
+ girepository-1.0.1:${PORTSDIR}/devel/gobject-introspection \
+ dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
+ sqlite3.8:${PORTSDIR}/databases/sqlite3 \
+ mpfr.4:${PORTSDIR}/math/mpfr
+
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+USE_GETTEXT= yes
+USE_GNOME= gnomehack gtk20 intltool libxml2
+USE_LDCONFIG= yes
+USE_AUTOTOOLS= libtool
+USE_GMAKE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS+=--enable-gtk-doc=no --with-webkit=3.0
+
+MAN1= seed.1
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|== x|= x|g' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-ldl||g' \
+ ${WRKSRC}/libseed/Makefile.in
+ @${REINPLACE_CMD} -e 's|reference||g' ${WRKSRC}/doc/Makefile.in
+# @${FIND} ${WRKSRC}/examples -name Makefile.in -type f | ${XARGS} ${REINPLACE_CMD} -e \
+# 's|$$(datadir)/doc/seed/examples|${EXAMPLESDIR}|g'
+#.if defined(NOPORTEXAMPLES)
+# @${REINPLACE_CMD} -e 's|examples||g' \
+# ${WRKSRC}/Makefile.in
+#.endif
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e 's| install-seeddocDATA||g ; s|doc$$||g' \
+ ${WRKSRC}/Makefile.in
+.endif
+
+pre-build:
+ cd ${WRKSRC}/extensions && ${SETENV} ${MAKE_ENV} ${GMAKE} \
+ ${MAKE_FLAGS} Makefile ${MAKE_ARGS} all
+ ${CP} ${WRKSRC}/extensions/Seed.js ${WRKSRC}/extensions/Seed.js.sav
+ ${CP} ${FILESDIR}/Seed.js ${WRKSRC}/extensions/Seed.js
+
+post-build:
+ ${CP} ${WRKSRC}/extensions/Seed.js.sav ${WRKSRC}/extensions/Seed.js
+
+.include <bsd.port.post.mk>