4fb1cfb1cd
- svn move Templates/Licenses/AL2 Templates/Licenses/APACHE20 - add APACHE10 and APACHE11 to Mk/bsd.licenses.db.mk - add entry in UPDATING - bulk change all ports AL2 => APACHE20 - math/openfst/pkg-plist: remove share/licenses/openfst-1.3.4 PR: ports/184785 Submitted by: ohauer Reviewed by: tabthorpe Approved by: portmgr (tabthorpe@)
59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
# Created by: znerd@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xalan-j
|
|
PORTVERSION= 2.7.1
|
|
CATEGORIES= textproc java
|
|
MASTER_SITES= ${MASTER_SITE_APACHE_XML}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}/binaries
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/g}-bin
|
|
|
|
MAINTAINER= ale@FreeBSD.org
|
|
COMMENT= Apache XSLT processor for transforming XML documents
|
|
|
|
RUN_DEPENDS= ${JAVALIBDIR}/xml-apis.jar:${PORTSDIR}/textproc/xerces-j
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
USE_ZIP= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.6+
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION:S/./_/g}
|
|
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
|
|
JARFILES= xalan.jar serializer.jar
|
|
|
|
PLIST_FILES= ${JARFILES:S|^|%%JAVAJARDIR%%/|} bin/xalan-j
|
|
|
|
SUB_FILES= xalan-j.sh
|
|
|
|
NO_STAGE= yes
|
|
do-install:
|
|
@${ECHO_MSG} -n ">> Installing JAR files in ${JAVAJARDIR}..."
|
|
.for jarfile in ${JARFILES}
|
|
@${INSTALL_DATA} ${WRKSRC}/${jarfile} ${JAVAJARDIR}/
|
|
@${ECHO_MSG} -n " ${jarfile}"
|
|
.endfor
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
.if !defined(NOPORTDOCS)
|
|
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
|
|
@${MKDIR} ${DOCSDIR}
|
|
@(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \* ${DOCSDIR})
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
.endif
|
|
.if !defined(NOPORTEXAMPLES)
|
|
@${ECHO_MSG} -n ">> Installing samples in ${EXAMPLESDIR}..."
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@(cd ${WRKSRC}/samples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
.endif
|
|
@${ECHO_MSG} -n ">> Installing script in ${PREFIX}/bin/..."
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/xalan-j.sh ${PREFIX}/bin/xalan-j
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
|
|
.include <bsd.port.mk>
|