diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 20:25:27 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 20:25:27 +0000 |
commit | 99b23421ba6766aec8d6395e46736b7b19c2d009 (patch) | |
tree | ac335c0ebabcd57ee27d323f97e1f7bfa7d54d6a /textproc/xerces-j | |
parent | aeb2d168e47ed0ee66a89960498014672ab4a148 (diff) | |
download | pkgsrc-99b23421ba6766aec8d6395e46736b7b19c2d009.tar.gz |
user-destdir support
Diffstat (limited to 'textproc/xerces-j')
-rw-r--r-- | textproc/xerces-j/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/textproc/xerces-j/Makefile b/textproc/xerces-j/Makefile index 6dbaf96b030..6fd78552c80 100644 --- a/textproc/xerces-j/Makefile +++ b/textproc/xerces-j/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2008/05/26 02:13:24 joerg Exp $ +# $NetBSD: Makefile,v 1.28 2009/07/07 20:29:41 joerg Exp $ # # Note: we currently use the pre-built (-bin) distribution of Xerces-J, # because although Xerces runs fine under JDK 1.1, JDK 1.2 or greater is @@ -14,6 +14,8 @@ MAINTAINER= jwise@NetBSD.org HOMEPAGE= http://xerces.apache.org/xerces-j/ COMMENT= The Apache Project's validating XML parser with DOM and SAX support +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/xerces-1_2_0 USE_JAVA= run USE_TOOLS+= pax @@ -23,14 +25,13 @@ NO_BUILD= yes post-extract: chmod -R u+w,go-w ${WRKSRC} +INSTALLATION_DIRS= lib/java share/doc/java/xerces share/examples/java/xerces + do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/lib/java - ${INSTALL_DATA} ${WRKSRC}/xerces.jar ${PREFIX}/lib/java - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/java/xerces - cd ${WRKSRC}/docs && pax -rw -pp . ${PREFIX}/share/doc/java/xerces - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/java/xerces - ${INSTALL_DATA} ${WRKSRC}/xercesSamples.jar ${PREFIX}/share/examples/java/xerces - cd ${WRKSRC}/data && pax -rw -pp . ${PREFIX}/share/examples/java/xerces + ${INSTALL_DATA} ${WRKSRC}/xerces.jar ${DESTDIR}${PREFIX}/lib/java + cd ${WRKSRC}/docs && pax -rw -pp . ${DESTDIR}${PREFIX}/share/doc/java/xerces + ${INSTALL_DATA} ${WRKSRC}/xercesSamples.jar ${DESTDIR}${PREFIX}/share/examples/java/xerces + cd ${WRKSRC}/data && pax -rw -pp . ${DESTDIR}${PREFIX}/share/examples/java/xerces .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" |