1999-06-24 15:23:12 +00:00
|
|
|
# New ports collection makefile for: XT
|
|
|
|
# Date created: 23 June 1999
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
|
1999-06-24 15:23:12 +00:00
|
|
|
#
|
1999-08-31 02:11:56 +00:00
|
|
|
# $FreeBSD$
|
1999-06-24 15:23:12 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 21:54:47 +00:00
|
|
|
PORTNAME= xt
|
|
|
|
PORTVERSION= 19991105
|
1999-06-24 15:23:12 +00:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ftp://ftp.jclark.com/pub/xml/
|
2000-04-09 21:54:47 +00:00
|
|
|
DISTNAME= ${PORTNAME}
|
1999-06-24 15:23:12 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
1999-06-24 15:23:12 +00:00
|
|
|
|
2000-03-21 07:45:29 +00:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/${JAVASUBDIR}/bin/java:${PORTSDIR}/java/jdk
|
1999-06-24 15:23:12 +00:00
|
|
|
|
1999-11-10 14:34:30 +00:00
|
|
|
USE_ZIP= YES
|
1999-06-24 15:23:12 +00: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>
|