5edd4c2589
WARN: xt/Makefile:18: NO_CONFIGURE should be set to YES or yes. WARN: xt/Makefile:19: NO_BUILD should be set to YES or yes.
35 lines
1 KiB
Makefile
35 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.17 2005/10/23 23:31:48 rillig Exp $
|
|
#
|
|
|
|
DISTNAME= xt
|
|
PKGNAME= XT-19991105
|
|
CATEGORIES= textproc www
|
|
MASTER_SITES= ftp://ftp.jclark.com/pub/xml/
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= jwise@NetBSD.org
|
|
HOMEPAGE= http://www.jclark.com/xml/
|
|
COMMENT= James Clark's Java implementation of XSLT
|
|
|
|
DEPENDS+= XP-[0-9]*:../../textproc/xp
|
|
|
|
EXTRACT_ONLY= # empty
|
|
USE_JAVA= run
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
|
|
post-extract:
|
|
cd ${WRKDIR} && ${LOCALBASE}/bin/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
|
|
|
|
.include "../../mk/java-vm.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|