diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 20:47:53 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 20:47:53 +0000 |
commit | 28a58474659453afa081986a60cde6e332cb1994 (patch) | |
tree | 3d46f9b222a49a6a529b50b61d4f12539371074d /textproc/saxon | |
parent | 2f9605a4ce87eceb05b600b734eca4b8e79f7218 (diff) | |
download | pkgsrc-28a58474659453afa081986a60cde6e332cb1994.tar.gz |
user-destdir support
Diffstat (limited to 'textproc/saxon')
-rw-r--r-- | textproc/saxon/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/textproc/saxon/Makefile b/textproc/saxon/Makefile index f2dbeb41519..2cc03e9cab3 100644 --- a/textproc/saxon/Makefile +++ b/textproc/saxon/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2008/05/26 02:13:24 joerg Exp $ +# $NetBSD: Makefile,v 1.19 2009/07/07 20:47:53 joerg Exp $ # DISTNAME= saxon @@ -12,6 +12,8 @@ MAINTAINER= jwise@NetBSD.org HOMEPAGE= http://users.breathe.com/mhkay/saxon/ COMMENT= Michael H. Kay's Java XSLT processor +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} DIST_SUBDIR= ${PKGNAME_NOREV} USE_JAVA= run @@ -23,13 +25,12 @@ USE_TOOLS+= pax post-extract: chmod -R u+w,go-w ${WRKSRC} +INSTALLATION_DIRS= lib/java share/doc/java share/examples/java/saxon + do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/lib/java - ${INSTALL_DATA} ${WRKSRC}/saxon.jar ${PREFIX}/lib/java - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/java - cd ${WRKSRC} && pax -rw -s '/^doc/saxon/' doc ${PREFIX}/share/doc/java - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/java/saxon - cd ${WRKSRC} && pax -rw -s '/^samples/saxon/' samples ${PREFIX}/share/examples/java + ${INSTALL_DATA} ${WRKSRC}/saxon.jar ${DESTDIR}${PREFIX}/lib/java + cd ${WRKSRC} && pax -rw -s '/^doc/saxon/' doc ${DESTDIR}${PREFIX}/share/doc/java + cd ${WRKSRC} && pax -rw -s '/^samples/saxon/' samples ${DESTDIR}${PREFIX}/share/examples/java .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" |