diff options
author | cheusov <cheusov@pkgsrc.org> | 2012-06-02 08:51:37 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2012-06-02 08:51:37 +0000 |
commit | 678986138b3e871c2d92e022e4675c99ede42436 (patch) | |
tree | bd957b357ca33740f7750afe5d8e9cb0eee33396 /misc | |
parent | 3af9b78575df3e9fa4327e054e635b62e119ad91 (diff) | |
download | pkgsrc-678986138b3e871c2d92e022e4675c99ede42436.tar.gz |
Add symlinks in gnu/man/man1/
++pkgrevision
Diffstat (limited to 'misc')
-rw-r--r-- | misc/gnuls/Makefile | 25 | ||||
-rw-r--r-- | misc/gnuls/PLIST | 8 |
2 files changed, 16 insertions, 17 deletions
diff --git a/misc/gnuls/Makefile b/misc/gnuls/Makefile index 936336020dd..aedfefcbaf7 100644 --- a/misc/gnuls/Makefile +++ b/misc/gnuls/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.24 2012/05/29 18:19:28 cheusov Exp $ +# $NetBSD: Makefile,v 1.25 2012/06/02 08:51:37 cheusov Exp $ # .include "../../sysutils/coreutils/Makefile.common" PKGNAME= ${DISTNAME:S/coreutils/gnuls/} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= misc COMMENT= GNU ls utility with color support @@ -16,20 +16,17 @@ do-build: ${RUN} cd ${WRKSRC}/src && ${BUILD_MAKE_CMD} version.h ${RUN} cd ${WRKSRC}/src && ${BUILD_MAKE_CMD} dircolors ls -INSTALLATION_DIRS= bin gnu/bin ${PKGMANDIR}/man1 +AUTO_MKDIRS= yes do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/dircolors \ - ${DESTDIR}${PREFIX}/bin/gdircolors - ${INSTALL_PROGRAM} ${WRKSRC}/src/ls \ - ${DESTDIR}${PREFIX}/bin/gls - ${INSTALL_DATA} ${WRKSRC}/man/dircolors.1 \ - ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/gdircolors.1 - ${INSTALL_DATA} ${WRKSRC}/man/ls.1 \ - ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/gls.1 - set -e; cd ${DESTDIR}${PREFIX}/gnu/bin; \ - ln -s ../../bin/gls ls; \ - ln -s ../../bin/gdircolors dircolors +.for f in ls dircolors + ${INSTALL_PROGRAM} ${WRKSRC}/src/${f} \ + ${DESTDIR}${PREFIX}/bin/g${f} + ${INSTALL_DATA} ${WRKSRC}/man/${f}.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/g${f}.1 + ${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 "../../converters/libiconv/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" diff --git a/misc/gnuls/PLIST b/misc/gnuls/PLIST index b0ad3ae5051..b5c53efcec9 100644 --- a/misc/gnuls/PLIST +++ b/misc/gnuls/PLIST @@ -1,7 +1,9 @@ -@comment $NetBSD: PLIST,v 1.2 2012/05/29 18:19:28 cheusov Exp $ -gnu/bin/dircolors -gnu/bin/ls +@comment $NetBSD: PLIST,v 1.3 2012/06/02 08:51:37 cheusov Exp $ bin/gdircolors bin/gls +gnu/bin/dircolors +gnu/bin/ls +gnu/man/man1/dircolors.1 +gnu/man/man1/ls.1 man/man1/gdircolors.1 man/man1/gls.1 |