mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
# Created by: Herve Quiroz <hq@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= myfaces
|
|
PORTVERSION= 1.1.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= www devel java
|
|
MASTER_SITES= APACHE/${PORTNAME}/binaries
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Free open source JavaServer(tm) Faces implementation
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.6+
|
|
NO_BUILD= yes
|
|
USES= cpe
|
|
CPE_VENDOR= apache
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
PORTDOCS= javadoc tlddoc LICENSE.txt NOTICE.txt
|
|
JAR_FILES= myfaces-all.jar myfaces-api.jar myfaces-impl.jar tomahawk.jar
|
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \
|
|
${JAR_FILES:S|^|%%DATADIR%%/|}
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/myfaces-all.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
.for jarfile in ${JAR_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/${jarfile} ${STAGEDIR}${DATADIR}/${jarfile}
|
|
.endfor
|
|
|
|
cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \;
|
|
cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
|
|
|
|
.include <bsd.port.mk>
|