diff options
author | max <max@FreeBSD.org> | 1997-06-16 16:23:00 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-06-16 16:23:00 +0800 |
commit | 022ad518a50ca5c98c8cec92645ba745bffab2a9 (patch) | |
tree | a65420f13c4787dd1ef41a539d824279c5bd06cf /devel/m4 | |
parent | 07a086490b72b65c571fde3b5267adad4f5317e8 (diff) | |
download | freebsd-ports-gnome-022ad518a50ca5c98c8cec92645ba745bffab2a9.tar.gz freebsd-ports-gnome-022ad518a50ca5c98c8cec92645ba745bffab2a9.tar.zst freebsd-ports-gnome-022ad518a50ca5c98c8cec92645ba745bffab2a9.zip |
Use install-info to add/delete info entry to the dir file.
Also install examples.
Diffstat (limited to 'devel/m4')
-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 |