summaryrefslogtreecommitdiff
path: root/www/bluefish/Makefile
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-05-05 23:01:49 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-05-05 23:01:49 +0000
commitce6e27aa9e3103ee7c2f760f56b1054d146d1f0e (patch)
tree9f0caaf6d3cd0e3ef1a5e86991943f71fc25913c /www/bluefish/Makefile
parentFix the build when netatalk3 is already installed. (diff)
- convert to USES=gettext
Approved by: portmgr (bapt@)
Notes
Notes: svn path=/head/; revision=317448
Diffstat (limited to 'www/bluefish/Makefile')
-rw-r--r--www/bluefish/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/www/bluefish/Makefile b/www/bluefish/Makefile
index 22cbcd65a8a1..5ceb410d2510 100644
--- a/www/bluefish/Makefile
+++ b/www/bluefish/Makefile
@@ -40,23 +40,18 @@ WEBLINT_DESC= Include Weblint syntax and style checker
OPTIONS_DEFAULT= WEBLINT
-.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
-.if ${HAVE_GNOME:Mlibgnomeui}!=""
-USE_GNOME+= libgnomeui
-.endif
-
.if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+= --with-debugging-output
.endif
-.if defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
+USES+= gettext
+PLIST_SUB+= NLS=""
+.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
-.else
-USE_GETTEXT= yes
-PLIST_SUB+= NLS=""
.endif
.if ${PORT_OPTIONS:MTIDY}
@@ -67,6 +62,12 @@ RUN_DEPENDS+= tidy4:${PORTSDIR}/www/tidy
RUN_DEPENDS+= weblint:${PORTSDIR}/www/weblint
.endif
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mlibgnomeui}!=""
+USE_GNOME+= libgnomeui
+.endif
+
pre-install:
@${MKDIR} ${PREFIX}/share/mime