aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-01 16:59:20 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-01 16:59:20 +0000
commitebdc8740cb89f824afce83e20c29f487f5fffdb1 (patch)
tree1e21bd11cd298963c7da7054dbb6e9a6e6d1eb1d /comms
parentcb564fb324f294b0ac8ecd9ce88e4d9d4bd0608f (diff)
downloadports-ebdc8740cb89f824afce83e20c29f487f5fffdb1.tar.gz
ports-ebdc8740cb89f824afce83e20c29f487f5fffdb1.zip
Convert to new options framework
Notes
Notes: svn path=/head/; revision=297967
Diffstat (limited to 'comms')
-rw-r--r--comms/gnocky/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/comms/gnocky/Makefile b/comms/gnocky/Makefile
index 8fd0c45dd19d..03b951ee1950 100644
--- a/comms/gnocky/Makefile
+++ b/comms/gnocky/Makefile
@@ -22,11 +22,11 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-OPTIONS= NLS "Build with Native Language Support" on
+OPTIONS_DEFINE= NLS
-.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
@@ -34,4 +34,4 @@ CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>