diff options
Diffstat (limited to 'java/jakarta-regexp')
-rw-r--r-- | java/jakarta-regexp/Makefile | 2 | ||||
-rw-r--r-- | java/jakarta-regexp/files/patch-build.xml | 37 |
2 files changed, 38 insertions, 1 deletions
diff --git a/java/jakarta-regexp/Makefile b/java/jakarta-regexp/Makefile index 92f737514f1b..34b3c1b83489 100644 --- a/java/jakarta-regexp/Makefile +++ b/java/jakarta-regexp/Makefile @@ -6,7 +6,7 @@ PORTNAME= jakarta-regexp PORTVERSION= 1.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= java devel MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA} MASTER_SITE_SUBDIR= regexp/binaries diff --git a/java/jakarta-regexp/files/patch-build.xml b/java/jakarta-regexp/files/patch-build.xml new file mode 100644 index 000000000000..4bf8d84188c4 --- /dev/null +++ b/java/jakarta-regexp/files/patch-build.xml @@ -0,0 +1,37 @@ +--- build.xml.orig 2010-10-27 07:29:35.000000000 -0700 ++++ build.xml 2010-10-27 07:30:39.000000000 -0700 +@@ -130,7 +130,7 @@ + <!-- =================================================================== --> + <!-- Package --> + <!-- =================================================================== --> +- <target name="package" depends="jar, docs, javadocs"> ++ <target name="package" depends="jar, javadocs"> + <mkdir dir="${final.dir}"/> + + <copy todir="${final.dir}/src/java"> +@@ -209,25 +209,4 @@ + <delete dir="${build.dir}"/> + </target> + +- <!-- ================================================================== --> +- <!-- XSLT Documentation Builder --> +- <!-- ================================================================== --> +- <target name="docs" depends="jar"> +- <xslt basedir="${docs.src}" +- destdir="${docs.dest}" +- style="${jakarta-site.dir}/xdocs/stylesheets/site.xsl" +- includes="**/*.xml" +- excludes="**/stylesheets/** empty.xml"> +- <param name="sitenav-path" expression="${basedir}/xdocs/stylesheets/site.xml"/> +- </xslt> +- +- <copy todir="${docs.dest}" filtering="no"> +- <fileset dir="${docs.src}"> +- <include name="RETest.txt"/> +- </fileset> +- </copy> +- +- <copy tofile="${docs.dest}/jakarta-regexp.jar" +- file="${build.dir}/${final.name}.jar"/> +- </target> + </project> |