summaryrefslogtreecommitdiff
path: root/devel/m4
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-02-18 15:14:00 +0000
committerseb <seb@pkgsrc.org>2002-02-18 15:14:00 +0000
commit66111c6d15be91debc28f649061f5ed03d48e340 (patch)
treec84409a165bd501342b10b825394cf1eb3684d02 /devel/m4
parent0b7fe93445e5b9c2ed4f512cd83d2c904922531b (diff)
downloadpkgsrc-66111c6d15be91debc28f649061f5ed03d48e340.tar.gz
Introduce new framework for handling info files generation and installation.
Summary of changes: - removal of USE_GTEXINFO - addition of mk/texinfo.mk - inclusion of this file in package Makefiles requiring it - `install-info' substituted by `${INSTALL_INFO}' in PLISTs - tuning of mk/bsd.pkg.mk: removal of USE_GTEXINFO INSTALL_INFO added to PLIST_SUBST `${INSTALL_INFO}' replace `install-info' in target rules print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info' - a couple of new patch files added for a handful of packages - setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it - devel/cssc marked requiring texinfo 4.0 - a couple of packages Makefiles were tuned with respect of INFO_FILES and makeinfo command usage See -newly added by this commit- section 10.24 of Packages.txt for further information.
Diffstat (limited to 'devel/m4')
-rw-r--r--devel/m4/Makefile4
-rw-r--r--devel/m4/PLIST6
2 files changed, 6 insertions, 4 deletions
diff --git a/devel/m4/Makefile b/devel/m4/Makefile
index 34bc6a62756..d3a9ed7b16c 100644
--- a/devel/m4/Makefile
+++ b/devel/m4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2001/10/19 09:13:29 veego Exp $
+# $NetBSD: Makefile,v 1.16 2002/02/18 15:14:14 seb Exp $
# FreeBSD Id: Makefile,v 1.7 1997/06/16 08:22:35 max Exp
#
@@ -13,6 +13,7 @@ USE_BUILDLINK_ONLY= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
INFO_FILES= m4.info
+TEXINFO_OVERRIDE= YES
pre-build:
${CHMOD} u+w ${WRKSRC}/checks/stamp-checks
@@ -21,4 +22,5 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gm4
${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${PREFIX}/share/examples/gm4
+.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/m4/PLIST b/devel/m4/PLIST
index da16d98b1d1..b06b816dcd9 100644
--- a/devel/m4/PLIST
+++ b/devel/m4/PLIST
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 01:24:51 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/02/18 15:14:14 seb Exp $
bin/gm4
-@unexec install-info --delete %D/info/m4.info %D/info/dir
+@unexec ${INSTALL_INFO} --delete %D/info/m4.info %D/info/dir
info/m4.info
-@exec install-info %D/info/m4.info %D/info/dir
+@exec ${INSTALL_INFO} %D/info/m4.info %D/info/dir
share/examples/gm4/capitalize.m4
share/examples/gm4/comments.m4
share/examples/gm4/ddivert.m4