pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/findutils Add symlink to gnu/man/man{1,5}



details:   https://anonhg.NetBSD.org/pkgsrc/rev/525f7d11addf
branches:  trunk
changeset: 604536:525f7d11addf
user:      cheusov <cheusov%pkgsrc.org@localhost>
date:      Fri Jun 01 20:16:06 2012 +0000

description:
Add symlink to gnu/man/man{1,5}
++pkgrevision

diffstat:

 sysutils/findutils/Makefile |  15 ++++++++-------
 sysutils/findutils/PLIST    |   7 ++++++-
 2 files changed, 14 insertions(+), 8 deletions(-)

diffs (54 lines):

diff -r bfaa8a6ec475 -r 525f7d11addf sysutils/findutils/Makefile
--- a/sysutils/findutils/Makefile       Fri Jun 01 20:04:23 2012 +0000
+++ b/sysutils/findutils/Makefile       Fri Jun 01 20:16:06 2012 +0000
@@ -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 @@
 
 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 -r bfaa8a6ec475 -r 525f7d11addf sysutils/findutils/PLIST
--- a/sysutils/findutils/PLIST  Fri Jun 01 20:04:23 2012 +0000
+++ b/sysutils/findutils/PLIST  Fri Jun 01 20:16:06 2012 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index