[66462] trunk/dports/devel

singingwolfboy at macports.org singingwolfboy at macports.org
Tue Apr 13 17:28:56 PDT 2010


Revision: 66462
          http://trac.macports.org/changeset/66462
Author:   singingwolfboy at macports.org
Date:     2010-04-13 17:28:55 -0700 (Tue, 13 Apr 2010)
Log Message:
-----------
Added new port for Apache Ivy

Added Paths:
-----------
    trunk/dports/devel/apache-ivy/
    trunk/dports/devel/apache-ivy/Portfile

Added: trunk/dports/devel/apache-ivy/Portfile
===================================================================
--- trunk/dports/devel/apache-ivy/Portfile	                        (rev 0)
+++ trunk/dports/devel/apache-ivy/Portfile	2010-04-14 00:28:55 UTC (rev 66462)
@@ -0,0 +1,51 @@
+# $Id$
+
+PortSystem 1.0
+
+name			    apache-ivy
+version			    2.1.0
+categories		    devel java
+maintainers		    singingwolfboy openmaintainer
+description		    Dependency manager for Apache Ant
+long_description	\
+    Apache Ivy is a transitive dependency manager that is designed to \
+    integrate with Apache Ant. An external XML file defines project \
+    dependencies and lists the resources necessary to build a project. \
+    Ivy then resolves and downloads resources from an artifact repository: \
+    either a private repository or one publicly available on the Internet.
+    
+homepage		    http://ant.apache.org/ivy/
+
+platforms		    darwin freebsd
+
+distname		    ${name}-${version}-src
+master_sites        apache:ant/ivy/
+master_sites.mirror_subdir	${version}
+worksrcdir          ${name}-${version}
+
+depends_build       port:apache-ant
+
+checksums           md5     49130a0c8beb74d77653e5443dacecd5 \
+                    sha1    7abde4171630d1853ed8df2c04cfaf74e18fcb65 \
+                    rmd160  0c9e2438d85d67048cc6f08fc9bb6b18fbf7ac1e
+
+use_configure       no                    
+build.cmd           ant
+build.target        jar
+
+destroot {
+    set javadir ${destroot}${prefix}/share/java/
+    set docdir ${destroot}${prefix}/share/doc/
+    xinstall -d $javadir ${docdir}
+    
+    xinstall ${worksrcpath}/build/artifact/jars/ivy.jar ${javadir}
+    file delete -force ${worksrcpath}/build/artifact
+    move ${worksrcpath}/doc ${docdir}/${name}
+    move ${worksrcpath} ${javadir}/${name}
+}
+
+platform darwin {
+    extract.post_args	| gnutar -x
+    build.env		JAVA_HOME=/Library/Java/Home
+}
+


Property changes on: trunk/dports/devel/apache-ivy/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100413/a2a75787/attachment.html>


More information about the macports-changes mailing list