summaryrefslogtreecommitdiff
path: root/x11/xfce4-screenshooter-plugin/Makefile
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2012-06-17 11:01:00 +0000
committerRene Ladan <rene@FreeBSD.org>2012-06-17 11:01:00 +0000
commit1e96e6e89f5445a34810da12f308436ae1c7a019 (patch)
tree792128ebfb60f10f2693e6b25aaa628094cb75c6 /x11/xfce4-screenshooter-plugin/Makefile
parent- Update to 1.8.1 (diff)
Convert to optionsNG
Notes
Notes: svn path=/head/; revision=299456
Diffstat (limited to 'x11/xfce4-screenshooter-plugin/Makefile')
-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>