aboutsummaryrefslogtreecommitdiffstats
path: root/devel/automake110/Makefile
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1997-09-19 17:29:05 +0800
committermax <max@FreeBSD.org>1997-09-19 17:29:05 +0800
commitf2019eb6f4d5844b035f01379a031862d318a499 (patch)
tree4243d23c7673411790aca2424cf69dc9f89df327 /devel/automake110/Makefile
parent758d802b4ea333129c29c64f48680a66b793d13f (diff)
downloadfreebsd-ports-gnome-f2019eb6f4d5844b035f01379a031862d318a499.tar.gz
freebsd-ports-gnome-f2019eb6f4d5844b035f01379a031862d318a499.tar.zst
freebsd-ports-gnome-f2019eb6f4d5844b035f01379a031862d318a499.zip
Some patches submitted as PR are not suitable to be committed blindly and
previous changes to this port was one of them. This commit fixes: - We definetely need to check the existence of ${PREFIX}/dir and generate it if needed before install-info gets invoked. - Use empty definition of STRIP instead of changing every appearance of ${INSTALL_SCRIPT} in Makefile.in to ${INSTALL} especially since this port installs no files that need to be stripped. - No need to add rule to regenerate .info file when there's one in the distributed Makefile.in. - Instead of removing old piece of .info files in post-install target, leave it to the .texi.info: rule in the distributed Makefile.
Diffstat (limited to 'devel/automake110/Makefile')
-rw-r--r--devel/automake110/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/devel/automake110/Makefile b/devel/automake110/Makefile
index ece5cb75e527..386978ad5967 100644
--- a/devel/automake110/Makefile
+++ b/devel/automake110/Makefile
@@ -3,7 +3,7 @@
# Date created: 15 March 1997
# Whom: FUJIMOTO Kensaku <fujimoto@oscar.elec.waseda.ac.jp>
#
-# $Id: Makefile,v 1.3 1997/06/13 20:01:42 max Exp $
+# $Id: Makefile,v 1.4 1997/09/19 07:13:28 tg Exp $
#
DISTNAME= automake-1.2
@@ -14,9 +14,10 @@ MAINTAINER= fujimoto@oscar.elec.waseda.ac.jp
GNU_CONFIGURE= yes
CONFIGURE_ENV= PERL=/usr/bin/perl
-
-post-install:
- @ ${RM} -f ${PREFIX}/info/automake.info-1
- @ ${RM} -f ${PREFIX}/info/automake.info-2
+STRIP= # none
+pre-install:
+ @if [ ! -f ${PREFIX}/info/dir ]; then \
+ ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
+ fi
.include <bsd.port.mk>