source: trunk/dports/devel/apache-ivy/Portfile

Last change on this file was 111947, checked in by jeremyhu@…, 4 years ago

apache-ivy: Dead code removal

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 111947 2013-10-06 18:50:28Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                apache-ivy
6version             2.3.0
7categories          devel java
8license             Apache-2
9maintainers         nomaintainer
10description         Dependency manager for Apache Ant
11long_description    \
12    Apache Ivy is a transitive dependency manager that is designed to \
13    integrate with Apache Ant. An external XML file defines project \
14    dependencies and lists the resources necessary to build a project. \
15    Ivy then resolves and downloads resources from an artifact repository: \
16    either a private repository or one publicly available on the Internet.
17   
18homepage            http://ant.apache.org/ivy/
19
20platforms           darwin freebsd
21
22distname            ${name}-${version}-src
23master_sites        apache:ant/ivy/
24master_sites.mirror_subdir  ${version}
25worksrcdir          ${name}-${version}
26
27depends_build       port:apache-ant
28
29checksums           md5     53f27c8ef5da2eff5039efa6c45b84e7 \
30                    sha1    244213bd0d0f344e17678ccbc72b341db6c5b9a3 \
31                    sha256  20f9ba64b6f24328497394d8b3e24b8e15e12ad230958be9c76d6f8cccf081de \
32                    rmd160  b1cc2f95658209937960e26725b39ccbed431655
33
34use_configure       no                   
35build.cmd           ant
36build.target        /localivy jar
37
38destroot {
39    set javadir ${destroot}${prefix}/share/java/
40    set docdir ${destroot}${prefix}/share/doc/
41    xinstall -d ${javadir}/apache-ant/lib/ ${docdir}
42   
43    xinstall ${worksrcpath}/build/artifact/jars/ivy.jar ${javadir}
44    ln -s ${prefix}/share/java/ivy.jar ${javadir}/apache-ant/lib/ivy.jar
45    file delete -force ${worksrcpath}/build/artifact
46    move ${worksrcpath}/doc ${docdir}/${name}
47    # move ${worksrcpath} ${javadir}/${name}
48}
49
50platform darwin {
51    build.env       JAVA_HOME=/Library/Java/Home
52}
53
Note: See TracBrowser for help on using the repository browser.