summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorcheusov <cheusov>2012-06-02 09:32:30 +0000
committercheusov <cheusov>2012-06-02 09:32:30 +0000
commit67d47437897341bc8fab7c0d092943ac0977dec0 (patch)
treee5e5fdd7406dcc40a30ac01fb9630bc58a74281d /sysutils
parent2e07c3b69ed667d3fe2872bb2018a7c82a3a1d97 (diff)
downloadpkgsrc-67d47437897341bc8fab7c0d092943ac0977dec0.tar.gz
Add symlinks in gnu/man/man1/
++pkgrevision
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/coreutils/Makefile20
-rw-r--r--sysutils/coreutils/PLIST102
2 files changed, 112 insertions, 10 deletions
diff --git a/sysutils/coreutils/Makefile b/sysutils/coreutils/Makefile
index abcf1a4a40f..9f3f0069786 100644
--- a/sysutils/coreutils/Makefile
+++ b/sysutils/coreutils/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.54 2012/05/29 18:14:13 cheusov Exp $
+# $NetBSD: Makefile,v 1.55 2012/06/02 09:32:30 cheusov Exp $
.include "../../sysutils/coreutils/Makefile.common"
-PKGREVISION= 1
+PKGREVISION= 2
CONFLICTS= fileutils-[0-9]* gnuls-[0-9]* linuxls-[0-9]* sh-utils-[0-9]* textutils-[0-9]*
@@ -38,16 +38,18 @@ PROGS= [ base64 basename cat chcon chgrp chmod chown chroot cksum comm \
tail tee test timeout touch tr true truncate tsort tty uname \
unexpand uniq unlink uptime users vdir wc who whoami yes
-INSTALLATION_DIRS+= gnu/bin
+AUTO_MKDIRS= yes
post-install:
+.for f in ${PROGS}
set -e; \
- cd ${DESTDIR}${PREFIX}/gnu/bin; \
- for p in ${PROGS}; do \
- if ${TEST} -x "../../bin/g$${p}"; then \
- ln -f -s "../../bin/g$${p}" "$${p}"; \
- fi; \
- done
+ if ${TEST} -f ${DESTDIR}${PREFIX}/bin/g${f:Q}; then \
+ ${LN} -sf ${PREFIX}/bin/g${f:Q} ${DESTDIR}${PREFIX}/gnu/bin/${f:Q}; \
+ fi; \
+ if ${TEST} -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/g${f:Q}.1; then \
+ ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f:Q}.1 ${DESTDIR}${PREFIX}/gnu/man/man1/${f:Q}.1; \
+ fi
+.endfor
#CONFIGURE_ARGS+= --enable-install-program=su
#.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || \
diff --git a/sysutils/coreutils/PLIST b/sysutils/coreutils/PLIST
index b5ec893128d..94dbe9bce0e 100644
--- a/sysutils/coreutils/PLIST
+++ b/sysutils/coreutils/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2012/05/29 18:14:13 cheusov Exp $
+@comment $NetBSD: PLIST,v 1.16 2012/06/02 09:32:30 cheusov Exp $
bin/g[
bin/gbase64
bin/gbasename
@@ -201,6 +201,106 @@ gnu/bin/wc
gnu/bin/who
gnu/bin/whoami
gnu/bin/yes
+gnu/man/man1/base64.1
+gnu/man/man1/basename.1
+gnu/man/man1/cat.1
+gnu/man/man1/chcon.1
+gnu/man/man1/chgrp.1
+gnu/man/man1/chmod.1
+gnu/man/man1/chown.1
+gnu/man/man1/chroot.1
+gnu/man/man1/cksum.1
+gnu/man/man1/comm.1
+gnu/man/man1/cp.1
+gnu/man/man1/csplit.1
+gnu/man/man1/cut.1
+gnu/man/man1/date.1
+gnu/man/man1/dd.1
+gnu/man/man1/df.1
+gnu/man/man1/dir.1
+gnu/man/man1/dircolors.1
+gnu/man/man1/dirname.1
+gnu/man/man1/du.1
+gnu/man/man1/echo.1
+gnu/man/man1/env.1
+gnu/man/man1/expand.1
+gnu/man/man1/expr.1
+gnu/man/man1/factor.1
+gnu/man/man1/false.1
+gnu/man/man1/fmt.1
+gnu/man/man1/fold.1
+gnu/man/man1/groups.1
+gnu/man/man1/head.1
+gnu/man/man1/hostid.1
+gnu/man/man1/id.1
+gnu/man/man1/install.1
+gnu/man/man1/join.1
+gnu/man/man1/kill.1
+gnu/man/man1/link.1
+gnu/man/man1/ln.1
+gnu/man/man1/logname.1
+gnu/man/man1/ls.1
+gnu/man/man1/md5sum.1
+gnu/man/man1/mkdir.1
+gnu/man/man1/mkfifo.1
+gnu/man/man1/mknod.1
+gnu/man/man1/mktemp.1
+gnu/man/man1/mv.1
+gnu/man/man1/nice.1
+gnu/man/man1/nl.1
+gnu/man/man1/nohup.1
+gnu/man/man1/nproc.1
+gnu/man/man1/od.1
+gnu/man/man1/paste.1
+gnu/man/man1/pathchk.1
+gnu/man/man1/pinky.1
+gnu/man/man1/pr.1
+gnu/man/man1/printenv.1
+gnu/man/man1/printf.1
+gnu/man/man1/ptx.1
+gnu/man/man1/pwd.1
+gnu/man/man1/readlink.1
+gnu/man/man1/rm.1
+gnu/man/man1/rmdir.1
+gnu/man/man1/runcon.1
+gnu/man/man1/seq.1
+gnu/man/man1/sha1sum.1
+gnu/man/man1/sha224sum.1
+gnu/man/man1/sha256sum.1
+gnu/man/man1/sha384sum.1
+gnu/man/man1/sha512sum.1
+gnu/man/man1/shred.1
+gnu/man/man1/shuf.1
+gnu/man/man1/sleep.1
+gnu/man/man1/sort.1
+gnu/man/man1/split.1
+gnu/man/man1/stat.1
+${PLIST.stdbuf}gnu/man/man1/stdbuf.1
+gnu/man/man1/stty.1
+gnu/man/man1/sum.1
+gnu/man/man1/sync.1
+gnu/man/man1/tac.1
+gnu/man/man1/tail.1
+gnu/man/man1/tee.1
+gnu/man/man1/test.1
+gnu/man/man1/timeout.1
+gnu/man/man1/touch.1
+gnu/man/man1/tr.1
+gnu/man/man1/true.1
+gnu/man/man1/truncate.1
+gnu/man/man1/tsort.1
+gnu/man/man1/tty.1
+gnu/man/man1/uname.1
+gnu/man/man1/unexpand.1
+gnu/man/man1/uniq.1
+gnu/man/man1/unlink.1
+gnu/man/man1/uptime.1
+gnu/man/man1/users.1
+gnu/man/man1/vdir.1
+gnu/man/man1/wc.1
+gnu/man/man1/who.1
+gnu/man/man1/whoami.1
+gnu/man/man1/yes.1
info/coreutils.info
${PLIST.stdbuf}libexec/coreutils/glibstdbuf.so
man/man1/gbase64.1