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
|
2004-12-29 13:39:02 +00:00
|
|
|
PORTVERSION= 20020426a
|
2008-06-06 14:17:21 +00:00
|
|
|
PORTREVISION= 2
|
2002-02-06 07:44:09 +00:00
|
|
|
CATEGORIES= textproc java
|
2004-12-29 13:39:02 +00:00
|
|
|
MASTER_SITES= http://www.blnz.com/xt/
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
EXTRACT_SUFX= .tgz
|
1999-06-24 15:23:12 +00:00
|
|
|
|
2004-12-29 13:39:02 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-22 07:48:51 +00:00
|
|
|
COMMENT= XSL Transformations (XSLT) implementation in Java
|
1999-06-24 15:23:12 +00:00
|
|
|
|
2006-07-04 12:49:26 +00:00
|
|
|
RUN_DEPENDS= ${JAVALIBDIR}/xml-apis.jar:${PORTSDIR}/textproc/xerces-j \
|
2004-12-29 13:39:02 +00:00
|
|
|
${JAVALIBDIR}/xp.jar:${PORTSDIR}/textproc/xp \
|
|
|
|
${LOCALBASE}/bin/classpath:${PORTSDIR}/java/javavmwrapper
|
|
|
|
|
|
|
|
USE_JAVA= YES
|
|
|
|
JAVA_VERSION= 1.1+
|
|
|
|
NO_BUILD= YES
|
1999-06-24 15:23:12 +00:00
|
|
|
|
2004-12-29 13:39:02 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
OTHERDOCS= copying.txt copyingjc.txt index.html
|
|
|
|
PORTDOCS= ${OTHERDOCS} api
|
|
|
|
.endif
|
|
|
|
SAMPLES= date.xsl nxml.xsl slides.xml slides.xsl sort-uniq.xml \
|
|
|
|
sort-uniq.xsl split.xml split.xsl textfile.xml textfile.xsl
|
1999-06-24 15:23:12 +00:00
|
|
|
|
2004-12-29 13:39:02 +00:00
|
|
|
do-configure:
|
|
|
|
${SED} -e 's,%%LOCALBASE%%,${LOCALBASE},g' ${FILESDIR}/xt.sh > ${WRKSRC}/xt
|
1999-06-24 15:23:12 +00:00
|
|
|
|
|
|
|
do-install:
|
2004-12-29 13:39:02 +00:00
|
|
|
@${ECHO_MSG} ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
|
|
|
|
${MKDIR} ${JAVAJARDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/xt.jar ${JAVAJARDIR}/
|
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
|
|
@${ECHO_MSG} ">> Installing scripts in ${PREFIX}/bin/..."
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/xt ${PREFIX}/bin/
|
|
|
|
cd ${PREFIX}/bin && ${LN} xt xt-xp
|
|
|
|
cd ${PREFIX}/bin && ${LN} xt xt-xml4j
|
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
|
|
@${ECHO_MSG} ">> Installing samples in ${EXAMPLESDIR}..."
|
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
cd ${WRKSRC}/demo && ${INSTALL_DATA} ${SAMPLES} ${EXAMPLESDIR}/
|
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${ECHO_MSG} ">> Installing documentation in ${DOCSDIR}..."
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/doc && ${FIND} api \
|
|
|
|
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${OTHERDOCS} ${DOCSDIR}/
|
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
|
|
.endif
|
1999-06-24 15:23:12 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|