diff options
Diffstat (limited to 'devel/gmake')
-rw-r--r-- | devel/gmake/Makefile | 26 | ||||
-rw-r--r-- | devel/gmake/files/md5 | 1 | ||||
-rw-r--r-- | devel/gmake/patches/patch-aa | 62 | ||||
-rw-r--r-- | devel/gmake/patches/patch-ab | 13 | ||||
-rw-r--r-- | devel/gmake/pkg/COMMENT | 1 | ||||
-rw-r--r-- | devel/gmake/pkg/DESCR | 3 | ||||
-rw-r--r-- | devel/gmake/pkg/PLIST | 6 |
7 files changed, 112 insertions, 0 deletions
diff --git a/devel/gmake/Makefile b/devel/gmake/Makefile new file mode 100644 index 00000000000..1964cca1fc1 --- /dev/null +++ b/devel/gmake/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: GNU make +# Version required: 3.75 +# Date created: 11 September 1994 +# Whom: jkh +# +# FreeBSD Id: Makefile,v 1.16 1997/06/13 20:00:47 max Exp +# + +DISTNAME= make-3.75 +PKGNAME= gmake-3.75 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_GNU} + +GNU_CONFIGURE= yes +MAN1= gmake.1 + +# joerg@freebsd.org says our getloadavg() no longer requires setgid kmem +post-install: + /bin/chmod g-s ${PREFIX}/bin/gmake + /usr/bin/chgrp ${BINGRP} ${PREFIX}/bin/gmake + @if [ ! -f ${PREFIX}/info/dir ]; then \ + ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ + fi + @install-info ${PREFIX}/info/make.info ${PREFIX}/info/dir + +.include <bsd.port.mk> diff --git a/devel/gmake/files/md5 b/devel/gmake/files/md5 new file mode 100644 index 00000000000..dec33e37275 --- /dev/null +++ b/devel/gmake/files/md5 @@ -0,0 +1 @@ +MD5 (make-3.75.tar.gz) = f3dd5a2bc74aee00b9f3c38f5d438f60 diff --git a/devel/gmake/patches/patch-aa b/devel/gmake/patches/patch-aa new file mode 100644 index 00000000000..4ef16a9c505 --- /dev/null +++ b/devel/gmake/patches/patch-aa @@ -0,0 +1,62 @@ +--- Makefile.in.orig Thu Aug 29 06:13:09 1996 ++++ Makefile.in Thu Jun 12 20:53:26 1997 +@@ -79,7 +79,7 @@ + # Number to put on the man page filename. + manext = 1 + # Prefix to put on installed `make' binary file name. +-binprefix = ++binprefix = g + # Prefix to put on installed `make' man page file name. + manprefix = $(binprefix) + +@@ -130,14 +130,14 @@ + .SUFFIXES: + .SUFFIXES: .o .c .h .ps .dvi .info .texinfo + +-all: make ++all: make info + info: make.info + dvi: make.dvi + # Some makes apparently use .PHONY as the default goal if it is before `all'. + .PHONY: all check info dvi + + make.info: make.texinfo +- $(MAKEINFO) -I$(srcdir) $(srcdir)/make.texinfo -o make.info ++ rm -f make.info* && $(MAKEINFO) --no-split -I$(srcdir) $(srcdir)/make.texinfo -o make.info + + make.dvi: make.texinfo + $(TEXI2DVI) $(srcdir)/make.texinfo +@@ -175,6 +175,8 @@ + + installdirs: + $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(infodir) $(mandir) ++ rm -f $(bindir)/$(binprefix)make $(infodir)/make.info \ ++ $(mandir)/$(manprefix)make.$(manext) + + $(bindir)/$(binprefix)make: make + $(INSTALL_PROGRAM) make $@.new +@@ -204,10 +206,10 @@ + # line so we notice real errors from install-info. + # We use `$(SHELL) -c' because some shells do not + # fail gracefully when there is an unknown command. +- if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \ +- if [ -r ./make.info ]; then dir=.; else dir=$(srcdir); fi; \ +- install-info --infodir=$(infodir) $$dir/make.info; \ +- else true; fi ++# if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \ ++# if [ -r ./make.info ]; then dir=.; else dir=$(srcdir); fi; \ ++# install-info --infodir=$(infodir) $$dir/make.info; \ ++# else true; fi + + $(mandir)/$(manprefix)make.$(manext): make.man + $(INSTALL_DATA) $(srcdir)/make.man $@ +@@ -250,7 +252,8 @@ + $(SHELL) config.status + glob/Makefile: config.status $(srcdir)/glob/Makefile.in + $(SHELL) config.status +-config.h: stamp-config ; ++config.h: stamp-config ++ + stamp-config: config.status $(srcdir)/config.h.in + $(SHELL) config.status + touch stamp-config diff --git a/devel/gmake/patches/patch-ab b/devel/gmake/patches/patch-ab new file mode 100644 index 00000000000..d1d69bd6608 --- /dev/null +++ b/devel/gmake/patches/patch-ab @@ -0,0 +1,13 @@ +--- make.texinfo.orig Mon Jul 15 01:30:15 1996 ++++ make.texinfo Thu Jun 12 20:37:09 1997 +@@ -2,6 +2,10 @@ + @c %**start of header + @setfilename make.info + @settitle GNU @code{make} ++@dircategory Programming & development tools ++@direntry ++* Gmake: (make). The GNU Make utility. ++@end direntry + @setchapternewpage odd + @c %**end of header + diff --git a/devel/gmake/pkg/COMMENT b/devel/gmake/pkg/COMMENT new file mode 100644 index 00000000000..f717bb510a9 --- /dev/null +++ b/devel/gmake/pkg/COMMENT @@ -0,0 +1 @@ +GNU version of 'make' utility diff --git a/devel/gmake/pkg/DESCR b/devel/gmake/pkg/DESCR new file mode 100644 index 00000000000..240bf785867 --- /dev/null +++ b/devel/gmake/pkg/DESCR @@ -0,0 +1,3 @@ +This directory contains the release of GNU Make. +All bugs reported for previous test releases have been fixed. +Some bugs surely remain. diff --git a/devel/gmake/pkg/PLIST b/devel/gmake/pkg/PLIST new file mode 100644 index 00000000000..b941b1337ee --- /dev/null +++ b/devel/gmake/pkg/PLIST @@ -0,0 +1,6 @@ +bin/gmake +man/man1/gmake.1.gz +@unexec install-info --delete %D/info/make.info %D/info/dir +info/make.info +@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir +@exec install-info %D/info/make.info %D/info/dir |