diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/makeplus/Makefile | 34 | ||||
-rw-r--r-- | devel/makeplus/distinfo | 1 | ||||
-rw-r--r-- | devel/makeplus/files/patch-c.mk | 17 | ||||
-rw-r--r-- | devel/makeplus/files/patch-configure.mk | 22 | ||||
-rw-r--r-- | devel/makeplus/files/patch-main.mk | 42 | ||||
-rw-r--r-- | devel/makeplus/pkg-comment | 1 | ||||
-rw-r--r-- | devel/makeplus/pkg-descr | 7 | ||||
-rw-r--r-- | devel/makeplus/pkg-plist | 25 |
9 files changed, 150 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index b92591727f23..8b0b72345ac5 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -354,6 +354,7 @@ SUBDIR += m68k-rtems-objc SUBDIR += make++ SUBDIR += makedepend + SUBDIR += makeplus SUBDIR += memcheck SUBDIR += mico SUBDIR += mime diff --git a/devel/makeplus/Makefile b/devel/makeplus/Makefile new file mode 100644 index 000000000000..d43e1f5b87ba --- /dev/null +++ b/devel/makeplus/Makefile @@ -0,0 +1,34 @@ +# ex:ts=8 -*-mode: makefile-*- +# +# New ports collection makefile for: makeplus +# Date created: 2002-12-22 +# Whom: Alan Eldridge <alane@geeksrus.net> +# +# $FreeBSD$ +# + +PORTNAME= makeplus +PORTVERSION= 0.0.15 +PORTREVISION= 0 +PORTEPOCH= 0 +CATEGORIES= devel +MASTER_SITES= http://www.annexia.org/freeware/${PORTNAME}/ + +USE_GMAKE= yes +PREFIX?= ${LOCALBASE} +MAKE_ENV+= MAKEPLUS_HOME=${WRKSRC} +NO_MTREE= yes + +MAINTAINER= alane@FreeBSD.org + +.include <bsd.port.pre.mk> + +do-build: + cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./make+ + +do-install: + cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./make+ install prefix=${PREFIX} + +.include <bsd.port.post.mk> + +#EOF diff --git a/devel/makeplus/distinfo b/devel/makeplus/distinfo new file mode 100644 index 000000000000..be0d374e2daa --- /dev/null +++ b/devel/makeplus/distinfo @@ -0,0 +1 @@ +MD5 (makeplus-0.0.15.tar.gz) = bf8c8645627a1ea4c44ebf0ceca06c3e diff --git a/devel/makeplus/files/patch-c.mk b/devel/makeplus/files/patch-c.mk new file mode 100644 index 000000000000..905e2075ee54 --- /dev/null +++ b/devel/makeplus/files/patch-c.mk @@ -0,0 +1,17 @@ +--- c.mk.orig Mon Dec 9 14:32:33 2002 ++++ c.mk Fri Dec 27 05:10:26 2002 +@@ -13,9 +13,11 @@ + # install make+ separately. + + # General C compilation variables. +-CC = gcc +-CFLAGS = -I. -I.. +-LIBS = ++CC ?= gcc ++CFLAGS += -I. -I.. ++LIBS += ++SETENV ?= /usr/bin/env ++CONF_ENV = CC="$(CC)" CFLAGS="$(CFLAGS)" + + # Link scripts. + MP_LINK_STATIC = $(MAKEPLUS_HOME)/link_static.sh diff --git a/devel/makeplus/files/patch-configure.mk b/devel/makeplus/files/patch-configure.mk new file mode 100644 index 000000000000..3a4b66713d7c --- /dev/null +++ b/devel/makeplus/files/patch-configure.mk @@ -0,0 +1,22 @@ +--- configure.mk.orig Mon Dec 9 14:41:01 2002 ++++ configure.mk Fri Dec 27 05:09:39 2002 +@@ -13,8 +13,13 @@ + # install make+ separately. + + # Configuration scripts. +-MP_CONFIGURE_START = $(MAKEPLUS_HOME)/configure_start.sh > config.h +-MP_CONFIGURE_END = $(MAKEPLUS_HOME)/configure_end.sh >> config.h +-MP_CHECK_HEADERS = $(MAKEPLUS_HOME)/check_headers.sh >> config.h +-MP_CHECK_FUNCS = $(MAKEPLUS_HOME)/check_funcs.sh >> config.h +-MP_CHECK_LIB = $(MAKEPLUS_HOME)/check_lib.sh >> config.h +\ No newline at end of file ++MP_CONFIGURE_START = $(SETENV) $(CONF_ENV) \ ++ $(MAKEPLUS_HOME)/configure_start.sh > config.h ++MP_CONFIGURE_END = $(SETENV) $(CONF_ENV) \ ++ $(MAKEPLUS_HOME)/configure_end.sh >> config.h ++MP_CHECK_HEADERS = $(SETENV) $(CONF_ENV) \ ++ $(MAKEPLUS_HOME)/check_headers.sh >> config.h ++MP_CHECK_FUNCS = $(SETENV) $(CONF_ENV) \ ++ $(MAKEPLUS_HOME)/check_funcs.sh >> config.h ++MP_CHECK_LIB = $(SETENV) $(CONF_ENV) \ ++ $(MAKEPLUS_HOME)/check_lib.sh >> config.h diff --git a/devel/makeplus/files/patch-main.mk b/devel/makeplus/files/patch-main.mk new file mode 100644 index 000000000000..7106b2ff2776 --- /dev/null +++ b/devel/makeplus/files/patch-main.mk @@ -0,0 +1,42 @@ +--- main.mk.orig Mon Dec 16 15:26:30 2002 ++++ main.mk Fri Dec 27 01:21:12 2002 +@@ -33,19 +33,21 @@ + infodir = $(prefix)/info + includedir = $(prefix)/include + pkgdatadir = $(datadir)/$(PACKAGE) ++pkgetcdir = $(sysconfdir)/$(PACKAGE) + pkglibdir = $(libdir)/$(PACKAGE) + pkgincludedir = $(includedir)/$(PACKAGE) +-mandir = $(datadir)/man +-man1dir = $(datadir)/man/man1 +-man2dir = $(datadir)/man/man2 +-man3dir = $(datadir)/man/man3 +-man4dir = $(datadir)/man/man4 +-man5dir = $(datadir)/man/man5 +-man6dir = $(datadir)/man/man6 +-man7dir = $(datadir)/man/man7 +-man8dir = $(datadir)/man/man8 +-manndir = $(datadir)/man/mann +-manldir = $(datadir)/man/manl ++manprefix ?=$(datadir) ++mandir = $(manprefix)/man ++man1dir = $(mandir)/man1 ++man2dir = $(mandir)/man2 ++man3dir = $(mandir)/man3 ++man4dir = $(mandir)/man4 ++man5dir = $(mandir)/man5 ++man6dir = $(mandir)/man6 ++man7dir = $(mandir)/man7 ++man8dir = $(mandir)/man8 ++manndir = $(mandir)/mann ++manldir = $(mandir)/manl + + # Include the other parts of this makefile. + include $(MAKEPLUS_HOME)/configure.mk +@@ -72,4 +74,4 @@ + .EXPORT_ALL_VARIABLES: + + # Phony targets. +-.PHONY: clean distclean +\ No newline at end of file ++.PHONY: clean distclean diff --git a/devel/makeplus/pkg-comment b/devel/makeplus/pkg-comment new file mode 100644 index 000000000000..db8b2125a09d --- /dev/null +++ b/devel/makeplus/pkg-comment @@ -0,0 +1 @@ +A set of GNU Make rules for building the other packages from this author diff --git a/devel/makeplus/pkg-descr b/devel/makeplus/pkg-descr new file mode 100644 index 000000000000..c3bc5a32d499 --- /dev/null +++ b/devel/makeplus/pkg-descr @@ -0,0 +1,7 @@ +Make+ is a set of GNU Make rules for building the other packages from this +author. + +WWW: http://www.annexia.org/freeware/ + +-- AlanE + diff --git a/devel/makeplus/pkg-plist b/devel/makeplus/pkg-plist new file mode 100644 index 000000000000..bd5ab4a6279e --- /dev/null +++ b/devel/makeplus/pkg-plist @@ -0,0 +1,25 @@ +bin/make+ +bin/make+-skeleton +etc/make+.conf +share/makeplus/c.mk +share/makeplus/check_funcs.sh +share/makeplus/check_headers.sh +share/makeplus/check_lib.sh +share/makeplus/configure.mk +share/makeplus/configure_end.sh +share/makeplus/configure_start.sh +share/makeplus/default_goal.mk +share/makeplus/dist.mk +share/makeplus/install_dynamic_lib.sh +share/makeplus/install_static_lib.sh +share/makeplus/link_dynamic.sh +share/makeplus/link_static.sh +share/makeplus/main.mk +share/makeplus/make+ +share/makeplus/make_rpm_spec.sh +share/makeplus/make_website.sh +share/makeplus/rpm.mk +share/makeplus/run_tests.sh +share/makeplus/test.mk +share/makeplus/website.mk +@dirrm share/makeplus |