1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Fix build with new ant

PR:		ports/152733
Submitted by:	Rob Farmer <rfarmer@predatorlabs.net>
This commit is contained in:
Pav Lucistnik 2010-12-01 22:46:51 +00:00
parent 0d794241b6
commit 71d5c684fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265529
2 changed files with 38 additions and 1 deletions

View File

@ -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

View File

@ -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>