pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/gcpio Add symlinks in gnu/man/man1/



details:   https://anonhg.NetBSD.org/pkgsrc/rev/47438dbba2d1
branches:  trunk
changeset: 604663:47438dbba2d1
user:      cheusov <cheusov%pkgsrc.org@localhost>
date:      Sat Jun 02 08:38:13 2012 +0000

description:
Add symlinks in gnu/man/man1/
++pkgrevision

diffstat:

 archivers/gcpio/Makefile |  11 ++++++-----
 archivers/gcpio/PLIST    |   4 +++-
 2 files changed, 9 insertions(+), 6 deletions(-)

diffs (49 lines):

diff -r 0948445af5c3 -r 47438dbba2d1 archivers/gcpio/Makefile
--- a/archivers/gcpio/Makefile  Sat Jun 02 08:18:35 2012 +0000
+++ b/archivers/gcpio/Makefile  Sat Jun 02 08:38:13 2012 +0000
@@ -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 @@
 USE_TOOLS+=    makeinfo
 INFO_FILES=    yes
 
-INSTALLATION_DIRS=     gnu/bin
+AUTO_MKDIRS=   yes
 
 TEST_TARGET=           check
 
@@ -30,8 +30,9 @@
 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 -r 0948445af5c3 -r 47438dbba2d1 archivers/gcpio/PLIST
--- a/archivers/gcpio/PLIST     Sat Jun 02 08:18:35 2012 +0000
+++ b/archivers/gcpio/PLIST     Sat Jun 02 08:38:13 2012 +0000
@@ -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



Home | Main Index | Thread Index | Old Index