aboutsummaryrefslogtreecommitdiffstats
path: root/java/jakarta-struts/Makefile
blob: a1d20487237464b8df40daf33549ab8343427dff (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
# New ports collection makefile for:    Struts framework
# Date created:     Thu Jun 26 15:50:28 EEST 2003
# Whom:         Anton Yudin <toha@toha.org.ua>
#
# $FreeBSD$
#

PORTNAME=   jakarta-struts
PORTVERSION=    1.2.4
CATEGORIES= java devel
MASTER_SITES=   ${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR=struts/binaries
DIST_SUBDIR=    jakarta

MAINTAINER= toha@toha.org.ua
COMMENT=    Struts framework

USE_JAVA=   yes
JAVA_VERSION=   1.3+
NO_BUILD=   YES
USE_ZIP=    YES

JAVASHAREDIR=   share/java
TDIR=       ${JAVASHAREDIR}/${PKGNAME}
PLIST_SUB+= T=${TDIR}

do-install:
    cd ${WRKSRC} && ${FIND} . -type d -exec ${INSTALL} -d ${PREFIX}/${TDIR}/'{}' \; && \
    ${FIND} . -type f -exec ${INSTALL_DATA} '{}' ${PREFIX}/${TDIR}/'{}' \;

.include <bsd.port.mk>