summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2012-06-02 08:38:13 +0000
committercheusov <cheusov@pkgsrc.org>2012-06-02 08:38:13 +0000
commit3af9b78575df3e9fa4327e054e635b62e119ad91 (patch)
tree835ebf78409da508f5e73920743b856db6c335d1 /archivers
parent43e97dc30e8add0aef4a261cc6637a11e4c7e965 (diff)
downloadpkgsrc-3af9b78575df3e9fa4327e054e635b62e119ad91.tar.gz
Add symlinks in gnu/man/man1/
++pkgrevision
Diffstat (limited to 'archivers')
-rw-r--r--archivers/gcpio/Makefile11
-rw-r--r--archivers/gcpio/PLIST4
2 files changed, 9 insertions, 6 deletions
diff --git a/archivers/gcpio/Makefile b/archivers/gcpio/Makefile
index 8b5ce9e143c..2682b733416 100644
--- a/archivers/gcpio/Makefile
+++ b/archivers/gcpio/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.41 2012/05/29 20:37:08 cheusov Exp $
+# $NetBSD: Makefile,v 1.42 2012/06/02 08:38:13 cheusov Exp $
#
DISTNAME= cpio-2.6
PKGNAME= g${DISTNAME}
-PKGREVISION= 9
+PKGREVISION= 10
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GNU:=cpio/}
@@ -21,7 +21,7 @@ GNU_CONFIGURE= yes
USE_TOOLS+= makeinfo
INFO_FILES= yes
-INSTALLATION_DIRS= gnu/bin
+AUTO_MKDIRS= yes
TEST_TARGET= check
@@ -30,8 +30,9 @@ CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes
CONFIGURE_ARGS+= --program-prefix=g
post-install:
- set -e; cd ${DESTDIR}${PREFIX}/gnu/bin; \
- ln -s ../../bin/gcpio cpio
+ ${LN} -sf ${PREFIX}/bin/gcpio ${DESTDIR}${PREFIX}/gnu/bin/cpio
+ ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/gcpio.1 ${DESTDIR}${PREFIX}/gnu/man/man1/cpio.1
+ ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/gmt.1 ${DESTDIR}${PREFIX}/gnu/man/man1/mt.1
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/gcpio/PLIST b/archivers/gcpio/PLIST
index 386a4f4189f..0b20898259e 100644
--- a/archivers/gcpio/PLIST
+++ b/archivers/gcpio/PLIST
@@ -1,6 +1,8 @@
-@comment $NetBSD: PLIST,v 1.9 2012/05/29 20:37:08 cheusov Exp $
+@comment $NetBSD: PLIST,v 1.10 2012/06/02 08:38:13 cheusov Exp $
bin/gcpio
gnu/bin/cpio
+gnu/man/man1/cpio.1
+gnu/man/man1/mt.1
info/cpio.info
libexec/grmt
man/man1/gcpio.1