aboutsummaryrefslogtreecommitdiff
path: root/textproc/fop/Makefile
diff options
context:
space:
mode:
authorKiriyama Kazuhiko <kiri@FreeBSD.org>2002-04-03 12:39:45 +0000
committerKiriyama Kazuhiko <kiri@FreeBSD.org>2002-04-03 12:39:45 +0000
commitea5a3a30b3b5a1fff1234135b2bb7e6036ca5eac (patch)
tree92f99ef279ff56ced5f583d06e9297c5a266e87f /textproc/fop/Makefile
parentce0c1dce99e3d8b5f216068100e7a3292f237739 (diff)
downloadports-ea5a3a30b3b5a1fff1234135b2bb7e6036ca5eac.tar.gz
ports-ea5a3a30b3b5a1fff1234135b2bb7e6036ca5eac.zip
Notes
Diffstat (limited to 'textproc/fop/Makefile')
-rw-r--r--textproc/fop/Makefile23
1 files changed, 10 insertions, 13 deletions
diff --git a/textproc/fop/Makefile b/textproc/fop/Makefile
index 3ea1f39797d3..f951c7c342c5 100644
--- a/textproc/fop/Makefile
+++ b/textproc/fop/Makefile
@@ -6,17 +6,18 @@
#
PORTNAME= fop
-PORTVERSION= 0.17.0
+PORTVERSION= 0.20.3
CATEGORIES= textproc java
-MASTER_SITES= http://xml.apache.org/dist/fop/recent/
-DISTNAME= ${PORTNAME:S/fop/Fop/}-${PORTVERSION}
+MASTER_SITES= http://xml.apache.org/dist/fop/ \
+ http://xml.apache.org/dist/fop/recent/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= kiri@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/jdk${JDKVERSION}/bin/java:${PORTSDIR}/java/jdk \
${LOCALBASE}/share/java/classes/xerces.jar:${PORTSDIR}/textproc/xerces-j
-WRKSRC= ${WRKDIR}/xml-fop
+WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
NO_BUILD= yes
PLIST_SUB= PORTVERSION="${PORTVERSION}"
@@ -24,21 +25,17 @@ JDKVERSION= 1.1.8
JAVACLASSDIR= ${PREFIX}/share/java/classes
JAVADATADIR= ${PREFIX}/share/java/${PKGNAME}
-do-extract:
- ${MKDIR} ${WRKSRC}
- ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DISTFILES} \
- ${EXTRACT_AFTER_ARGS} -C ${WRKSRC}
-
pre-install:
${MKDIR} ${JAVACLASSDIR} ${JAVADATADIR}
find ${WRKSRC} \( -name \*.orig -o -name \*~ -o -name CVS \) -exec ${RM} -rf \{} \;
do-install:
- ${INSTALL_DATA} ${WRKSRC}/fop.jar ${JAVACLASSDIR}
- ${INSTALL_DATA} ${WRKSRC}/lib/w3c.jar ${JAVACLASSDIR}/svg-w3c.jar
cd ${WRKSRC}; \
- ${INSTALL_DATA} LICENSE README STATUS build.xml ${JAVADATADIR}; \
- ${INSTALL_SCRIPT} build.sh ${JAVADATADIR}; \
+ ${INSTALL_DATA} build/fop.jar lib/batik.jar lib/stylebook.jar \
+ ${JAVACLASSDIR}; \
+ ${INSTALL_DATA} CHANGES LICENSE README ReleaseNotes.html \
+ STATUS build.xml buildtools.xml ${JAVADATADIR}; \
+ ${INSTALL_SCRIPT} build.sh fop.sh ${JAVADATADIR}; \
${CP} -R conf docs hyph javadocs lib src ${JAVADATADIR}
.include <bsd.port.mk>