1999-06-24 11:23:12 -04:00
|
|
|
# New ports collection makefile for: XT
|
1999-11-10 09:34:30 -05:00
|
|
|
# Version required: 19991105
|
1999-06-24 11:23:12 -04:00
|
|
|
# Date created: 23 June 1999
|
1999-08-31 02:53:31 -04:00
|
|
|
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
|
1999-06-24 11:23:12 -04:00
|
|
|
#
|
1999-08-30 22:11:56 -04:00
|
|
|
# $FreeBSD$
|
1999-06-24 11:23:12 -04:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= xt
|
1999-11-10 09:34:30 -05:00
|
|
|
PKGNAME= xt-19991105
|
1999-06-24 11:23:12 -04:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ftp://ftp.jclark.com/pub/xml/
|
|
|
|
|
1999-08-31 02:53:31 -04:00
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
1999-06-24 11:23:12 -04:00
|
|
|
|
1999-06-28 15:29:20 -04:00
|
|
|
RUN_DEPENDS= ${PREFIX}/${JAVASUBDIR}/bin/java:${PORTSDIR}/java/jdk
|
1999-06-24 11:23:12 -04:00
|
|
|
|
1999-11-10 09:34:30 -05:00
|
|
|
USE_ZIP= YES
|
1999-06-24 11:23:12 -04:00
|
|
|
NO_WRKSUBDIR= YES
|
|
|
|
PLIST_SUB= JAVASUBDIR=${JAVASUBDIR}
|
|
|
|
|
|
|
|
JAVASUBDIR= jdk1.1.8
|
|
|
|
DIR= ${PREFIX}/share/java
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
${SED} -e s,%%PREFIX%%,${PREFIX},g ${FILESDIR}/xt-xml4j.sh > ${WRKSRC}/xt-xml4j
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${DIR}/classes ${DIR}/xt
|
|
|
|
(cd ${WRKSRC};\
|
|
|
|
${INSTALL_DATA} xt.jar sax.jar ${DIR}/classes; \
|
|
|
|
${CP} -R copying.txt demo xt.htm ${DIR}/xt; \
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/xt-xml4j ${PREFIX}/bin)
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|