summaryrefslogtreecommitdiffstats
path: root/graphics/eog-plugins3
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-04-27 05:23:07 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-04-27 05:23:07 +0800
commit65b53dfde8bfeb6ae17c3e99a409dc36324e8dd9 (patch)
tree0648e0ce504a559632af430d3494fe2008d104aa /graphics/eog-plugins3
parent613b43090f18ebf78cb6ffd8eac82a763a0ce226 (diff)
downloadmarcuscom-ports-65b53dfde8bfeb6ae17c3e99a409dc36324e8dd9.tar
marcuscom-ports-65b53dfde8bfeb6ae17c3e99a409dc36324e8dd9.tar.gz
marcuscom-ports-65b53dfde8bfeb6ae17c3e99a409dc36324e8dd9.tar.bz2
marcuscom-ports-65b53dfde8bfeb6ae17c3e99a409dc36324e8dd9.tar.lz
marcuscom-ports-65b53dfde8bfeb6ae17c3e99a409dc36324e8dd9.tar.xz
marcuscom-ports-65b53dfde8bfeb6ae17c3e99a409dc36324e8dd9.tar.zst
marcuscom-ports-65b53dfde8bfeb6ae17c3e99a409dc36324e8dd9.zip
Massive port framework maintaince/update (long over due too)
Deal with recent USES changes, pet portlint here and there. Sync with ports, more to come. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18393 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/eog-plugins3')
-rw-r--r--graphics/eog-plugins3/Makefile29
1 files changed, 13 insertions, 16 deletions
diff --git a/graphics/eog-plugins3/Makefile b/graphics/eog-plugins3/Makefile
index 1605a6f50..20de73252 100644
--- a/graphics/eog-plugins3/Makefile
+++ b/graphics/eog-plugins3/Makefile
@@ -1,10 +1,6 @@
-# New ports collection makefile for: eog-plugins
-# Date created: 28 August 2009
-# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
-#
+# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
-# $MCom$
-#
+# $MCom: ports/trunk/graphics/eog-plugins3/Makefile 17268 2013-04-01 05:13:11Z marcus $
PORTNAME= eog-plugins
PORTVERSION= 3.4.1
@@ -17,8 +13,8 @@ COMMENT= Plug-ins for the Eye of GNOME image viewer application
BUILD_DEPENDS= eog>=3.4.0:${PORTSDIR}/graphics/eog3
LIB_DEPENDS= gdata.13:${PORTSDIR}/devel/libgdata \
- exif.12:${PORTSDIR}/graphics/libexif \
- peas-1.0.0:${PORTSDIR}/devel/libpeas
+ exif:${PORTSDIR}/graphics/libexif \
+ peas-1.0:${PORTSDIR}/devel/libpeas
RUN_DEPENDS= eog>=3.4.0:${PORTSDIR}/graphics/eog3
CONFLICTS= eog-plugins-2.[0-9]*
@@ -26,27 +22,28 @@ CONFLICTS= eog-plugins-2.[0-9]*
LATEST_LINK= eog-plugins3
USE_XZ= yes
USE_GMAKE= yes
-USE_GNOME= gnomeprefix gnomehack intlhack gtk30
-USE_GETTEXT= yes
+USE_GNOME= gnomeprefix intlhack gtk30
+USES= gettext pathfix pkgconfig
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GLIB_SCHEMAS= org.gnome.eog.plugins.exif-display.gschema.xml
-OPTIONS= CHAMPLAIN "Build champlain map plugin" off \
- PYTHON "Build python based plugins" on
+OPTIONS_DEFINE= CHAMPLAIN PYTHON
+OPTIONS_DEFAULT=PYTHON
+CHAMPLAIN_DESC= Champlain map plugin
.include <bsd.port.options.mk>
-.if defined(WITH_CHAMPLAIN)
-LIB_DEPENDS+= champlain-0.12.0:${PORTSDIR}/graphics/libchamplain
+.if ${PORT_OPTIONS:MCHAMPLAIN}
+LIB_DEPENDS+= champlain-0.12:${PORTSDIR}/graphics/libchamplain
PLIST_SUB+= CHAMPLAIN=""
.else
PLIST_SUB+= CHAMPLAIN="@comment "
.endif
-.if defined(WITH_PYTHON)
+.if ${PORT_OPTIONS:MPYTHON}
CONFIGURE_ARGS+=--enable-python
PLIST_SUB+= PYTHON=""
GLIB_SCHEMAS+= org.gnome.eog.plugins.fullscreenbg.gschema.xml \
@@ -56,7 +53,7 @@ CONFIGURE_ARGS+=--disable-python
PLIST_SUB+= PYTHON="@comment "
.endif
-.if defined(WITHOUT_CHAMPLAIN)
+.if ! ${PORT_OPTIONS:MCHAMPLAIN}
post-patch:
@${REINPLACE_CMD} -e 's|champlain-gtk|disabled-champlain-gtk|g' \
${WRKSRC}/configure