2012-12-10 13:43:43 +00:00
|
|
|
# Created by: znerd@FreeBSD.org
|
2001-03-16 03:48:25 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xalan-j
|
2016-04-19 16:01:06 +00:00
|
|
|
PORTVERSION= 2.7.2
|
2004-01-22 17:59:27 +00:00
|
|
|
CATEGORIES= textproc java
|
2016-06-06 15:25:42 +00:00
|
|
|
MASTER_SITES= APACHE/xalan/xalan-j/binaries
|
2010-12-15 10:08:00 +00:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/g}-bin
|
2001-03-16 03:48:25 +00:00
|
|
|
|
2010-12-15 10:08:00 +00:00
|
|
|
MAINTAINER= ale@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Apache XSLT processor for transforming XML documents
|
2001-03-16 03:48:25 +00:00
|
|
|
|
2014-05-13 12:39:17 +00:00
|
|
|
LICENSE= APACHE20
|
|
|
|
|
2016-04-01 14:25:16 +00:00
|
|
|
RUN_DEPENDS= ${JAVALIBDIR}/xml-apis.jar:textproc/xerces-j
|
2005-05-24 18:21:04 +00:00
|
|
|
|
2014-05-13 12:39:17 +00:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2010-12-15 10:08:00 +00:00
|
|
|
|
2016-04-19 16:01:06 +00:00
|
|
|
USES= cpe
|
2015-04-14 09:51:46 +00:00
|
|
|
CPE_PRODUCT= xalan-java
|
|
|
|
CPE_VENDOR= apache
|
2004-08-17 13:49:27 +00:00
|
|
|
USE_JAVA= yes
|
2012-12-10 13:43:43 +00:00
|
|
|
JAVA_VERSION= 1.6+
|
2010-12-15 10:08:00 +00:00
|
|
|
NO_BUILD= yes
|
2001-03-16 03:48:25 +00:00
|
|
|
|
2002-10-18 21:25:45 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION:S/./_/g}
|
2010-12-15 10:08:00 +00:00
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
|
2005-11-24 18:33:51 +00:00
|
|
|
JARFILES= xalan.jar serializer.jar
|
2010-12-15 10:08:00 +00:00
|
|
|
|
2005-11-24 18:33:51 +00:00
|
|
|
PLIST_FILES= ${JARFILES:S|^|%%JAVAJARDIR%%/|} bin/xalan-j
|
2002-10-18 21:25:45 +00:00
|
|
|
|
2005-05-24 18:21:04 +00:00
|
|
|
SUB_FILES= xalan-j.sh
|
|
|
|
|
2014-05-13 12:39:17 +00:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2001-03-16 03:48:25 +00:00
|
|
|
do-install:
|
2005-11-24 18:33:51 +00:00
|
|
|
@${ECHO_MSG} -n ">> Installing JAR files in ${JAVAJARDIR}..."
|
|
|
|
.for jarfile in ${JARFILES}
|
2014-05-13 12:39:17 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${jarfile} ${STAGEDIR}${JAVAJARDIR}/
|
2005-11-24 18:33:51 +00:00
|
|
|
@${ECHO_MSG} -n " ${jarfile}"
|
|
|
|
.endfor
|
2004-08-17 13:49:27 +00:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2014-05-13 12:39:17 +00:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2004-08-17 13:49:27 +00:00
|
|
|
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
|
2014-05-13 12:39:17 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
@(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
|
2010-12-15 10:08:00 +00:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
|
|
.endif
|
2014-05-13 12:39:17 +00:00
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
2010-12-15 10:08:00 +00:00
|
|
|
@${ECHO_MSG} -n ">> Installing samples in ${EXAMPLESDIR}..."
|
2014-05-13 12:39:17 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
@(cd ${WRKSRC}/samples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
|
2004-08-17 13:49:27 +00:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2002-05-06 12:07:07 +00:00
|
|
|
.endif
|
2004-08-17 13:49:27 +00:00
|
|
|
@${ECHO_MSG} -n ">> Installing script in ${PREFIX}/bin/..."
|
2014-05-13 12:39:17 +00:00
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/xalan-j.sh ${STAGEDIR}${PREFIX}/bin/xalan-j
|
2004-08-17 13:49:27 +00:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2001-03-16 03:48:25 +00:00
|
|
|
|
2010-12-15 10:08:00 +00:00
|
|
|
.include <bsd.port.mk>
|