summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorcheusov <cheusov>2012-06-02 08:18:35 +0000
committercheusov <cheusov>2012-06-02 08:18:35 +0000
commit0caa77a4b33c3114c9646ccc275c3e6aa5be6ba3 (patch)
treee801362b0d5a1fd8bff9a8da629d9dbdb01cd398 /devel
parentfcbb1f6a38b87bca194951a02ac279bbd0b40730 (diff)
downloadpkgsrc-0caa77a4b33c3114c9646ccc275c3e6aa5be6ba3.tar.gz
Add symlinks in gnu/man/man1/
++pkgrevision
Diffstat (limited to 'devel')
-rw-r--r--devel/diffutils/Makefile17
-rw-r--r--devel/diffutils/PLIST6
2 files changed, 12 insertions, 11 deletions
diff --git a/devel/diffutils/Makefile b/devel/diffutils/Makefile
index 4c3610b6c90..3279452e2c4 100644
--- a/devel/diffutils/Makefile
+++ b/devel/diffutils/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.27 2012/05/29 21:01:25 cheusov Exp $
+# $NetBSD: Makefile,v 1.28 2012/06/02 08:18:35 cheusov Exp $
#
DISTNAME= diffutils-3.2
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=diffutils/}
@@ -25,16 +25,13 @@ CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes
CONFIGURE_ENV+= ac_cv_sys_xsi_stack_overflow_heuristic=no
.endif
-PROGS= cmp diff diff3 sdiff
-
-INSTALLATION_DIRS+= gnu/bin
+AUTO_MKDIRS= yes
post-install:
- set -e; \
- cd ${DESTDIR}${PREFIX}/gnu/bin; \
- for p in ${PROGS}; do \
- ln -f -s "../../bin/g$${p}" "$${p}"; \
- done
+.for f in cmp diff diff3 sdiff
+ ${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
CONFIGURE_ARGS+= --program-prefix=g
diff --git a/devel/diffutils/PLIST b/devel/diffutils/PLIST
index 46a8796b6b9..ac891ba6ed1 100644
--- a/devel/diffutils/PLIST
+++ b/devel/diffutils/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2012/05/29 21:01:25 cheusov Exp $
+@comment $NetBSD: PLIST,v 1.12 2012/06/02 08:18:35 cheusov Exp $
bin/gcmp
bin/gdiff
bin/gdiff3
@@ -7,6 +7,10 @@ gnu/bin/cmp
gnu/bin/diff
gnu/bin/diff3
gnu/bin/sdiff
+gnu/man/man1/cmp.1
+gnu/man/man1/diff.1
+gnu/man/man1/diff3.1
+gnu/man/man1/sdiff.1
info/diffutils.info
man/man1/gcmp.1
man/man1/gdiff.1