aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2012-06-17 19:01:00 +0800
committerrene <rene@FreeBSD.org>2012-06-17 19:01:00 +0800
commit7b5a4bfaafa5964a9a5578f10c1d44cef5100320 (patch)
treee04d06f1d868bfd3de98f12923a23a81c632567e /x11
parentfceef4b35faa0d181fa2d1c1498a281f40fb8e96 (diff)
downloadfreebsd-ports-gnome-7b5a4bfaafa5964a9a5578f10c1d44cef5100320.tar.gz
freebsd-ports-gnome-7b5a4bfaafa5964a9a5578f10c1d44cef5100320.tar.zst
freebsd-ports-gnome-7b5a4bfaafa5964a9a5578f10c1d44cef5100320.zip
Convert to optionsNG
Diffstat (limited to 'x11')
-rw-r--r--x11/xfce4-screenshooter-plugin/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/x11/xfce4-screenshooter-plugin/Makefile b/x11/xfce4-screenshooter-plugin/Makefile
index 21d0e6bce65a..a5cdc3b55014 100644
--- a/x11/xfce4-screenshooter-plugin/Makefile
+++ b/x11/xfce4-screenshooter-plugin/Makefile
@@ -18,8 +18,6 @@ COMMENT= Desktop Screenshot plugin for Xfce
LIB_DEPENDS= soup-2:${PORTSDIR}/devel/libsoup
-OPTIONS= NLS "Enable Native Language Support" on
-
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
@@ -28,9 +26,9 @@ USE_GNOME= glib20 gtk20 intltool intlhack pkgconfig
USE_XFCE= configenv panel libutil libgui
MAN1= xfce4-screenshooter.1
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
@@ -41,4 +39,4 @@ PLIST_SUB+= NLS="@comment "
post-patch:
@${REINPLACE_CMD} -e 's|%%PORTNAME%%|${PORTNAME}|g' ${WRKSRC}/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>