aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/saxon/Makefile
blob: 228ed3b55c67a83515c1a516571d0aff78a42a72 (plain) (blame)
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
37
# New ports collection makefile for:   saxon
# Date created:                30 January 2002
# Whom:                        Kimura Fuyuki <fuyuki@mj.0038.net>
#
# $FreeBSD$
#

PORTNAME=   saxon
PORTVERSION=    6.5.1
CATEGORIES= textproc java
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= saxon
DISTNAME=   ${PORTNAME}${PORTVERSION:S/./_/g}

MAINTAINER= fuyuki@mj.0038.net

RUN_DEPENDS=    javavm:${PORTSDIR}/java/javavmwrapper

USE_ZIP=    yes
NO_WRKSUBDIR=   yes
NO_BUILD=   yes

JAVALIBDIR= ${PREFIX}/share/java/classes

do-install:
    ${MKDIR} ${JAVALIBDIR}
    ${INSTALL_DATA} ${WRKSRC}/*.jar ${JAVALIBDIR}

post-install:
    ${MKDIR} ${EXAMPLESDIR}
    ${CP} -R ${WRKSRC}/samples/* ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}
.endif

.include <bsd.port.mk>