diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-06-16 08:23:00 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-06-16 08:23:00 +0000 |
commit | ed71475d6311c78d8d65e8bfc7002a2bb4ea6e45 (patch) | |
tree | 8e9f5cc93ba6dd95f92a9e412c5635e2aad2ea46 | |
parent | Patch up m4.texi and add @dircategory. (diff) |
Use install-info to add/delete info entry to the dir file.
Also install examples.
Notes
Notes:
svn path=/head/; revision=6957
-rw-r--r-- | devel/m4/Makefile | 10 | ||||
-rw-r--r-- | devel/m4/pkg-plist | 33 |
2 files changed, 39 insertions, 4 deletions
diff --git a/devel/m4/Makefile b/devel/m4/Makefile index 5945665446ea..d40c6f491476 100644 --- a/devel/m4/Makefile +++ b/devel/m4/Makefile @@ -3,7 +3,7 @@ # Date created: 25 October 1994 # Whom: mr # -# $Id: Makefile,v 1.5 1995/11/26 11:29:12 asami Exp $ +# $Id: Makefile,v 1.6 1996/11/18 10:22:52 asami Exp $ # DISTNAME= m4-1.4 @@ -13,4 +13,12 @@ MASTER_SITES= ${MASTER_SITE_GNU} GNU_CONFIGURE=yes CONFIGURE_ARGS= --program-prefix=g +post-install: + @${MKDIR} ${PREFIX}/share/examples/gm4 + ${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${PREFIX}/share/examples/gm4 + @if [ ! -f ${PREFIX}/info/dir ]; then \ + ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ + fi + @install-info ${PREFIX}/info/m4.info ${PREFIX}/info/dir + .include <bsd.port.mk> diff --git a/devel/m4/pkg-plist b/devel/m4/pkg-plist index 6fd5d91f6435..3a5b4e7e35b6 100644 --- a/devel/m4/pkg-plist +++ b/devel/m4/pkg-plist @@ -1,5 +1,32 @@ bin/gm4 +@unexec install-info --delete %D/info/m4.info %D/info/dir info/m4.info -info/m4.info-1 -info/m4.info-2 -info/m4.info-3 +@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %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 +share/examples/gm4/debug.m4 +share/examples/gm4/esyscmd.m4 +share/examples/gm4/exp.m4 +share/examples/gm4/file.m4 +share/examples/gm4/foreach.m4 +share/examples/gm4/forloop.m4 +share/examples/gm4/fstab.m4 +share/examples/gm4/hanoi.m4 +share/examples/gm4/incl-test.m4 +share/examples/gm4/include.m4 +share/examples/gm4/indir.m4 +share/examples/gm4/misc.m4 +share/examples/gm4/multiquotes.m4 +share/examples/gm4/patsubst.m4 +share/examples/gm4/pushpop.m4 +share/examples/gm4/regexp.m4 +share/examples/gm4/reverse.m4 +share/examples/gm4/sync-lines.m4 +share/examples/gm4/sysv-args.m4 +share/examples/gm4/trace.m4 +share/examples/gm4/translit.m4 +share/examples/gm4/undivert.m4 +share/examples/gm4/wrap.m4 +@dirrm share/examples/gm4 |