summaryrefslogtreecommitdiffstats
path: root/devel/libpeas/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-09-18 17:46:57 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-09-18 17:46:57 +0800
commit615c69efaef8e5a6f738bcd50c58b5d211bf34a7 (patch)
tree46937d62f6f8b5dbfb5877ea8125861fe83a315f /devel/libpeas/Makefile
parent1d021aaf4c9b5cebf6039cf1935c29f1e72f542d (diff)
downloadmarcuscom-ports-615c69efaef8e5a6f738bcd50c58b5d211bf34a7.tar
marcuscom-ports-615c69efaef8e5a6f738bcd50c58b5d211bf34a7.tar.gz
marcuscom-ports-615c69efaef8e5a6f738bcd50c58b5d211bf34a7.tar.bz2
marcuscom-ports-615c69efaef8e5a6f738bcd50c58b5d211bf34a7.tar.lz
marcuscom-ports-615c69efaef8e5a6f738bcd50c58b5d211bf34a7.tar.xz
marcuscom-ports-615c69efaef8e5a6f738bcd50c58b5d211bf34a7.tar.zst
marcuscom-ports-615c69efaef8e5a6f738bcd50c58b5d211bf34a7.zip
Update to 1.1.3.
New gjs based JS engine. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16236 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/libpeas/Makefile')
-rw-r--r--devel/libpeas/Makefile32
1 files changed, 21 insertions, 11 deletions
diff --git a/devel/libpeas/Makefile b/devel/libpeas/Makefile
index 5af684cbd..95fbf545b 100644
--- a/devel/libpeas/Makefile
+++ b/devel/libpeas/Makefile
@@ -3,11 +3,11 @@
# Whom: Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/devel/libpeas/Makefile,v 1.14 2011/03/10 14:50:58 kwm Exp $
+# $MCom: ports/devel/libpeas/Makefile,v 1.15 2011/04/05 17:20:58 kwm Exp $
#
PORTNAME= libpeas
-PORTVERSION= 1.0.0
+PORTVERSION= 1.1.3
CATEGORIES= devel gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
@@ -18,7 +18,7 @@ COMMENT= Next evolution of the Gedit plugins engine
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
valac:${PORTSDIR}/lang/vala
-USE_BZIP2= yes
+USE_XZ= yes
USE_PYTHON= 2.5+
USE_LDCONFIG= yes
USE_GETTEXT= yes
@@ -27,16 +27,17 @@ USE_AUTOTOOLS= libtool
USE_GNOME= gnomehack glib20 gtk30 ltverhack
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include " \
- LDFLAGS="-L${LOCALBASE}/lib"
+CPPFLAGS= -I${LOCALBASE}/include
+CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
-OPTIONS= PYTHONS "Enable python plugins" on \
- SEED "Enable JavaScript plugins" on
+OPTIONS= PYTHON "Enable python plugins" on \
+ SEED "Enable JavaScript plugins (based on webkit-gtk3)" on \
+ GJS "Enable JavaScript plugins (based on libxul)" off
.include <bsd.port.options.mk>
.if defined(WITH_SEED)
-CONFIGURE_ARGS+=--enable-seed
+CONFIGURE_ARGS+=--enable-seed=yes
LIB_DEPENDS= seed-gtk3.0:${PORTSDIR}/devel/seed3
PLIST_SUB+= SEED=""
.else
@@ -44,14 +45,23 @@ CONFIGURE_ARGS+=--enable-seed=no
PLIST_SUB+= SEED="@comment "
.endif
-.if defined(WITH_PYTHONS)
+.if defined(WITH_PYTHON)
CONFIGURE_ARGS+=--enable-python
-BUILD_DEPENDS+= py*-gobject>=2.28.0:${PORTSDIR}/devel/py-gobject
-USE_GNOME+= pygobject
+USE_GNOME+= pygobject3
PLIST_SUB+= PYTHONS=""
.else
CONFIGURE_ARGS+=--enable-python=no
PLIST_SUB+= PYTHONS="@comment "
.endif
+.if defined(WITH_GJS)
+CONFIGURE_ARGS+=--enable-gjs
+BUILD_DEPENDS+= gjs>=1.29.16:${PORTSDIR}/lang/gjs
+LIB_DEPENDS+= gjs.0:${PORTSDIR}/lang/gjs
+PLIST_SUB+= GJS=""
+.else
+CONFIGURE_ARGS+=--enable-gjs=no
+PLIST_SUB+= GJS="@comment "
+.endif
+
.include <bsd.port.mk>