78923c9392
via the following APIs: * Java API for XML Processing (JAXP) 1.1 minus the javax.xml.transform package. * SAX 2.0 * SAX2 Extensions version 1.0 * DOM Level 2 Core Recommendation PR: 24291 Submitted by: Palle Girgensohn <girgen@partitur.se>
56 lines
1.3 KiB
Makefile
56 lines
1.3 KiB
Makefile
# New ports collection makefile for: crimson
|
|
# Date created: 2000-03-21
|
|
# Whom: Palle Girgensohn
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= crimson
|
|
PORTVERSION= 1.1
|
|
CATEGORIES= textproc java
|
|
MASTER_SITES= http://xml.apache.org/dist/crimson/
|
|
|
|
MAINTAINER= girgen@partitur.se
|
|
|
|
RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper
|
|
|
|
USE_ZIP= YES
|
|
NO_BUILD= yes
|
|
RESTRICTED= "uncertain about the license of jaxp.jar"
|
|
|
|
JAVAVM?= ${LOCALBASE}/bin/javavm
|
|
|
|
FIND?= /usr/bin/find
|
|
|
|
JARS= jaxp.jar crimson.jar
|
|
READMES= README.txt
|
|
CRIMSON_SUBDIR= ${DISTNAME}
|
|
PORTDESTDIR= ${PREFIX}/share/java/${CRIMSON_SUBDIR}
|
|
PLIST_SUB= CRIMSON_SUBDIR=${CRIMSON_SUBDIR}
|
|
|
|
post-extract:
|
|
cd ${WRKDIR}; \
|
|
${FIND} ${DISTNAME} -type d -exec ${CHMOD} +x \{} \;
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/share/java/classes
|
|
cd ${INSTALL_WRKSRC}; \
|
|
${INSTALL_DATA} ${JARS} ${PREFIX}/share/java/classes
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PORTDESTDIR}
|
|
cd ${INSTALL_WRKSRC}; \
|
|
${INSTALL_DATA} ${READMES} ${PORTDESTDIR}; \
|
|
pax -rw docs examples ${PORTDESTDIR}
|
|
.endif
|
|
|
|
post-install:
|
|
.if defined(NOPORTDOCS)
|
|
cd ${INSTALL_WRKSRC}; \
|
|
${CP} ${TMPPLIST} ${TMPPLIST}.nodoc ; \
|
|
${GREP} -v share/java/${CRIMSON_SUBDIR} ${TMPPLIST}.nodoc > ${TMPPLIST}; \
|
|
${RM} ${TMPPLIST}.nodoc
|
|
.endif
|
|
@ ${SED} "s|%%PREFIX%%|${PREFIX}|g" ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|