blob: f2dbeb415194e003f305110ebca8ecacb4156966 (
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
|
# $NetBSD: Makefile,v 1.18 2008/05/26 02:13:24 joerg Exp $
#
DISTNAME= saxon
PKGNAME= saxon-6.0.2
PKGREVISION= 2
CATEGORIES= textproc www
MASTER_SITES= ${HOMEPAGE}saxon6.0.2/
EXTRACT_SUFX= .zip
MAINTAINER= jwise@NetBSD.org
HOMEPAGE= http://users.breathe.com/mhkay/saxon/
COMMENT= Michael H. Kay's Java XSLT processor
WRKSRC= ${WRKDIR}
DIST_SUBDIR= ${PKGNAME_NOREV}
USE_JAVA= run
NO_CONFIGURE= yes
NO_BUILD= yes
USE_TOOLS+= pax
post-extract:
chmod -R u+w,go-w ${WRKSRC}
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 -rw -s '/^doc/saxon/' doc ${PREFIX}/share/doc/java
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/java/saxon
cd ${WRKSRC} && pax -rw -s '/^samples/saxon/' samples ${PREFIX}/share/examples/java
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
|