[csw-devel] SF.net SVN: gar:[19641] csw/mgar/pkg
cgrzemba at users.sourceforge.net
cgrzemba at users.sourceforge.net
Sun Nov 11 01:31:30 CET 2012
Revision: 19641
http://gar.svn.sourceforge.net/gar/?rev=19641&view=rev
Author: cgrzemba
Date: 2012-11-11 00:31:29 +0000 (Sun, 11 Nov 2012)
Log Message:
-----------
ant/trunk: Initial commit
Added Paths:
-----------
csw/mgar/pkg/ant/
csw/mgar/pkg/ant/Makefile
csw/mgar/pkg/ant/branches/
csw/mgar/pkg/ant/tags/
csw/mgar/pkg/ant/trunk/
csw/mgar/pkg/ant/trunk/Makefile
csw/mgar/pkg/ant/trunk/checksums
csw/mgar/pkg/ant/trunk/files/
Added: csw/mgar/pkg/ant/Makefile
===================================================================
--- csw/mgar/pkg/ant/Makefile (rev 0)
+++ csw/mgar/pkg/ant/Makefile 2012-11-11 00:31:29 UTC (rev 19641)
@@ -0,0 +1,2 @@
+%:
+ $(MAKE) -C trunk $*
Property changes on: csw/mgar/pkg/ant/trunk
___________________________________________________________________
Added: svn:ignore
+ work
Added: csw/mgar/pkg/ant/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ant/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/ant/trunk/Makefile 2012-11-11 00:31:29 UTC (rev 19641)
@@ -0,0 +1,79 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = ant
+VERSION = 1.8.4
+GARTYPE = v2
+CATEGORIES = utils
+
+DESCRIPTION = Apache Ant is Java Build Tool
+define BLURB
+ Long description
+endef
+
+MASTER_SITES = http://ftp.halifax.rwth-aachen.de/apache//ant/source/
+MASTER_SITES += http://www.junit.org
+MASTER_SITES += http://search.maven.org/remotecontent?filepath=org/mod4j/org/junit/3.8.2/
+DISTNAME = apache-$(NAME)-$(VERSION)
+DISTFILES = $(DISTNAME)-src.tar.gz
+DISTFILES += junit-3.8.2.jar
+
+NOGITPATCH = 1
+
+REINPLACE_USRLOCAL = manual/*.*
+
+PACKAGING_PLATFORMS += solaris10x
+RUNTIME_DEPENDENCY_CSWant += CSWjunit
+
+ARCHALL_CSWant = 1
+ARCHALL_CSWantdoc = 1
+
+PACKAGES += CSWant
+SPKG_DESC_CSWant = $(DESCRIPTION), base
+# not really
+RUNTIME_DEP_PKGS_CSWant += CSWpython
+RUNTIME_DEP_PKGS_CSWant += CSWperl
+# usr share is ok
+CHECKPKG_OVERRIDES_CSWant += file-with-bad-content|/usr/share|root/opt/csw/share/java/ant/bin/ant
+# no, the license is there
+CHECKPKG_OVERRIDES_CSWant += license-missing|/opt/csw/share/doc/ant/license
+
+PACKAGES += CSWantdoc
+SPKG_DESC_CSWantdoc = $(DESCRIPTION), docs
+PKGFILES_CSWantdoc += $(PKGFILES_DOC)
+
+CONFIGURE_SCRIPTS =
+TEST_SCRIPTS =
+BUILD_SCRIPTS = ant
+INSTALL_SCRIPTS = ant
+EXTRA_BUILD_ENV += JAVA_HOME=/usr/jdk/instances/jdk1.6.0
+EXTRA_BUILD_ENV += ANT_OPTS="-Dhttp.proxyHost=proxy -Dhttp.proxyPort=3128"
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+include gar/category.mk
+
+pre-build-modulated:
+ (cd $(WORKSRC)/lib/optional && jar -xf ../../../junit-3.8.2.jar)
+ @$(MAKECOOKIE)
+
+build-ant:
+ (cd $(WORKSRC) && $(BUILD_ENV) sh build.sh dist )
+ @$(MAKECOOKIE)
+
+ant_home = $(datadir)/java/$(NAME)
+install-ant:
+ ginstall -d -m755 $(DESTDIR)/$(bindir)
+ ginstall -d -m755 $(DESTDIR)/$(datadir)/java
+ ginstall -d -m755 $(DESTDIR)/$(ant_home)/bin
+ ginstall -d -m755 $(DESTDIR)/$(docdir)/$(NAME)
+ gcp -Rp $(WORKSRC)/$(DISTNAME)/etc $(DESTDIR)/$(ant_home)
+ find $(WORKSRC)/$(DISTNAME)/bin -type f -a ! -name \*.bat -a ! -name \*.cmd -exec ginstall -m755 {} $(DESTDIR)/$(ant_home)/bin \;
+ ln -s $(DESTDIR)/$(ant_home)/bin/ant $(DESTDIR)/$(bindir)
+ gsed -i -e '/^ANT_LIB/s/lib/share\/java/' $(DESTDIR)/$(ant_home)/bin/ant
+ ginstall -m644 $(WORKSRC)/$(DISTNAME)/lib/*.jar $(DESTDIR)/$(datadir)/java
+ gcp -Rp $(WORKSRC)/$(DISTNAME)/manual $(DESTDIR)/$(docdir)/$(NAME)
+ ginstall -m644 $(WORKSRC)/$(DISTNAME)/LICENSE $(DESTDIR)/$(docdir)/$(NAME)
+ ginstall -m644 $(WORKSRC)/$(DISTNAME)/NOTICE $(DESTDIR)/$(docdir)/$(NAME)
+ $(MAKECOOKIE)
+
Property changes on: csw/mgar/pkg/ant/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: csw/mgar/pkg/ant/trunk/checksums
===================================================================
--- csw/mgar/pkg/ant/trunk/checksums (rev 0)
+++ csw/mgar/pkg/ant/trunk/checksums 2012-11-11 00:31:29 UTC (rev 19641)
@@ -0,0 +1,2 @@
+4e05e1cc4ea4b56d85bbbc4fe29d1c29 apache-ant-1.8.4-src.tar.gz
+9d65b560478574b7783ddd568819cc7d junit-3.8.2.jar
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