blob: 34a440723d0f454961bc8afd551a75c795196fc5 (
plain) (
blame)
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
38
39
|
# 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} ${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>
|