diff options
author | jperkin <jperkin@pkgsrc.org> | 2012-11-20 17:07:05 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2012-11-20 17:07:05 +0000 |
commit | 1eb49c4552fcedb0ec91e2003e8e9a88cd6985ee (patch) | |
tree | f825c64dc715dabeddc0fa708b07ff48ea886360 /archivers | |
parent | 5c0953aeaeb08db2fccabb138b2cb3ebd5d35cdb (diff) | |
download | pkgsrc-1eb49c4552fcedb0ec91e2003e8e9a88cd6985ee.tar.gz |
Copy rmt handling from archivers/gtar-base, fixes packaging on Interix
and Darwin.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/gcpio/Makefile | 11 | ||||
-rw-r--r-- | archivers/gcpio/PLIST | 4 |
2 files changed, 12 insertions, 3 deletions
diff --git a/archivers/gcpio/Makefile b/archivers/gcpio/Makefile index 0992a78dd30..1153fa1fc16 100644 --- a/archivers/gcpio/Makefile +++ b/archivers/gcpio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.43 2012/09/11 19:46:54 asau Exp $ +# $NetBSD: Makefile,v 1.44 2012/11/20 17:07:05 jperkin Exp $ # DISTNAME= cpio-2.6 @@ -28,6 +28,15 @@ CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes CONFIGURE_ARGS+= --program-prefix=g +PLIST_VARS+= rmt + +.include "../../mk/bsd.prefs.mk" + +# don't include rmt if gtar won't build it +.if ${OPSYS} != "Interix" && ${OPSYS} != "Darwin" +PLIST.rmt= yes +.endif + post-install: ${LN} -sf ${PREFIX}/bin/gcpio ${DESTDIR}${PREFIX}/gnu/bin/cpio ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/gcpio.1 ${DESTDIR}${PREFIX}/gnu/man/man1/cpio.1 diff --git a/archivers/gcpio/PLIST b/archivers/gcpio/PLIST index 0b20898259e..2a50df373af 100644 --- a/archivers/gcpio/PLIST +++ b/archivers/gcpio/PLIST @@ -1,10 +1,10 @@ -@comment $NetBSD: PLIST,v 1.10 2012/06/02 08:38:13 cheusov Exp $ +@comment $NetBSD: PLIST,v 1.11 2012/11/20 17:07:05 jperkin Exp $ bin/gcpio gnu/bin/cpio gnu/man/man1/cpio.1 gnu/man/man1/mt.1 info/cpio.info -libexec/grmt +${PLIST.rmt}libexec/grmt man/man1/gcpio.1 man/man1/gmt.1 share/locale/da/LC_MESSAGES/cpio.mo |