summaryrefslogtreecommitdiff
path: root/java/jgrapht
diff options
context:
space:
mode:
Diffstat (limited to 'java/jgrapht')
-rw-r--r--java/jgrapht/Makefile5
-rw-r--r--java/jgrapht/files/patch-build.xml20
2 files changed, 13 insertions, 12 deletions
diff --git a/java/jgrapht/Makefile b/java/jgrapht/Makefile
index 947fc6d446c8..a7f194798f98 100644
--- a/java/jgrapht/Makefile
+++ b/java/jgrapht/Makefile
@@ -10,7 +10,8 @@ MASTER_SITES= SF/${PORTNAME}/JGraphT/Version%20${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Java package for mathematical graph-theory objects and algorithms
-USES= zip
+USES= dos2unix zip
+DOS2UNIX_GLOB= *.xml *.java
USE_JAVA= yes
JAVA_VERSION= 1.6 1.7
@@ -30,7 +31,7 @@ NO_BUILD= yes
PORTDOCS= *
-PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
+PLIST_FILES= ${JAVAJARDIR}/${PORTNAME}.jar
.include <bsd.port.pre.mk>
diff --git a/java/jgrapht/files/patch-build.xml b/java/jgrapht/files/patch-build.xml
index eb39cf5aabd2..2870d1748c70 100644
--- a/java/jgrapht/files/patch-build.xml
+++ b/java/jgrapht/files/patch-build.xml
@@ -1,12 +1,12 @@
Patch to allow the JDK API location to be passed to Ant using -Djdk.api
---- build.xml.orig Mon Jul 3 00:53:38 2006
-+++ build.xml Sun Mar 11 12:16:31 2007
-@@ -400,6 +400,7 @@
- <include name="**"/>
- <exclude name="org/jgrapht/experimental/**"/>
- </packageset>
-+ <link offline="true" packagelistLoc="${jdk.api}" href="${jdk.api}"/>
- </javadoc>
- </target>
-
+--- build.xml.orig 2016-06-20 15:06:43 UTC
++++ build.xml
+@@ -355,6 +355,7 @@
+ <include name="**"/>
+ <exclude name="org/jgrapht/experimental/**"/>
+ </packageset>
++ <link offline="true" packagelistLoc="${jdk.api}" href="${jdk.api}"/>
+ </javadoc>
+ </target>
+