diff options
author | max <max@FreeBSD.org> | 1997-09-19 17:29:05 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-09-19 17:29:05 +0800 |
commit | f2019eb6f4d5844b035f01379a031862d318a499 (patch) | |
tree | 4243d23c7673411790aca2424cf69dc9f89df327 /devel/automake18 | |
parent | 758d802b4ea333129c29c64f48680a66b793d13f (diff) | |
download | freebsd-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/automake18')
-rw-r--r-- | devel/automake18/Makefile | 11 | ||||
-rw-r--r-- | devel/automake18/files/patch-ab | 49 |
2 files changed, 16 insertions, 44 deletions
diff --git a/devel/automake18/Makefile b/devel/automake18/Makefile index ece5cb75e527..386978ad5967 100644 --- a/devel/automake18/Makefile +++ b/devel/automake18/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> diff --git a/devel/automake18/files/patch-ab b/devel/automake18/files/patch-ab index 00b7a640a19e..72099145a3dc 100644 --- a/devel/automake18/files/patch-ab +++ b/devel/automake18/files/patch-ab @@ -1,40 +1,11 @@ ---- Makefile.in.orig Fri Sep 19 06:13:16 1997 -+++ Makefile.in Fri Sep 19 06:15:31 1997 -@@ -131,11 +131,11 @@ - $(mkinstalldirs) $(bindir) - @list='$(bin_SCRIPTS)'; for p in $$list; do \ - if test -f $$p; then \ -- echo " $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \ -- $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \ -+ echo " $(INSTALL) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \ -+ $(INSTALL) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \ - else if test -f $(srcdir)/$$p; then \ -- echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(bindir)/`echo $$p|sed '$(transform)'`"; \ -- $(INSTALL_SCRIPT) $(srcdir)/$$p $(bindir)/`echo $$p|sed '$(transform)'`; \ -+ echo " $(INSTALL) $(srcdir)/$$p $(bindir)/`echo $$p|sed '$(transform)'`"; \ -+ $(INSTALL) $(srcdir)/$$p $(bindir)/`echo $$p|sed '$(transform)'`; \ - else :; fi; fi; \ - done +--- Makefile.in.orig Mon Jun 23 11:25:50 1997 ++++ Makefile.in Fri Sep 19 18:19:19 1997 +@@ -196,7 +196,7 @@ + .texi.info: + @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] + cd $(srcdir) \ +- && $(MAKEINFO) `echo $< | sed 's,.*/,,'` ++ && $(MAKEINFO) --no-split `echo $< | sed 's,.*/,,'` -@@ -150,11 +150,11 @@ - $(mkinstalldirs) $(pkgdatadir) - @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \ - if test -f $$p; then \ -- echo " $(INSTALL_SCRIPT) $$p $(pkgdatadir)/`echo $$p|sed '$(transform)'`"; \ -- $(INSTALL_SCRIPT) $$p $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \ -+ echo " $(INSTALL) $$p $(pkgdatadir)/`echo $$p|sed '$(transform)'`"; \ -+ $(INSTALL) $$p $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \ - else if test -f $(srcdir)/$$p; then \ -- echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(pkgdatadir)/`echo $$p|sed '$(transform)'`"; \ -- $(INSTALL_SCRIPT) $(srcdir)/$$p $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \ -+ echo " $(INSTALL) $(srcdir)/$$p $(pkgdatadir)/`echo $$p|sed '$(transform)'`"; \ -+ $(INSTALL) $(srcdir)/$$p $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \ - else :; fi; fi; \ - done - -@@ -569,3 +569,5 @@ - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. - .NOEXPORT: -+.texi.info: -+ makeinfo --no-split $(TEXINFOS) + .texi.dvi: + TEXINPUTS=$(srcdir):$$TEXINPUTS \ |