diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 20:36:32 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 20:36:32 +0000 |
commit | 4257c29c52a53c4c22e222f38fca1943b0d974c0 (patch) | |
tree | 544fec94a9d4bae8594430b66defb978e640bc27 /textproc | |
parent | 26b794a3a956d5e7a2bf34018293fb85e153d96e (diff) | |
download | pkgsrc-4257c29c52a53c4c22e222f38fca1943b0d974c0.tar.gz |
user-destdir support
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/trang/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/textproc/trang/Makefile b/textproc/trang/Makefile index a6766082324..2fd3c4307bc 100644 --- a/textproc/trang/Makefile +++ b/textproc/trang/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2006/08/06 17:37:52 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2009/07/07 20:36:32 joerg Exp $ # DISTNAME= trang-20030619 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.thaiopensource.com/relaxng/trang.html COMMENT= Multi-format schema converter based on RELAX NG +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= jing-[0-9]*:../../textproc/jing USE_JAVA= run @@ -19,13 +21,13 @@ do-build: ${ECHO} "#!/bin/sh" > ${WRKSRC}/trang ${ECHO} "${PKG_JAVA_HOME}/bin/java -jar ${PREFIX}/libexec/trang/trang.jar"' "$$@"' >> ${WRKSRC}/trang +INSTALLATION_DIRS= bin libexec/trang share/doc/trang + do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/trang ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/libexec/trang - ${INSTALL_DATA} ${WRKSRC}/trang.jar ${PREFIX}/libexec/trang - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/trang - ${INSTALL_DATA} ${WRKSRC}/copying.txt ${PREFIX}/share/doc/trang - ${INSTALL_DATA} ${WRKSRC}/trang-manual.html ${PREFIX}/share/doc/trang + ${INSTALL_SCRIPT} ${WRKSRC}/trang ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/trang.jar ${DESTDIR}${PREFIX}/libexec/trang + ${INSTALL_DATA} ${WRKSRC}/copying.txt ${DESTDIR}${PREFIX}/share/doc/trang + ${INSTALL_DATA} ${WRKSRC}/trang-manual.html ${DESTDIR}${PREFIX}/share/doc/trang .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" |