aboutsummaryrefslogtreecommitdiff
path: root/archivers/sharutils
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-10-31 23:28:18 +0000
committerRenato Botelho <garga@FreeBSD.org>2013-10-31 23:28:18 +0000
commite8af00d64cbc0b575c66ef20122d7a2146443d6b (patch)
tree77426c85ff5b5984926fe2c5a9dfb34ecf0a9844 /archivers/sharutils
parent92445d844214558ab253a569add22ae5378d7abf (diff)
downloadports-e8af00d64cbc0b575c66ef20122d7a2146443d6b.tar.gz
ports-e8af00d64cbc0b575c66ef20122d7a2146443d6b.zip
Notes
Diffstat (limited to 'archivers/sharutils')
-rw-r--r--archivers/sharutils/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/archivers/sharutils/Makefile b/archivers/sharutils/Makefile
index 249c9b0b94fd..0b81d763e883 100644
--- a/archivers/sharutils/Makefile
+++ b/archivers/sharutils/Makefile
@@ -21,16 +21,10 @@ INSTALL_TARGET= install install-man
INFO= sharutils
USES= charsetfix perl5
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-PLIST_SUB+= NLS=""
-USES+= gettext
-CONFIGURE_ARGS+=--with-libintl-prefix="${LOCALBASE}"
-.else
-PLIST_SUB+= NLS="@comment "
-CONFIGURE_ARGS+=--disable-nls
-.endif
+OPTIONS_SUB= NLS
+NLS_USES= gettext
+NLS_CONFIGURE_ON= --with-libintl-prefix="${LOCALBASE}"
+NLS_CONFIGURE_OFF= --disable-nls
post-patch:
.for man in shar.1 unshar.1
@@ -52,4 +46,4 @@ post-patch:
${WRKSRC}/doc/${man}
.endfor
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>