diff options
author | naddy <naddy@FreeBSD.org> | 2013-09-23 23:43:51 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2013-09-23 23:43:51 +0800 |
commit | c34233ec65b4c8fd7b37bce5e675e5bc6c4d098d (patch) | |
tree | 24b29e39ac94020672091c70e799d35de3be0cd7 /archivers/gcpio | |
parent | a30f61bd9b0bb657fff66ff79d917f4af513e653 (diff) | |
download | freebsd-ports-gnome-c34233ec65b4c8fd7b37bce5e675e5bc6c4d098d.tar.gz freebsd-ports-gnome-c34233ec65b4c8fd7b37bce5e675e5bc6c4d098d.tar.zst freebsd-ports-gnome-c34233ec65b4c8fd7b37bce5e675e5bc6c4d098d.zip |
Use stage and options helpers.
Diffstat (limited to 'archivers/gcpio')
-rw-r--r-- | archivers/gcpio/Makefile | 19 | ||||
-rw-r--r-- | archivers/gcpio/pkg-plist | 1 |
2 files changed, 7 insertions, 13 deletions
diff --git a/archivers/gcpio/Makefile b/archivers/gcpio/Makefile index 883104163ea4..bee82a17cdb1 100644 --- a/archivers/gcpio/Makefile +++ b/archivers/gcpio/Makefile @@ -11,7 +11,6 @@ PKGNAMEPREFIX= g MAINTAINER= naddy@FreeBSD.org COMMENT= GNU cpio copies files to and from archives -NO_STAGE= yes USE_BZIP2= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-prefix=g \ @@ -19,18 +18,12 @@ CONFIGURE_ARGS= --program-prefix=g \ --with-rmt=/etc/rmt INFO= cpio -MAN1= gcpio.1 - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -CONFIGURE_ARGS+=--with-libintl-prefix="${LOCALBASE}" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif + +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes + +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls regression-test: build @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check diff --git a/archivers/gcpio/pkg-plist b/archivers/gcpio/pkg-plist index 17d4953e643d..5ba5a4d6eff9 100644 --- a/archivers/gcpio/pkg-plist +++ b/archivers/gcpio/pkg-plist @@ -1,5 +1,6 @@ @comment $FreeBSD$ bin/gcpio +man/man1/gcpio.1.gz %%NLS%%share/locale/da/LC_MESSAGES/cpio.mo %%NLS%%share/locale/de/LC_MESSAGES/cpio.mo %%NLS%%share/locale/es/LC_MESSAGES/cpio.mo |