summaryrefslogtreecommitdiff
path: root/textproc/saxon/Makefile
blob: 707ce73a50a470bcb79494c770f243e29231b74a (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
# $NetBSD: Makefile,v 1.3 2001/09/09 20:36:50 agc Exp $
#

DISTNAME=	saxon
PKGNAME=	saxon-6.0.2
CATEGORIES=	textproc www
MASTER_SITES=	${HOMEPAGE}saxon6.0.2/
EXTRACT_SUFX=	.zip

MAINTAINER=	jwise@netbsd.org
HOMEPAGE=	http://users.iclway.co.uk/mhkay/saxon/
COMMENT=	Michael H. Kay's Java XSLT processor

DIST_SUBDIR=	${PKGNAME}
USE_JAVA=	yes
NO_PATCH=
NO_CONFIGURE=
NO_BUILD=
WRKSRC=		${WRKDIR}

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/lib/java
	${INSTALL_DATA} ${WRKSRC}/saxon.jar ${PREFIX}/lib/java
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/java
	(cd ${WRKSRC} && ${PAX} -r -w -s '/^doc/saxon/' doc ${PREFIX}/share/doc/java)
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/java/saxon
	(cd ${WRKSRC} && ${PAX} -r -w -s '/^samples/saxon/' samples ${PREFIX}/share/examples/java)

.include "../../mk/bsd.pkg.mk"