freebsd-ports/textproc/xerces/Makefile
Kevin Lo 7a3f640625 Update to version 1.4.2
PR: 29685
Submitted by: Christopher Elkins <chrise@scardini.com>
2001-08-17 15:09:56 +00:00

36 lines
960 B
Makefile

# New ports collection makefile for: Xerces
# Date created: 2000/08/12
# Whom: Marcin Cieslak
#
# $FreeBSD$
#
PORTNAME= xerces
PORTVERSION= 1.4.2
CATEGORIES= textproc
MASTER_SITES= http://xml.apache.org/dist/xerces-j/
DISTNAME= Xerces-J-bin.${PORTVERSION}
MAINTAINER= kevlo@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/bin/javavm:${PORTSDIR}/java/javavmwrapper
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/./_/g}
NO_BUILD= yes
PLIST_SUB= PORTVERSION="${PORTVERSION}"
.include <bsd.port.pre.mk>
do-install:
@cd ${WRKSRC}; \
${MKDIR} ${PREFIX}/share/java/classes/; \
${INSTALL_DATA} ${WRKSRC}/xerces.jar ${WRKSRC}/xercesSamples.jar ${PREFIX}/share/java/classes/; \
${MKDIR} ${PREFIX}/share/java/${PKGNAME}/; \
${CP} LICENSE ${PREFIX}/share/java/${PKGNAME}/; \
${CP} -R docs ${PREFIX}/share/java/${PKGNAME}/; \
${CP} -R data ${PREFIX}/share/java/${PKGNAME}/; \
${CP} -R samples ${PREFIX}/share/java/${PKGNAME}/
.include <bsd.port.post.mk>