Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Commit [e8f8bd] Maximize Restore History

Autoconfiscate.

Keith Marshall Keith Marshall 2006-06-16

added configure
added configure.ac
added src/Makefile.in
removed config.mak
changed ChangeLog
changed doc
changed lib
changed src
changed template
copied Makefile -> Makefile.in
copied doc/Makefile -> aclocal.m4
copied lib/Makefile -> doc/Makefile.in
copied src/Makefile -> version.m4
copied src/version.sh -> lib/Makefile.in
copied template/Makefile -> template/Makefile.in
configure Diff Switch to side-by-side view
Loading...
configure.ac Diff Switch to side-by-side view
Loading...
src/Makefile.in Diff Switch to side-by-side view
Loading...
config.mak
File was removed.
ChangeLog Diff Switch to side-by-side view
Loading...
doc
Directory.
lib
Directory.
src
Directory.
template
Directory.
Makefile to Makefile.in
--- a/Makefile
+++ b/Makefile.in
@@ -1,4 +1,10 @@
-include config.mak
+# Top level Makefile.in for MinGW portmaker
+# Processed by `configure' to create a working Makefile.
+
+PACKAGE = @PACKAGE_NAME@
+VERSION = @PACKAGE_VERSION@
+
+PREFIX  = @prefix@
 SUBDIRS = src lib template doc
 
 all: $(SUBDIRS)
@@ -12,4 +18,6 @@
 
 .PHONY: $(SUBDIRS)
 $(SUBDIRS):
-	$(MAKE) -C $@ -f Makefile $(REDIRECT) VERSION=$(VERSION) PREFIX=$(PREFIX) PACKAGE=$(PACKAGE)
+	$(MAKE) -C $@ $(REDIRECT)
+
+# $RCSfile$: end of file
doc/Makefile to aclocal.m4
--- a/doc/Makefile
+++ b/aclocal.m4
@@ -1,14 +1,10 @@
-docdir=$(PREFIX)/doc/$(PACKAGE)-$(VERSION)
-doc_SOURCES = README
+# aclocal.m4 for MinGW portmaker package.
+# Created: 2006-06-16 by Keith Marshall <keithmarshall@users.sf.net>
 
-all: stamp-doc
+# Interpret version.m4, to set up AC_INIT parameters.
+#
+m4_include([version.m4])
+m4_define([PM_PACKAGE_VERSION],[PM_VERSION_MAJOR][.][PM_VERSION_MINOR]dnl
+m4_ifval(PM_VERSION_PATCH,[.][PM_VERSION_PATCH]))
 
-stamp-doc:
-	@touch stamp-doc
-
-install: $(doc_SOURCES)
-	mkdir -p $(docdir)
-	cp -pf $^ $(docdir)
-
-clean:
-	rm -f stamp-doc
+# $RCSfile$: end of file
lib/Makefile to doc/Makefile.in
--- a/lib/Makefile
+++ b/doc/Makefile.in
@@ -1,15 +1,33 @@
-libdir = $(PREFIX)/lib/$(PACKAGE)-$(VERSION)
+# Makefile.in for MinGW portmaker (doc subdirectory)
+# Processed by `configure' to create a working Makefile.
 
-libmingwPORT_SOURCES = mingwPORT.functions
+PACKAGE = @PACKAGE_NAME@
+VERSION = @PACKAGE_VERSION@
 
-all: stamp-lib
+# Autoconf wants us to use ${prefix},
+# (as specified in the GNU Coding Standards),
+# but some users will prefer ${PREFIX},
+# so, make them the same.
 
-stamp-lib:
-	touch stamp-lib
+PREFIX = @prefix@
+prefix = ${PREFIX}
 
-install: $(libmingwPORT_SOURCES)
-	mkdir -p $(libdir)
-	cp -p $^ $(libdir)
+srcdir = @srcdir@
+docdir = @datadir@/doc/$(PACKAGE)-$(VERSION)
+VPATH  = ${srcdir}
+
+doc_SOURCES = README
+
+all: stamp-doc
+
+stamp-doc:
+	@touch stamp-doc
+
+install: $(doc_SOURCES)
+	mkdir -p $(docdir)
+	cp -pf $^ $(docdir)
 
 clean:
-	rm -f stamp-lib
+	rm -f stamp-doc
+
+# $RCSfile$: end of file
src/Makefile to version.m4
--- a/src/Makefile
+++ b/version.m4
@@ -1,19 +1,16 @@
-bindir=$(PREFIX)/bin
-bin_PROGRAMS = portmaker
+# version.m4 for MinGW portmaker package.
+# Created: 2006-06-16 by Keith Marshall <keithmarshall@users.sf.net>
+#
+# File included by autoconf, via aclocal.m4.
+# Required to establish and maintain package version identification data.
 
-portmaker_SOURCES = \
-	portmaker.sh \
-	version.sh
+m4_define([PM_PACKAGE_NAME],  [portmaker])
 
-all: $(bin_PROGRAMS)
+m4_define([PM_VERSION_MAJOR], [0])
+m4_define([PM_VERSION_MINOR], [1])
+m4_define([PM_VERSION_PATCH], [7]) dnl Leave 2nd arg blank, to omit.
 
-install: $(bin_PROGRAMS)
-	mkdir -p $(bindir)
-	cp -pf $^ $(bindir)
+m4_define([PM_REFERENCE_URI], [http://www.mingw.org/MinGWiki])
+m4_define([PM_BUGREPORT_URI], [PM_REFERENCE_URI/index.php/ReportBugs])
 
-clean: $(bin_PROGRAMS)
-	rm -f $^
-
-portmaker: portmaker.sh version.sh
-	$(SHELL) -c '. version.sh && sed -e "s/@VERSION@/$$VERSION/g" -e "s~@PREFIX@~$$PREFIX~g" $^ > $@'
-	chmod 755 $@
+# $RCSfile$: end of file
src/version.sh to lib/Makefile.in
--- a/src/version.sh
+++ b/lib/Makefile.in
@@ -1,8 +1,36 @@
-#!/bin/echo This file is used by the configure process to set version variables
-#version.sh
-# File used by the configure process to set the VERSION variable in the script
+# Makefile.in for MinGW portmaker (lib subdirectory)
+# Processed by `configure' to create a working Makefile.
 
-_MAJOR_VERSION=0
-_MINOR_VERSION=1
-_PATCH_RELEASE=6
-VERSION="$_MAJOR_VERSION.$_MINOR_VERSION.$_PATCH_RELEASE"
+PACKAGE = @PACKAGE_NAME@
+VERSION = @PACKAGE_VERSION@
+
+# Autoconf wants us to use ${prefix} and ${exec_prefix},
+# (as specified in the GNU Coding Standards),
+# but some users will prefer ${PREFIX},
+# so, make them match.
+
+PREFIX = @prefix@
+exec_prefix = @exec_prefix@
+prefix = ${PREFIX}
+
+srcdir = @srcdir@
+bindir = @bindir@
+VPATH  = ${srcdir}
+
+libdir = @libdir@/$(PACKAGE)-$(VERSION)
+
+libmingwPORT_SOURCES = mingwPORT.functions
+
+all: stamp-lib
+
+stamp-lib:
+	touch stamp-lib
+
+install: $(libmingwPORT_SOURCES)
+	mkdir -p $(libdir)
+	cp -p $^ $(libdir)
+
+clean:
+	rm -f stamp-lib
+
+# $RCSfile$: end of file
template/Makefile to template/Makefile.in
--- a/template/Makefile
+++ b/template/Makefile.in
@@ -1,5 +1,21 @@
-datadir=$(PREFIX)/share
-templatedir = $(datadir)/$(PACKAGE)-$(VERSION)
+# Makefile.in for MinGW portmaker (template subdirectory)
+# Processed by `configure' to create a working Makefile.
+
+PACKAGE = @PACKAGE_NAME@
+VERSION = @PACKAGE_VERSION@
+
+# Autoconf wants us to use ${prefix},
+# (as specified in the GNU Coding Standards),
+# but some users will prefer ${PREFIX},
+# so, make them the same.
+
+PREFIX = @prefix@
+prefix = ${PREFIX}
+
+srcdir = @srcdir@
+templatedir = @datadir@/$(PACKAGE)-$(VERSION)
+VPATH  = ${srcdir}
+
 template_SOURCES = \
 	mingwPORT.README \
 	mingwPORT.afterconfigure \
@@ -39,3 +55,5 @@
 
 clean:
 	rm -f stamp-template
+
+# $RCSfile$: end of file