aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/crimson/Makefile
blob: 04dcfe379d1df53f504d5aa08c6757b13c655c51 (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
# Created by: 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

NO_STAGE=   yes
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>