aboutsummaryrefslogtreecommitdiffstats
path: root/comms/lrzsz
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-08-19 21:29:59 +0800
committermat <mat@FreeBSD.org>2015-08-19 21:29:59 +0800
commit9d30f78a00bed11384c7259f662e9352754275db (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /comms/lrzsz
parent996088dedaf9d22bcd7c90caa96d33c0f68b08e7 (diff)
downloadfreebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.gz
freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.zst
freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.zip
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Diffstat (limited to 'comms/lrzsz')
-rw-r--r--comms/lrzsz/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/comms/lrzsz/Makefile b/comms/lrzsz/Makefile
index 211c6d9ee274..f331a4d414be 100644
--- a/comms/lrzsz/Makefile
+++ b/comms/lrzsz/Makefile
@@ -17,13 +17,8 @@ ALL_TARGET= all # vcheck
OPTIONS_DEFINE= NLS
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_FILES+= share/locale/de/LC_MESSAGES/lrzsz.mo
-.else
-CONFIGURE_ARGS+= --disable-nls
-.endif
+NLS_USES= gettext
+NLS_PLIST_FILES= share/locale/de/LC_MESSAGES/lrzsz.mo
+NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.mk>