1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/java/jakarta-struts/Makefile
Gerald Pfeifer 15570723c5 Move to version 1.2.9, the final in the 1.2 series.
Support staging.

Struts is now an Apache project, adjust the package name and comment
accordingly to honor their branding guidelines.

PR:		183127
Submitted by:	pfg
2014-03-15 10:28:08 +00:00

29 lines
674 B
Makefile

# Created by: Anton Yudin <toha@toha.org.ua>
# $FreeBSD$
PORTNAME= struts
PORTVERSION= 1.2.9
CATEGORIES= java devel
MASTER_SITES= ${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR=struts/binaries
PKGNAMEPREFIX= apache-
DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
MAINTAINER= ports@FreeBSD.org
COMMENT= Apache Struts framework
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= YES
USES= zip
JAVASHAREDIR= share/java
TDIR= ${JAVASHAREDIR}/${PKGNAME}
PLIST_SUB+= T=${TDIR}
do-install:
cd ${WRKSRC} && ${FIND} . -type d -exec ${INSTALL} -d ${STAGEDIR}${PREFIX}/${TDIR}/'{}' \; && \
${FIND} . -type f -exec ${INSTALL_DATA} '{}' ${STAGEDIR}${PREFIX}/${TDIR}/'{}' \;
.include <bsd.port.mk>