summaryrefslogtreecommitdiff
path: root/textproc/xerces-j/Makefile
blob: 6dbaf96b030091ed9c0d9c4df75ffa427b754835 (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
36
# $NetBSD: Makefile,v 1.27 2008/05/26 02:13:24 joerg Exp $
#
# Note: we currently use the pre-built (-bin) distribution of Xerces-J,
# because although Xerces runs fine under JDK 1.1, JDK 1.2 or greater is
# required to build it.

DISTNAME=	Xerces-J-bin.1.2.0
PKGNAME=	xerces-j-1.2.0
PKGREVISION=	1
CATEGORIES=	textproc www
MASTER_SITES=	http://xerces.apache.org/dist/xerces-j/

MAINTAINER=	jwise@NetBSD.org
HOMEPAGE=	http://xerces.apache.org/xerces-j/
COMMENT=	The Apache Project's validating XML parser with DOM and SAX support

WRKSRC=		${WRKDIR}/xerces-1_2_0
USE_JAVA=	run
USE_TOOLS+=	pax
NO_CONFIGURE=	yes
NO_BUILD=	yes

post-extract:
	chmod -R u+w,go-w ${WRKSRC}

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/lib/java
	${INSTALL_DATA} ${WRKSRC}/xerces.jar ${PREFIX}/lib/java
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/java/xerces
	cd ${WRKSRC}/docs && pax -rw -pp . ${PREFIX}/share/doc/java/xerces
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/java/xerces
	${INSTALL_DATA} ${WRKSRC}/xercesSamples.jar ${PREFIX}/share/examples/java/xerces
	cd ${WRKSRC}/data && pax -rw -pp . ${PREFIX}/share/examples/java/xerces

.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"