SF.net SVN: gar:[22624] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Dec 3 18:55:25 CET 2013


Revision: 22624
          http://gar.svn.sourceforge.net/gar/?rev=22624&view=rev
Author:   dmichelsen
Date:     2013-12-03 17:55:24 +0000 (Tue, 03 Dec 2013)
Log Message:
-----------
icmake/trunk: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/icmake/
    csw/mgar/pkg/icmake/Makefile
    csw/mgar/pkg/icmake/branches/
    csw/mgar/pkg/icmake/tags/
    csw/mgar/pkg/icmake/trunk/
    csw/mgar/pkg/icmake/trunk/Makefile
    csw/mgar/pkg/icmake/trunk/checksums
    csw/mgar/pkg/icmake/trunk/files/
    csw/mgar/pkg/icmake/trunk/files/0001-Use-the-correct-dir-for-etc.patch
    csw/mgar/pkg/icmake/trunk/files/INSTALL.im

Added: csw/mgar/pkg/icmake/Makefile
===================================================================
--- csw/mgar/pkg/icmake/Makefile	                        (rev 0)
+++ csw/mgar/pkg/icmake/Makefile	2013-12-03 17:55:24 UTC (rev 22624)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*


Property changes on: csw/mgar/pkg/icmake/trunk
___________________________________________________________________
Added: svn:ignore
   + work


Added: csw/mgar/pkg/icmake/trunk/Makefile
===================================================================
--- csw/mgar/pkg/icmake/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/icmake/trunk/Makefile	2013-12-03 17:55:24 UTC (rev 22624)
@@ -0,0 +1,63 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = icmake
+VERSION = 7.21.00
+GARTYPE = v2
+
+DESCRIPTION = Make system
+
+MASTER_SITES = $(SF_MIRROR)
+DISTFILES += $(NAME)_$(VERSION).orig.tar.gz
+DISTFILES += INSTALL.im
+
+PATCHFILES += 0001-Use-the-correct-dir-for-etc.patch
+
+VENDOR_URL = http://icmake.sourceforge.net
+
+PACKAGES += CSWicmake
+SPKG_DESC_CSWicmake = Make system
+# PKGFILES is catchall
+
+# We should take care of this, but I really want to get some experience with icmake first
+CHECKPKG_OVERRIDES_CSWicmake += file-with-bad-content|/usr/share|root/etc/opt/csw/icmake/icmake.rc
+
+# Default "usr/bin"
+ICMAKE_BINDIR = $(patsubst /%,%,$(bindir))
+# Default "usr/share/icmake"
+ICMAKE_SKELDIR = $(patsubst /%,%,$(sharedstatedir)/icmake)
+# Default "usr/share/man"
+ICMAKE_MANDIR = $(patsubst /%,%,$(mandir))
+# Default "usr/lib/icmake"
+ICMAKE_LIBDIR = $(patsubst /%,%,$(libdir)/icmake)
+# Default "etc/icmake"
+ICMAKE_CONFDIR = $(patsubst /%,%,$(sysconfdir)/icmake)
+# Default "etc/icmake"
+ICMAKE_DOCDIR = $(patsubst /%,%,$(docdir)/icmake)
+# Default "usr/share/doc/icmake"
+ICMAKE_DOCDOCDIR = $(patsubst /%,%,$(docdir)/icmake)
+
+EXPANDVARS += INSTALL.im
+
+GARCOMPILER = GNU
+
+EXTRA_CFLAGS += -std=c99
+
+CONFIGURE_SCRIPTS = custom
+BUILD_SCRIPTS = custom
+TEST_SCRIPTS =
+INSTALL_SCRIPTS = custom
+
+include gar/category.mk
+
+configure-custom:
+	cp $(WORKDIR)/INSTALL.im $(WORKSRC)/INSTALL.im
+	@$(MAKECOOKIE)
+
+build-custom:
+	cd $(WORKSRC) && PATH=/opt/csw/gnu:$(PATH) CFLAGS="$(CFLAGS)" ./icm_bootstrap /
+	@$(MAKECOOKIE)
+
+install-custom:
+	cd $(WORKSRC) && PATH=/opt/csw/gnu:$(PATH) ./icm_install all $(DESTDIR)
+	@$(MAKECOOKIE)


Property changes on: csw/mgar/pkg/icmake/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/icmake/trunk/checksums
===================================================================
--- csw/mgar/pkg/icmake/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/icmake/trunk/checksums	2013-12-03 17:55:24 UTC (rev 22624)
@@ -0,0 +1 @@
+2d6b12e2ec193339fde35eed7614089c  icmake_7.21.00.orig.tar.gz

Added: csw/mgar/pkg/icmake/trunk/files/0001-Use-the-correct-dir-for-etc.patch
===================================================================
--- csw/mgar/pkg/icmake/trunk/files/0001-Use-the-correct-dir-for-etc.patch	                        (rev 0)
+++ csw/mgar/pkg/icmake/trunk/files/0001-Use-the-correct-dir-for-etc.patch	2013-12-03 17:55:24 UTC (rev 22624)
@@ -0,0 +1,34 @@
+From d7ab461f09450812cda1308cbfb6c25fe60751c3 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Tue, 3 Dec 2013 18:45:34 +0100
+Subject: [PATCH] Use the correct dir for etc
+
+---
+ icm_install | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/icm_install b/icm_install
+index ecd44f2..4dc7324 100755
+--- a/icm_install
++++ b/icm_install
+@@ -67,7 +67,7 @@ case $1 in
+         into ${SKELDIR}
+         into ${DOCDIR}
+         into ${DOCDOCDIR}
+-        into etc/icmake
++        into ${CONFDIR}
+     ;;
+ 
+     (progs)
+@@ -91,7 +91,7 @@ case $1 in
+     ;;
+ 
+     (etc)
+-        into etc/icmake
++        into ${CONFDIR}
+     ;;
+ 
+     (docdoc)
+-- 
+1.8.4.1
+

Added: csw/mgar/pkg/icmake/trunk/files/INSTALL.im
===================================================================
--- csw/mgar/pkg/icmake/trunk/files/INSTALL.im	                        (rev 0)
+++ csw/mgar/pkg/icmake/trunk/files/INSTALL.im	2013-12-03 17:55:24 UTC (rev 22624)
@@ -0,0 +1,31 @@
+/*
+    The locations of the binaries, the man pages and the documentation
+    ==================================================================
+ 
+    The settings in this file are according to the Debian File Standard
+    Change them according to your tastes if you think they should be
+    different. 
+
+    All locations are relative to a specifiable base-directory.
+
+        BINDIR      the binary programs and scripts
+        SKELDIR     the icmstart-script skeleton files
+        MANDIR      the base directory of man-pages (under MANDIR/man1 and
+                    MANDIR/man2) 
+        LIBDIR      icmake's support programs
+        CONFDIR     the system-wide configuration files (AUTHOR, VERSION, 
+                    icmstart.rc)
+        DOCDIR      various doc-files (e.g., changelog)
+        DOCDOCDIR   more extensive documentation (icmake.ps, examples)
+*/
+
+// Define EXTENSION as ".exe" when compiling for CYGWIN
+//#define EXTENSION   ".exe"
+
+#define BINDIR      "@ICMAKE_BINDIR@"
+#define SKELDIR     "@ICMAKE_SKELDIR@"
+#define MANDIR      "@ICMAKE_MANDIR@"
+#define LIBDIR      "@ICMAKE_LIBDIR@"
+#define CONFDIR     "@ICMAKE_CONFDIR@"
+#define DOCDIR      "@ICMAKE_DOCDIR@"
+#define DOCDOCDIR   "@ICMAKE_DOCDOCDIR@"

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list