summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2012-06-01 20:16:06 +0000
committercheusov <cheusov@pkgsrc.org>2012-06-01 20:16:06 +0000
commit8ede3938af599df43921bdc4cab7e28711503a8b (patch)
tree0cdf330795ca2c4df2a258dfcd5b348fe13bfc1d /sysutils
parent18ce3028cbb1f9ef81a6d8b72bada377a173fcec (diff)
downloadpkgsrc-8ede3938af599df43921bdc4cab7e28711503a8b.tar.gz
Add symlink to gnu/man/man{1,5}
++pkgrevision
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/findutils/Makefile15
-rw-r--r--sysutils/findutils/PLIST7
2 files changed, 14 insertions, 8 deletions
diff --git a/sysutils/findutils/Makefile b/sysutils/findutils/Makefile
index 96265512252..3b9b299fbed 100644
--- a/sysutils/findutils/Makefile
+++ b/sysutils/findutils/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.29 2012/05/29 22:02:31 cheusov Exp $
+# $NetBSD: Makefile,v 1.30 2012/06/01 20:16:06 cheusov Exp $
DISTNAME= findutils-4.2.33
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GNU:=findutils/}
@@ -19,13 +19,14 @@ LDFLAGS.IRIX+= -lgen
CONFIGURE_ARGS+= --program-prefix=g
-INSTALLATION_DIRS= gnu/bin
+AUTO_MKDIRS= yes
post-install:
- ln -s ../../bin/gfind ${DESTDIR}${PREFIX}/gnu/bin/find
- ln -s ../../bin/glocate ${DESTDIR}${PREFIX}/gnu/bin/locate
- ln -s ../../bin/gupdatedb ${DESTDIR}${PREFIX}/gnu/bin/updatedb
- ln -s ../../bin/gxargs ${DESTDIR}${PREFIX}/gnu/bin/xargs
+.for f in find locate updatedb xargs
+ ${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
+ ${LN} -sf ${PREFIX}/${PKGMANDIR}/man5/glocatedb.5 ${DESTDIR}${PREFIX}/gnu/man/man5/locatedb.5
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/findutils/PLIST b/sysutils/findutils/PLIST
index 734c0b46b52..003ce05a2de 100644
--- a/sysutils/findutils/PLIST
+++ b/sysutils/findutils/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2012/05/29 22:02:31 cheusov Exp $
+@comment $NetBSD: PLIST,v 1.11 2012/06/01 20:16:06 cheusov Exp $
bin/gfind
bin/glocate
bin/gupdatedb
@@ -7,6 +7,11 @@ gnu/bin/find
gnu/bin/locate
gnu/bin/updatedb
gnu/bin/xargs
+gnu/man/man1/find.1
+gnu/man/man1/locate.1
+gnu/man/man1/updatedb.1
+gnu/man/man1/xargs.1
+gnu/man/man5/locatedb.5
info/find.info
libexec/gbigram
libexec/gcode