[96123] trunk/dports/java/jfreechart/Portfile

jmr at macports.org jmr at macports.org
Wed Aug 1 07:00:41 PDT 2012


Revision: 96123
          https://trac.macports.org/changeset/96123
Author:   jmr at macports.org
Date:     2012-08-01 07:00:38 -0700 (Wed, 01 Aug 2012)
Log Message:
-----------
jfreechart: set license, fix post-extract code when deps are not installed

Modified Paths:
--------------
    trunk/dports/java/jfreechart/Portfile

Modified: trunk/dports/java/jfreechart/Portfile
===================================================================
--- trunk/dports/java/jfreechart/Portfile	2012-08-01 13:35:24 UTC (rev 96122)
+++ trunk/dports/java/jfreechart/Portfile	2012-08-01 14:00:38 UTC (rev 96123)
@@ -5,6 +5,7 @@
 name			jfreechart
 version			1.0.0-pre2
 categories		java graphics
+license			LGPL-2.1+
 platforms		darwin
 maintainers		nomaintainer
 description		JFreeChart is a free Java class library for generating charts.
@@ -21,9 +22,9 @@
 
 extract.post_args	"| tar -xf - --exclude 'junit.jar' --exclude 'servlet.jar'"
 post-extract {
-	file link ${worksrcpath}/lib/junit.jar ${prefix}/share/java/junit.jar
-	file link ${worksrcpath}/lib/servlet.jar \
-		${prefix}/share/java/servlet24-api.jar
+	ln -s ${prefix}/share/java/junit.jar ${worksrcpath}/lib/junit.jar
+	ln -s ${prefix}/share/java/servlet24-api.jar \
+		  ${worksrcpath}/lib/servlet.jar
 }
 
 use_configure	no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120801/6e453a5b/attachment.html>


More information about the macports-changes mailing list