pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/m4 Add symlink gnu/man/man1/m4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/641cc45b5cdc
branches:  trunk
changeset: 604659:641cc45b5cdc
user:      cheusov <cheusov%pkgsrc.org@localhost>
date:      Sat Jun 02 07:51:04 2012 +0000

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

diffstat:

 devel/m4/Makefile |  9 +++++----
 devel/m4/PLIST    |  3 ++-
 2 files changed, 7 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r 97c99e3495d0 -r 641cc45b5cdc devel/m4/Makefile
--- a/devel/m4/Makefile Sat Jun 02 07:22:36 2012 +0000
+++ b/devel/m4/Makefile Sat Jun 02 07:51:04 2012 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.67 2012/05/29 21:44:45 cheusov Exp $
+# $NetBSD: Makefile,v 1.68 2012/06/02 07:51:04 cheusov Exp $
 
 DISTNAME=      m4-1.4.16
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=m4/}
 
@@ -26,10 +26,11 @@
 CFLAGS+=       -D_LINUX_SOURCE_COMPAT
 .endif
 
-INSTALLATION_DIRS+=    share/examples/m4 gnu/bin
+AUTO_MKDIRS=           yes
 
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${DESTDIR}${PREFIX}/share/examples/m4
-       ${LN} -sf ../../bin/gm4 ${DESTDIR}${PREFIX}/gnu/bin/m4
+       ${LN} -sf ${PREFIX}/bin/gm4 ${DESTDIR}${PREFIX}/gnu/bin/m4
+       ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/gm4.1 ${DESTDIR}${PREFIX}/gnu/man/man1/m4.1
 
 .include "../../mk/bsd.pkg.mk"
diff -r 97c99e3495d0 -r 641cc45b5cdc devel/m4/PLIST
--- a/devel/m4/PLIST    Sat Jun 02 07:22:36 2012 +0000
+++ b/devel/m4/PLIST    Sat Jun 02 07:51:04 2012 +0000
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.15 2012/05/29 21:44:45 cheusov Exp $
+@comment $NetBSD: PLIST,v 1.16 2012/06/02 07:51:04 cheusov Exp $
 bin/gm4
 gnu/bin/m4
+gnu/man/man1/m4.1
 info/m4.info
 man/man1/gm4.1
 share/examples/m4/capitalize.m4



Home | Main Index | Thread Index | Old Index