1999-06-24 15:23:12 +00:00
|
|
|
# New ports collection makefile for: XT
|
1999-07-20 15:10:51 +00:00
|
|
|
# Version required: 19990708
|
1999-06-24 15:23:12 +00:00
|
|
|
# Date created: 23 June 1999
|
|
|
|
# Whom: Jun Kuriyama <kuriyama@FreeBSD.ORG>
|
|
|
|
#
|
1999-07-20 15:10:51 +00:00
|
|
|
# $Id: Makefile,v 1.2 1999/06/28 19:29:20 billf Exp $
|
1999-06-24 15:23:12 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= xt
|
1999-07-20 15:10:51 +00:00
|
|
|
PKGNAME= xt-19990708
|
1999-06-24 15:23:12 +00:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ftp://ftp.jclark.com/pub/xml/
|
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
|
|
|
MAINTAINER= kuriyama@FreeBSD.ORG
|
|
|
|
|
|
|
|
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
|
1999-06-28 19:29:20 +00:00
|
|
|
RUN_DEPENDS= ${PREFIX}/${JAVASUBDIR}/bin/java:${PORTSDIR}/java/jdk
|
1999-06-24 15:23:12 +00:00
|
|
|
|
|
|
|
EXTRACT_CMD= unzip
|
|
|
|
EXTRACT_BEFORE_ARGS= -a -q -L
|
|
|
|
EXTRACT_AFTER_ARGS= # empty
|
|
|
|
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>
|