aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/crimson/Makefile
blob: 3859f3825ee16b6d95f803a991e3bed41e26446e (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
38
39
40
41
42
43
# New ports collection makefile for:    crimson
# Date created:     2000-03-21
# Whom:         Palle Girgensohn
#
# $FreeBSD$
#

PORTNAME=   crimson
PORTVERSION=    1.1.3
PORTREVISION=   1
CATEGORIES= textproc java
MASTER_SITES=   http://xml.apache.org/dist/crimson/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-bin

MAINTAINER= girgen@partitur.se
COMMENT=    Implements the Java API for XML Processing (JAXP)

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

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

NO_BUILD=   yes

JAVAVM?=    ${LOCALBASE}/bin/javavm

DOCSDIR=    ${PREFIX}/share/doc/java/${PORTNAME}
READMES=    README.html ChangeLog

do-install:
    @ ${MKDIR} ${PREFIX}/share/java/classes; \
      cd ${INSTALL_WRKSRC}; \
      ${INSTALL_DATA} crimson.jar ${PREFIX}/share/java/classes
.if !defined(NOPORTDOCS)
    @ ${MKDIR} ${DOCSDIR}; \
      cd ${INSTALL_WRKSRC}; \
      ${INSTALL_DATA} ${READMES} ${DOCSDIR}; \
      ${PAX} -rw docs examples ${DOCSDIR}
.endif

post-install:
    @ ${SED} "s|/usr/local|${PREFIX}|g" ${PKGMESSAGE}

.include <bsd.port.mk>