aboutsummaryrefslogtreecommitdiff
path: root/textproc/meld
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2013-07-10 19:41:30 +0000
committerPawel Pekala <pawel@FreeBSD.org>2013-07-10 19:41:30 +0000
commite482e392f687b2248d2975d68327324a858e1273 (patch)
treef00883f68004a81b9e525ad5cc94de309898b666 /textproc/meld
parent5183b406511b98ffef72263a3609234aaaa0d4fb (diff)
downloadports-e482e392f687b2248d2975d68327324a858e1273.tar.gz
ports-e482e392f687b2248d2975d68327324a858e1273.zip
Notes
Diffstat (limited to 'textproc/meld')
-rw-r--r--textproc/meld/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/textproc/meld/Makefile b/textproc/meld/Makefile
index 4e36c91102ce..1c8e3aabb368 100644
--- a/textproc/meld/Makefile
+++ b/textproc/meld/Makefile
@@ -13,24 +13,19 @@ LICENSE= GPLv2
USE_XZ= yes
USE_GNOME= pygnome2
-USES= desktop-file-utils
+USES= gmake desktop-file-utils
USE_PYTHON= -2.7
-USE_GMAKE= yes
MAKE_ARGS= prefix=${PREFIX}
INSTALLS_ICONS= yes
INSTALLS_OMF= yes
-OPTIONS_DEFINE= PYGNOMEDESKTOP
+OPTIONS_DEFINE= NLS PYGNOMEDESKTOP
+OPTIONS_SUB= yes
PYGNOMEDESKTOP_DESC= Code syntax highlighting (many dependencies)
-.include <bsd.port.options.mk>
+NLS_USES= gettext
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-PLIST_SUB+= NLS="@comment "
-.endif
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} '/docdir_/d' ${WRKSRC}/Makefile