Ticket #27086: junit4.8.2.diff
File junit4.8.2.diff, 4.4 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago) |
---|
-
files/patch-build.xml.diff
1 --- build.xml.orig 2009-06-12 21:55:56.000000000 +0200 2 +++ build.xml 2009-06-12 22:15:35.000000000 +0200 3 @@ -18,7 +18,7 @@ 1 --- build.xml.orig 2010-04-08 13:07:12.000000000 -0500 2 +++ build.xml 2010-10-31 14:04:08.000000000 -0500 3 @@ -19,7 +19,7 @@ 4 <property name="srcjar" value="junit-${version}-src.jar" /> 4 5 <property name="javadocdir" location="${dist}/javadoc" /> 5 6 <property name="javadoczip" location="${dist}-javadoc.zip" /> 6 <property name="javadocpackages" value="org.junit, org.junit.runner, org.junit.runner.description, org.junit.runner.manipulation, org.junit.runner.notification, org.junit.runners, org.hamcrest.core, org.junit.matchers" />7 7 - <property name="hamcrestlib" location="lib/hamcrest-core-1.1.jar" /> 8 8 + <property name="hamcrestlib" value="${prefix}/share/java/hamcrest-core.jar;${prefix}/share/java/hamcrest-library.jar" /> 9 9 <property name="hamcrestsrc" location="${dist}/temp.hamcrest.source" /> 10 10 11 11 <target name="init"> 12 @@ -7 2,8 +72,6 @@12 @@ -73,8 +73,6 @@ 13 13 14 14 <target name="build" depends="versiontag"> 15 15 <junit_compilation srcdir="${src}" destdir="${bin}" classpath="${hamcrestlib}"/> … … 17 17 - <junit_compilation srcdir="${testsrc}" destdir="${testbin}" classpath="${hamcrestlib};${bin}"/> 18 18 </target> 19 19 20 <target name="jars" >21 @@ -1 06,17 +104,16@@22 < unjar src="${hamcrestlib}" dest="${hamcrestsrc}" />20 <target name="jars" depends="build"> 21 @@ -115,20 +113,19 @@ 22 </exec> 23 23 </target> 24 24 25 25 - <target name="javadoc" depends="unjar.hamcrest"> 26 26 + <target name="javadoc"> 27 <javadoc packagenames="${javadocpackages}" 28 destdir="${javadocdir}" 27 <javadoc destdir="${javadocdir}" 29 28 author="false" 30 29 version="false" 31 30 use="false" 32 31 windowtitle="JUnit API" 33 32 - stylesheetfile="stylesheet.css" 34 + 33 + classpath="${hamcrestlib}" 35 34 > 35 <excludepackage name="junit.*" /> 36 <excludepackage name="org.junit.internal.*" /> 37 <excludepackage name="org.junit.experimental.theories.internal.*" /> 38 36 39 <sourcepath location="${src}" /> 37 40 - <sourcepath location="${hamcrestsrc}" /> 41 <link href="http://java.sun.com/javase/6/docs/api/" /> 38 42 </javadoc> 39 43 </target> 40 -
files/patch-src-main-java-org-junit-matchers-package-info.java.diff
1 --- src/main/java/org/junit/matchers/package-info.java.orig 2009-06-12 22:13:05.000000000 +02002 +++ src/main/java/org/junit/matchers/package-info.java 2009-06-12 22:13:18.000000000 +02003 @@ -4,6 +4,6 @@4 * statement5 *6 * @since 4.07 - * @see JUnitMatchers8 + * @see org.junit.matchers.JUnitMatchers9 */10 package org.junit.matchers; -
Portfile
4 4 PortSystem 1.0 5 5 6 6 name junit 7 version 4.6 8 revision 2 7 version 4.8.2 9 8 categories java devel 10 9 platforms darwin 11 10 maintainers nomaintainer … … 19 18 testing frameworks. 20 19 21 20 homepage http://www.junit.org/ 22 master_sites sourceforge21 master_sites http://github.com/KentBeck/junit/downloads 23 22 distname ${name}${version} 24 23 use_zip yes 25 24 26 checksums md5 2e59ed558001fd3b10d2146189167ff5 \ 27 sha1 98c8c625e999f0c7463397a684a5c47a0ea106e3 \ 28 rmd160 4f87024e91b7252af89ad925db5cda0e17128525 25 checksums sha1 15209b0933816c8e940a8375459be6e61e5f1662 \ 26 rmd160 fe476a8027471bcc2cc7ccc93001947222aced83 29 27 30 28 patchfiles patch-build.xml.diff \ 31 patch-src-main-java-org-junit-matchers-package-info.java.diff \32 29 patch-hamcrest-1.2-upgrade.diff 33 30 34 31 post-extract { … … 66 63 file copy ${worksrcpath}/javadoc ${destroot}${docdir}/ 67 64 } 68 65 } 66 67 livecheck.type regex 68 livecheck.url [lindex ${master_sites} 0] 69 livecheck.regex ${name}(\[0-9.\]+)${extract.suffix}