aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/crimson/Makefile
blob: 9cffcc756b0fd37e64279ccf984aa64b3b6b3b5a (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
# 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

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>