summaryrefslogtreecommitdiff
path: root/devel/m4
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2012-06-02 07:51:04 +0000
committercheusov <cheusov@pkgsrc.org>2012-06-02 07:51:04 +0000
commit10d9f302164ebfa211dc8ec13eb3d5e5c6409f07 (patch)
tree88bc754e8a87762f2c2dba7b5c5d33b5ba2d270c /devel/m4
parentd9c90edbe3a9e369aba095bf023e5f826b7d1d35 (diff)
downloadpkgsrc-10d9f302164ebfa211dc8ec13eb3d5e5c6409f07.tar.gz
Add symlink gnu/man/man1/m4
++pkgrevision
Diffstat (limited to 'devel/m4')
-rw-r--r--devel/m4/Makefile9
-rw-r--r--devel/m4/PLIST3
2 files changed, 7 insertions, 5 deletions
diff --git a/devel/m4/Makefile b/devel/m4/Makefile
index 6776fc95114..26ed57b2420 100644
--- a/devel/m4/Makefile
+++ b/devel/m4/Makefile
@@ -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 @@ CONFIGURE_ARGS+= --program-prefix=g
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 --git a/devel/m4/PLIST b/devel/m4/PLIST
index cb8b694044d..67a03224bdd 100644
--- a/devel/m4/PLIST
+++ b/devel/m4/PLIST
@@ -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