summaryrefslogtreecommitdiffstats
path: root/textproc/xerces/Makefile
blob: 51453a94198f0382d0d7a039c74107f316fa4317 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    Xerces
# Date created:		2000/08/12
# Whom:			Marcin Cieslak
#
# $FreeBSD$
#

PORTNAME=	xerces
PORTVERSION=	1.1.3
CATEGORIES=	textproc
MASTER_SITES=	http://xml.apache.org/dist/xerces-j/
DISTNAME=	Xerces-J-bin.${PORTVERSION}

MAINTAINER=	saper@system.pl

RUN_DEPENDS=	${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S/./_/g}
JDK_VERSION=	1.1.8
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}/

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud