diff options
author | naddy <naddy@FreeBSD.org> | 2012-12-19 05:29:04 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2012-12-19 05:29:04 +0800 |
commit | 99792bf69f2ed09776c61d695f35765bc1d808c5 (patch) | |
tree | 4627c59ede033a99d1414f0fc74ac26cb38968bc /archivers/gcpio | |
parent | 261619a0e978c712af51c213eaeb1154e8d275c7 (diff) | |
download | freebsd-ports-gnome-99792bf69f2ed09776c61d695f35765bc1d808c5.tar.gz freebsd-ports-gnome-99792bf69f2ed09776c61d695f35765bc1d808c5.tar.zst freebsd-ports-gnome-99792bf69f2ed09776c61d695f35765bc1d808c5.zip |
Convert to OptionsNG and trim Makefile headers.
Diffstat (limited to 'archivers/gcpio')
-rw-r--r-- | archivers/gcpio/Makefile | 10 |
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 |