blob: 9d88c3b53a4e9725f9603863619d86d3c819d342 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
PORTNAME= commons-jelly
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= lang devel java
MASTER_SITES= APACHE_COMMONS_BINARIES
PKGNAMEPREFIX= apache-
MAINTAINER= ports@FreeBSD.org
COMMENT= XML based scripting engine
LICENSE= APACHE20
USE_JAVA= yes
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} ${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>
|