summaryrefslogtreecommitdiff
path: root/www/cocoon/Makefile
blob: 34ffcdda6ebb566645f5a0dd87e1d46b82f69593 (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.4
# Date created:		27 June 1999
# Whom:			Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#

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

MAINTAINER=	kuriyama@FreeBSD.org

RUN_DEPENDS=	${PREFIX}/libexec/apache/mod_jserv.so:${PORTSDIR}/www/apache-jserv
#		${PREFIX}/share/java/classes/lotusxsl.jar:${PORTSDIR}/textproc/lotusxsl
#		${PREFIX}/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.091.jar openxml.106.jar xslp.19990832.jar \
		${PREFIX}/share/java/classes)
	@(cd ${WRKSRC}; \
	 ${CP} -R [L-Rd-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>