pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/gsed Add symlink gnu/man/man1/sed



details:   https://anonhg.NetBSD.org/pkgsrc/rev/968160a0efcf
branches:  trunk
changeset: 604529:968160a0efcf
user:      cheusov <cheusov%pkgsrc.org@localhost>
date:      Fri Jun 01 19:29:38 2012 +0000

description:
Add symlink gnu/man/man1/sed
++pkgrevision

diffstat:

 textproc/gsed/Makefile |  10 ++++++----
 textproc/gsed/PLIST    |   3 ++-
 2 files changed, 8 insertions(+), 5 deletions(-)

diffs (47 lines):

diff -r 9421d94f8a7e -r 968160a0efcf textproc/gsed/Makefile
--- a/textproc/gsed/Makefile    Fri Jun 01 16:43:14 2012 +0000
+++ b/textproc/gsed/Makefile    Fri Jun 01 19:29:38 2012 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.39 2012/05/29 22:22:00 cheusov Exp $
+# $NetBSD: Makefile,v 1.40 2012/06/01 19:29:38 cheusov Exp $
 #
 
 DISTNAME=      sed-4.2.1
 PKGNAME=       g${DISTNAME}
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    textproc editors
 MASTER_SITES=  ${MASTER_SITE_GNU:=sed/}
 
@@ -20,7 +20,7 @@
 INFO_FILES=            YES
 TEST_TARGET=           check
 
-INSTALLATION_DIRS=     gnu/bin
+INSTALLATION_DIRS=     gnu/bin gnu/man/man1
 
 # at least Solaris-2.9 has issues with grep/egrep
 USE_TOOLS+=            grep makeinfo
@@ -28,7 +28,9 @@
 CONFIGURE_ARGS+=       --program-prefix=g
 
 post-install:
-       ln -f -s ../../bin/gsed ${DESTDIR}${PREFIX}/gnu/bin/sed
+.for g n in bin/gsed gnu/bin/sed man/man1/gsed.1 gnu/man/man1/sed.1
+       ${LN} -sf ${PREFIX}/${g} ${DESTDIR}${PREFIX}/${n}
+.endfor
 
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 9421d94f8a7e -r 968160a0efcf textproc/gsed/PLIST
--- a/textproc/gsed/PLIST       Fri Jun 01 16:43:14 2012 +0000
+++ b/textproc/gsed/PLIST       Fri Jun 01 19:29:38 2012 +0000
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.14 2012/05/29 22:22:00 cheusov Exp $
+@comment $NetBSD: PLIST,v 1.15 2012/06/01 19:29:38 cheusov Exp $
 bin/gsed
 gnu/bin/sed
+gnu/man/man1/sed.1
 info/sed.info
 man/man1/gsed.1
 share/locale/af/LC_MESSAGES/sed.mo



Home | Main Index | Thread Index | Old Index