aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/fop
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-04-22 21:26:26 +0800
committermiwi <miwi@FreeBSD.org>2007-04-22 21:26:26 +0800
commitb0ff92e9349eddd42dce46b64fb739e7d1979e25 (patch)
tree6dc5d08e5cd1ab0788a036a57e5f9f10ef0e725f /textproc/fop
parent588d2862916937f6fb1cff961c6195a99821a628 (diff)
downloadfreebsd-ports-gnome-b0ff92e9349eddd42dce46b64fb739e7d1979e25.tar.gz
freebsd-ports-gnome-b0ff92e9349eddd42dce46b64fb739e7d1979e25.tar.zst
freebsd-ports-gnome-b0ff92e9349eddd42dce46b64fb739e7d1979e25.zip
- Fix build
Submitted by: pointyhat
Diffstat (limited to 'textproc/fop')
-rw-r--r--textproc/fop/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/fop/Makefile b/textproc/fop/Makefile
index 1ae6616f47a9..4f3ce1e29dfc 100644
--- a/textproc/fop/Makefile
+++ b/textproc/fop/Makefile
@@ -19,6 +19,8 @@ EXTRACT_ONLY= ${DISTNAME}.tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= Print formatter driven by XSL formatting
+EXTRACT_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip
+
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
USE_JAVA= yes
@@ -26,8 +28,8 @@ JAVA_VERSION= 1.2+
USE_ANT= yes
post-extract:
- cd ${WRKDIR} && unzip ${DISTDIR}/offo-hyphenation.zip
- cp ${WRKDIR}/offo-hyphenation/hyph/*.xml ${WRKSRC}/hyph
+ cd ${WRKDIR} && ${UNZIP_CMD} ${DISTDIR}/offo-hyphenation.zip
+ ${CP} ${WRKDIR}/offo-hyphenation/hyph/*.xml ${WRKSRC}/hyph
do-install:
${MKDIR} ${DATADIR}