pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/gnuls Add symlinks in gnu/man/man1/
details: https://anonhg.NetBSD.org/pkgsrc/rev/de0b34d2703c
branches: trunk
changeset: 604664:de0b34d2703c
user: cheusov <cheusov%pkgsrc.org@localhost>
date: Sat Jun 02 08:51:37 2012 +0000
description:
Add symlinks in gnu/man/man1/
++pkgrevision
diffstat:
misc/gnuls/Makefile | 25 +++++++++++--------------
misc/gnuls/PLIST | 8 +++++---
2 files changed, 16 insertions(+), 17 deletions(-)
diffs (62 lines):
diff -r 47438dbba2d1 -r de0b34d2703c misc/gnuls/Makefile
--- a/misc/gnuls/Makefile Sat Jun 02 08:38:13 2012 +0000
+++ b/misc/gnuls/Makefile Sat Jun 02 08:51:37 2012 +0000
@@ -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 @@
${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 -r 47438dbba2d1 -r de0b34d2703c misc/gnuls/PLIST
--- a/misc/gnuls/PLIST Sat Jun 02 08:38:13 2012 +0000
+++ b/misc/gnuls/PLIST Sat Jun 02 08:51:37 2012 +0000
@@ -1,7 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2012/05/29 18:19:28 cheusov Exp $
+@comment $NetBSD: PLIST,v 1.3 2012/06/02 08:51:37 cheusov Exp $
+bin/gdircolors
+bin/gls
gnu/bin/dircolors
gnu/bin/ls
-bin/gdircolors
-bin/gls
+gnu/man/man1/dircolors.1
+gnu/man/man1/ls.1
man/man1/gdircolors.1
man/man1/gls.1
Home |
Main Index |
Thread Index |
Old Index