aboutsummaryrefslogtreecommitdiffstats
path: root/www/jetspeed/Makefile
blob: 63847070b9cae31387ccbca918af025bed54307b (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
# New ports collection makefile for:    jetspeed
# Date created:         30 July 2003
# Whom:                 francisco@gomezmarin.com
#
# $FreeBSD$
#

PORTNAME=   jetspeed
PORTVERSION=    1.5
CATEGORIES= www java
MASTER_SITES=   ${MASTER_SITE_APACHE_JAKARTA}
MASTER_SITE_SUBDIR=jetspeed/binaries
DISTNAME=   ${PORTNAME}-${PORTVERSION}-war

MAINTAINER= ports@FreeBSD.org
COMMENT=    Jetspeed is an Open Source Portal, written in Java and XML

RUN_DEPENDS=    ${LOCALBASE}/bin/ant:${PORTSDIR}/devel/apache-ant \
        ${JAKARTA_HOME}/bin/bootstrap.jar:${PORTSDIR}/www/jakarta-tomcat41

WRKSRC=     ${WRKDIR}/${DISTNAME:C/-war//}
USE_ZIP=    yes
USE_JAVA=   yes
JAVA_VERSION=   1.4

NO_BUILD=   yes

JAKARTA_HOME=   ${LOCALBASE}/jakarta-tomcat4.1

do-install:
    @${INSTALL_DATA} ${WRKSRC}/jetspeed.war ${JAKARTA_HOME}/webapps
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/* ${DOCSDIR}
.endif
post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>