aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/cocoon/Makefile
blob: 8af7d86d4e37c011994611b14e53e1708ce8ad68 (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:    Coccon
# Version required: 1.5
# Date created:     27 June 1999
# Whom:         Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#

DISTNAME=   Cocoon_1.5
PKGNAME=    cocoon-1.5
CATEGORIES= textproc www java
MASTER_SITES=   http://java.apache.org/cocoon/dist/
EXTRACT_SUFX=   .jar

MAINTAINER= kuriyama@FreeBSD.org

RUN_DEPENDS=    ${LOCALBASE}/libexec/apache/mod_jserv.so:${PORTSDIR}/www/apache-jserv
#       ${LOCALBASE}/share/java/classes/lotusxsl.jar:${PORTSDIR}/textproc/lotusxsl
#       ${LOCALBASE}/share/java/classes/xml4j.jar:${PORTSDIR}/textproc/xml4j

EXTRACT_CMD=    ${PREFIX}/${JAVASUBDIR}/bin/jar
EXTRACT_BEFORE_ARGS=    xf
EXTRACT_AFTER_ARGS=
NO_WRKSUBDIR=   YES
NO_BUILD=   YES

JAVASUBDIR= jdk1.1.8

do-install:
    @${MKDIR} ${PREFIX}/share/java/classes ${PREFIX}/share/java/cocoon
    @(cd ${WRKSRC}/bin; \
      ${INSTALL_DATA} Cocoon.jar fop.0110.jar openxml.106-fix.jar xslp.19991017-fix.jar \
        ${PREFIX}/share/java/classes)
    @(cd ${WRKSRC}; \
     ${CP} -R [LRd-i]* ${PREFIX}/share/java/cocoon)
    @${INSTALL_DATA} ${WRKSRC}/bin/cocoon.properties \
        ${PREFIX}/etc/apache/cocoon.properties.default

post-install:
    @${CAT} ${PKGDIR}/MESSAGE

.include <bsd.port.mk>