diff options
Diffstat (limited to 'textproc/xt/Makefile')
-rw-r--r-- | textproc/xt/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/textproc/xt/Makefile b/textproc/xt/Makefile index dbf899ad0de..a7d6fccd1a0 100644 --- a/textproc/xt/Makefile +++ b/textproc/xt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2006/09/19 21:13:12 joerg Exp $ +# $NetBSD: Makefile,v 1.20 2008/06/12 02:14:52 joerg Exp $ # DISTNAME= xt @@ -12,6 +12,8 @@ MAINTAINER= jwise@NetBSD.org HOMEPAGE= http://www.jclark.com/xml/ COMMENT= James Clark's Java implementation of XSLT +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= XP-[0-9]*:../../textproc/xp EXTRACT_ONLY= # empty @@ -20,18 +22,17 @@ USE_TOOLS+= unzip pax NO_CONFIGURE= yes NO_BUILD= yes +INSTALLATION_DIRS= lib/java share/doc/java/xt share/examples/java/xt + post-extract: cd ${WRKDIR} && unzip -x ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/lib/java - ${INSTALL_DATA} ${WRKDIR}/xt.jar ${PREFIX}/lib/java - ${INSTALL_DATA} -c ${WRKDIR}/sax.jar ${PREFIX}/lib/java - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/java/xt - ${INSTALL_DATA} -c ${WRKDIR}/copying.txt ${PREFIX}/share/doc/java/xt - ${INSTALL_DATA} -c ${WRKDIR}/xt.htm ${PREFIX}/share/doc/java/xt - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/java/xt - cd ${WRKDIR}/demo && pax -rw -pp . ${PREFIX}/share/examples/java/xt + ${INSTALL_DATA} ${WRKDIR}/xt.jar ${DESTDIR}${PREFIX}/lib/java + ${INSTALL_DATA} -c ${WRKDIR}/sax.jar ${DESTDIR}${PREFIX}/lib/java + ${INSTALL_DATA} -c ${WRKDIR}/copying.txt ${DESTDIR}${PREFIX}/share/doc/java/xt + ${INSTALL_DATA} -c ${WRKDIR}/xt.htm ${DESTDIR}${PREFIX}/share/doc/java/xt + cd ${WRKDIR}/demo && pax -rw -pp . ${DESTDIR}${PREFIX}/share/examples/java/xt .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" |