aboutsummaryrefslogtreecommitdiff
path: root/devel/m4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/m4/Makefile')
-rw-r--r--devel/m4/Makefile10
1 files changed, 9 insertions, 1 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>