summaryrefslogtreecommitdiff
path: root/textproc/xalan-j/Makefile
blob: d9846edd3cc4fec01652048d7f3bc2334dcc8a81 (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
# $NetBSD: Makefile,v 1.19 2004/06/28 17:28:57 abs Exp $
#
# Note: we currently use the pre-built (-bin) distribution of Xalan-J,
# because although Xalan runs fine under JDK 1.1, JDK 1.2 or greater is
# required to build it.

DISTNAME=	xalan-j_1_2
PKGNAME=	xalan-j-1.2
CATEGORIES=	textproc www
MASTER_SITES=	http://xml.apache.org/dist/xalan-j/

MAINTAINER=	jwise@NetBSD.org
HOMEPAGE=	http://xml.apache.org/xalan-j/
COMMENT=	The Apache Project's XSLT implementation

DEPENDS+=	xerces-j>=1.2.0:../../textproc/xerces-j

WRKSRC=		${WRKDIR}
USE_JAVA=	run
USE_BUILDLINK3= YES
NO_CONFIGURE=
NO_BUILD=

do-install:
	${INSTALL_DATA} ${WRKSRC}/xalan.jar ${PREFIX}/lib/java
	${INSTALL_DATA} ${WRKSRC}/bsf.jar ${PREFIX}/lib/java
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/java/xalan
	cd ${WRKSRC}/docs && ${PAX} -rw -pp . ${PREFIX}/share/doc/java/xalan
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/java/xalan
	cd ${WRKSRC}/samples && ${PAX} -rw -pp . ${PREFIX}/share/examples/java/xalan

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