# Created by: Anton Yudin # $FreeBSD: head/java/jakarta-struts/Makefile 386097 2015-05-11 18:34:57Z mat $ PORTNAME= struts PORTVERSION= 1.2.9 CATEGORIES= java devel MASTER_SITES= APACHE/${PORTNAME}/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= cpe zip CPE_VENDOR= apache 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