diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 21:33:07 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 21:33:07 +0000 |
commit | 646843dc9eccdf02940ccdb07a83f577e8f4e996 (patch) | |
tree | 6b84b6f6d6825bb59dc51890bb287a427894c9d2 /textproc/jing | |
parent | 199505e20d0ff67aad04786894091ffe5941b4af (diff) | |
download | pkgsrc-646843dc9eccdf02940ccdb07a83f577e8f4e996.tar.gz |
user-destdir support
Diffstat (limited to 'textproc/jing')
-rw-r--r-- | textproc/jing/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/textproc/jing/Makefile b/textproc/jing/Makefile index 5069d7915e8..98b62e988cb 100644 --- a/textproc/jing/Makefile +++ b/textproc/jing/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2008/05/26 02:13:24 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2009/07/07 21:34:26 joerg Exp $ # DISTNAME= jing-20030619 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.thaiopensource.com/relaxng/trang.html COMMENT= RELAX NG validator in Java +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= pax USE_JAVA= run @@ -19,16 +21,14 @@ do-build: ${ECHO} "#!/bin/sh" > ${WRKSRC}/jing ${ECHO} "${PKG_JAVA_HOME}/bin/java -jar ${PREFIX}/libexec/jing/jing.jar"' "$$@"' >> ${WRKSRC}/jing +INSTALLATION_DIRS= bin libexec/jing/lib share/doc/jing/doc + do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/jing ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/libexec/jing - ${INSTALL_DATA} ${WRKSRC}/bin/* ${PREFIX}/libexec/jing - ${INSTALL_DATA_DIR} ${PREFIX}/libexec/jing/lib - ${INSTALL_DATA} ${WRKSRC}/lib/* ${PREFIX}/libexec/jing/lib - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jing - ${INSTALL_DATA} ${WRKSRC}/readme.html ${PREFIX}/share/doc/jing - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jing/doc - cd ${WRKSRC}/doc && pax -pp -rw * ${PREFIX}/share/doc/jing/doc + ${INSTALL_SCRIPT} ${WRKSRC}/jing ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/bin/* ${DESTDIR}${PREFIX}/libexec/jing + ${INSTALL_DATA} ${WRKSRC}/lib/* ${DESTDIR}${PREFIX}/libexec/jing/lib + ${INSTALL_DATA} ${WRKSRC}/readme.html ${DESTDIR}${PREFIX}/share/doc/jing + cd ${WRKSRC}/doc && pax -pp -rw * ${DESTDIR}${PREFIX}/share/doc/jing/doc .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" |