aboutsummaryrefslogtreecommitdiff
path: root/archivers/gcpio
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2012-12-18 21:29:04 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2012-12-18 21:29:04 +0000
commit6f9014623279a77d6d80ffdef6b3133173953ad1 (patch)
tree4627c59ede033a99d1414f0fc74ac26cb38968bc /archivers/gcpio
parent727c03d0f133ccdcbe15097751b16b402a9e14a5 (diff)
downloadports-6f9014623279a77d6d80ffdef6b3133173953ad1.tar.gz
ports-6f9014623279a77d6d80ffdef6b3133173953ad1.zip
Convert to OptionsNG and trim Makefile headers.
Notes
Notes: svn path=/head/; revision=309200
Diffstat (limited to 'archivers/gcpio')
-rw-r--r--archivers/gcpio/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/archivers/gcpio/Makefile b/archivers/gcpio/Makefile
index 67633ed95779..b624f80be354 100644
--- a/archivers/gcpio/Makefile
+++ b/archivers/gcpio/Makefile
@@ -18,7 +18,12 @@ CONFIGURE_ARGS= --program-prefix=g \
--disable-silent-rules \
--with-rmt=/etc/rmt
-.if !defined(WITHOUT_NLS)
+INFO= cpio
+MAN1= gcpio.1
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
CONFIGURE_ARGS+=--with-libintl-prefix="${LOCALBASE}"
@@ -27,9 +32,6 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
-INFO= cpio
-MAN1= gcpio.1
-
regression-test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check