mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
ea68d712e1
Submitted by: dirk
38 lines
940 B
Makefile
38 lines
940 B
Makefile
# New ports collection makefile for: XT
|
|
# Date created: 23 June 1999
|
|
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xt
|
|
PORTVERSION= 19991105
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ftp://ftp.jclark.com/pub/xml/
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/${JAVASUBDIR}/bin/java:${PORTSDIR}/java/jdk
|
|
|
|
USE_ZIP= YES
|
|
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
|
|
${SED} -e s,%%PREFIX%%,${PREFIX},g ${FILESDIR}/xt-xp.sh > ${WRKSRC}/xt-xp
|
|
|
|
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; \
|
|
${INSTALL_SCRIPT} ${WRKSRC}/xt-xp ${PREFIX}/bin)
|
|
|
|
.include <bsd.port.mk>
|