source: trunk/dports/java/jfreechart/Portfile @ 30233

Last change on this file since 30233 was 30233, checked in by jmpp@…, 13 years ago

nomaintainer address abstraction in java category.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 30233 2007-10-22 23:09:00Z jmpp@macports.org $
2
3PortSystem 1.0
4
5name                    jfreechart
6version                 1.0.0-pre2
7categories              java graphics
8platforms               darwin
9maintainers             nomaintainer
10description             JFreeChart is a free Java class library for generating charts.
11long_description        ${description}
12
13homepage                http://www.jfree.org/jfreechart/
14master_sites    sourceforge
15checksums               md5 60c284085ffaa9c077215b8cfff91d52
16
17depends_build   bin:ant:apache-ant
18depends_lib             bin:java:kaffe \
19                                port:junit \
20                                port:servlet24-api
21
22extract.post_args       "| tar -xf - --exclude 'junit.jar' --exclude 'servlet.jar'"
23post-extract {
24        file link ${worksrcpath}/lib/junit.jar ${prefix}/share/java/junit.jar
25        file link ${worksrcpath}/lib/servlet.jar \
26                ${prefix}/share/java/servlet24-api.jar
27}
28
29use_configure   no
30
31build.dir               ${worksrcpath}/ant
32build.cmd               ant
33build.target    all
34
35destroot {
36        xinstall -m 755 -d ${destroot}${prefix}/share/java/ \
37                ${destroot}${prefix}/share/doc/
38        xinstall -m 644 ${worksrcpath}/jfreechart-${version}.jar \
39                ${destroot}${prefix}/share/java/jfreechart.jar
40        file copy ${worksrcpath}/javadoc ${destroot}${prefix}/share/doc/${name}
41}
Note: See TracBrowser for help on using the repository browser.