db6ca15ea1
PR: 27266 Submitted by: znard
35 lines
957 B
Makefile
35 lines
957 B
Makefile
# New ports collection makefile for: Xerces
|
|
# Date created: 2000/08/12
|
|
# Whom: Marcin Cieslak
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xerces-j
|
|
PORTVERSION= 1.4.4
|
|
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}/xerces-${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>
|