diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-06-20 16:23:28 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-06-20 16:23:28 +0000 |
commit | 7ae7b018ccf7760013f368fcb83aad9ecd8982a8 (patch) | |
tree | e83ee6693050a76e305a95a376451aa583df151e /java/jgrapht | |
parent | textproc/rubygem-gitlab-grit: make it work with rubygem-mime-types again (diff) |
With the power of USES=dos2unix, get rid of most patches and files
with CRLF.
While there, run make makepatch, rename patches to use the new scheme,
and various fixes.
With hat: portmgr
Sponsored by: Absolight
Diffstat (limited to 'java/jgrapht')
-rw-r--r-- | java/jgrapht/Makefile | 5 | ||||
-rw-r--r-- | java/jgrapht/files/patch-build.xml | 20 |
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> + |