88bfe4bd43
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
39 lines
926 B
Makefile
39 lines
926 B
Makefile
# Created by: Herve Quiroz <hq@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= commons-jelly
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= lang devel java
|
|
MASTER_SITES= APACHE_COMMONS_BINARIES
|
|
PKGNAMEPREFIX= jakarta-
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= XML based scripting engine
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.6+
|
|
NO_BUILD= yes
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
READMES= LICENSE.txt NOTICE.txt README.txt RELEASE-NOTES.txt
|
|
|
|
SUB_FILES= jelly.sh
|
|
PLIST_FILES= bin/jelly
|
|
PLIST_DIRS= %%DATADIR%%/custom
|
|
PORTDOCS= *
|
|
PORTDATA= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-extract:
|
|
${RM} -f ${WRKSRC}/bin/jelly.bat ${WRKSRC}/bin/jelly
|
|
|
|
do-install:
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} "custom lib bin" \
|
|
${STAGEDIR}${DATADIR})
|
|
${INSTALL_SCRIPT} ${WRKDIR}/jelly.sh ${STAGEDIR}${PREFIX}/bin/jelly
|
|
(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
${INSTALL_DATA} ${READMES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|