mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
15570723c5
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
29 lines
674 B
Makefile
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>
|