diff options
author | joerg <joerg> | 2009-07-07 22:08:13 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-07-07 22:08:13 +0000 |
commit | bcff726d97f713b50e8c4fe01858447ab4f1a668 (patch) | |
tree | 5f3aab15d9cf113389666fafdc4b74fa87f0382f /textproc/fop | |
parent | faa3a98638b6ddbc467d13f41cc0bdf30daff886 (diff) | |
download | pkgsrc-bcff726d97f713b50e8c4fe01858447ab4f1a668.tar.gz |
user-destdir support
Diffstat (limited to 'textproc/fop')
-rw-r--r-- | textproc/fop/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/textproc/fop/Makefile b/textproc/fop/Makefile index b3e4371a615..85ae1b1e514 100644 --- a/textproc/fop/Makefile +++ b/textproc/fop/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2008/05/25 21:42:22 joerg Exp $ +# $NetBSD: Makefile,v 1.29 2009/07/07 22:08:46 joerg Exp $ # # Note: we currently use the pre-built (-bin) distribution of FOP, # because although FOP runs fine under JDK 1.1, JDK 1.2 or greater is @@ -21,6 +21,8 @@ MAINTAINER= jwise@NetBSD.org HOMEPAGE= http://xmlgraphics.apache.org/fop/ COMMENT= The Apache Project's XSL Formatting Objects implementation +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} USE_JAVA= run USE_TOOLS+= pax @@ -39,9 +41,9 @@ post-extract: cd ${WRKSRC} && chmod -R go-w . do-install: - ${INSTALL_DATA} ${WRKSRC}/build/fop.jar ${PREFIX}/lib/java/fop.jar - ${INSTALL_DATA} ${WRKSRC}/lib/w3c.jar ${PREFIX}/lib/java/fop-w3c.jar - cd ${WRKSRC}/docs && pax -rw . ${PREFIX}/share/doc/java/fop + ${INSTALL_DATA} ${WRKSRC}/build/fop.jar ${DESTDIR}${PREFIX}/lib/java/fop.jar + ${INSTALL_DATA} ${WRKSRC}/lib/w3c.jar ${DESTDIR}${PREFIX}/lib/java/fop-w3c.jar + cd ${WRKSRC}/docs && pax -rw . ${DESTDIR}${PREFIX}/share/doc/java/fop .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" |