summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2012-06-02 08:18:35 +0000
committercheusov <cheusov@pkgsrc.org>2012-06-02 08:18:35 +0000
commit43e97dc30e8add0aef4a261cc6637a11e4c7e965 (patch)
treee801362b0d5a1fd8bff9a8da629d9dbdb01cd398 /archivers
parent8025340c08b9f3ebdd848c25279459b709b8bb48 (diff)
downloadpkgsrc-43e97dc30e8add0aef4a261cc6637a11e4c7e965.tar.gz
Add symlinks in gnu/man/man1/
++pkgrevision
Diffstat (limited to 'archivers')
-rw-r--r--archivers/gsharutils/Makefile13
-rw-r--r--archivers/gsharutils/PLIST4
2 files changed, 10 insertions, 7 deletions
diff --git a/archivers/gsharutils/Makefile b/archivers/gsharutils/Makefile
index 3450b8c575f..de46430da35 100644
--- a/archivers/gsharutils/Makefile
+++ b/archivers/gsharutils/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.46 2012/05/29 20:52:55 cheusov Exp $
+# $NetBSD: Makefile,v 1.47 2012/06/02 08:26:45 cheusov Exp $
DISTNAME= sharutils-4.11.1
-PKGREVISION= 1
+PKGREVISION= 2
PKGNAME= g${DISTNAME}
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GNU:=sharutils/}
@@ -14,7 +14,7 @@ LICENSE= gnu-gpl-v3
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
-INSTALLATION_DIRS= gnu/bin
+AUTO_MKDIRS= yes
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
@@ -29,9 +29,10 @@ CONFIGURE_ENV+= SH=${TOOLS_SH}
CONFIGURE_ARGS+= --program-prefix=g
post-install:
- set -e; cd ${DESTDIR}${PREFIX}/gnu/bin; \
- ln -s ../../bin/gshar shar; \
- ln -s ../../bin/gunshar unshar
+.for f in shar unshar
+ ${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/gnu/bin/${f}
+ ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f}.1 ${DESTDIR}${PREFIX}/gnu/man/man1/${f}.1
+.endfor
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/gsharutils/PLIST b/archivers/gsharutils/PLIST
index df47af03e46..c939eaa56fb 100644
--- a/archivers/gsharutils/PLIST
+++ b/archivers/gsharutils/PLIST
@@ -1,8 +1,10 @@
-@comment $NetBSD: PLIST,v 1.9 2012/05/29 20:52:55 cheusov Exp $
+@comment $NetBSD: PLIST,v 1.10 2012/06/02 08:26:45 cheusov Exp $
bin/gshar
bin/gunshar
gnu/bin/shar
gnu/bin/unshar
+gnu/man/man1/shar.1
+gnu/man/man1/unshar.1
info/sharutils.info
man/man1/gshar.1
man/man1/gunshar.1