freebsd-ports/java/jakarta-struts/Makefile
Mathieu Arnold 88bfe4bd43 Cleanup DIST* variables.
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup

With hat:	portmgr
Sponsored by:	Absolight
2015-05-11 18:34:57 +00:00

28 lines
668 B
Makefile

# Created by: Anton Yudin <toha@toha.org.ua>
# $FreeBSD$
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 <bsd.port.mk>