aboutsummaryrefslogtreecommitdiff
path: root/devel/seed/Makefile
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2014-11-19 11:49:04 +0000
committerKoop Mast <kwm@FreeBSD.org>2014-11-19 11:49:04 +0000
commitaf3811313c14afb06fe2d1f6158e3e431bbfc2b6 (patch)
tree1ad98a4e8faecd0e2fa9ac2c18e65da4cf89c236 /devel/seed/Makefile
parentc7d4d6bd7ef6ff4955eab2863a5c6e2feb14b839 (diff)
downloadports-af3811313c14afb06fe2d1f6158e3e431bbfc2b6.tar.gz
ports-af3811313c14afb06fe2d1f6158e3e431bbfc2b6.zip
Notes
Diffstat (limited to 'devel/seed/Makefile')
-rw-r--r--devel/seed/Makefile47
1 files changed, 22 insertions, 25 deletions
diff --git a/devel/seed/Makefile b/devel/seed/Makefile
index c744f1932ccc..f50e5b9e3a4e 100644
--- a/devel/seed/Makefile
+++ b/devel/seed/Makefile
@@ -1,38 +1,37 @@
# Created by: Alexander Logvinov <avl@FreeBSD.org>
# $FreeBSD$
-# $MCom: ports/devel/seed/Makefile,v 1.35 2013/01/29 16:33:10 kwm Exp $
+# $MCom: ports/trunk/devel/seed/Makefile 19813 2014-08-15 19:44:33Z gusi $
+# 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
-PORTREVISION= 8
+PORTVERSION= 3.8.1
+PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= GNOME
-DIST_SUBDIR= gnome2
+DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= GObject JavaScriptCore bridge
-OPTIONS_DEFINE= DOCS
-
-BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gnome-js-common.pc:${PORTSDIR}/devel/gnome-js-common
+BUILD_DEPENDS= gnome-js-common>=0:${PORTSDIR}/devel/gnome-js-common
LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi \
- libwebkitgtk-1.0.so:${PORTSDIR}/www/webkit-gtk2 \
- libgirepository-1.0.so:${PORTSDIR}/devel/gobject-introspection \
+ libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3 \
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
libmpfr.so:${PORTSDIR}/math/mpfr
-CONFLICTS= seed-3.[0-9]*
-
-GNU_CONFIGURE= yes
-USES= gettext gmake libtool:keepla pathfix pkgconfig tar:bzip2
-USE_GNOME= gtk20 intltool libxml2
+USES= gettext gmake libtool pathfix pkgconfig tar:xz
+USE_GNOME= gtk30 intltool libxml2 introspection
USE_LDCONFIG= yes
-INSTALL_TARGET= install-strip
+GNU_CONFIGURE= yes
USE_SQLITE= yes
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -lglib-2.0 -lgthread-2.0
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--enable-gtk-doc=no --with-webkit=1.0
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ARGS+=--enable-gtk-doc=no --with-webkit=3.0
+DATADIR= share/seed-gtk3
+INSTALL_TARGET= install-strip
+
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|== x|= x|g' \
@@ -40,15 +39,13 @@ post-patch:
@${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 empty(PORT_OPTIONS:MEXAMPLES)
-# @${REINPLACE_CMD} -e 's|examples||g' \
-# ${WRKSRC}/Makefile.in
-#.endif
+.if ! ${PORT_OPTIONS:MDOCS}
+ @${REINPLACE_CMD} -e 's| install-seeddocDATA||g ; s|doc$$||g' \
+ ${WRKSRC}/Makefile.in
+.endif
pre-build:
- cd ${WRKSRC}/extensions && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
+ 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