blob: ba88aa2976566477617111a3f303231cfd465b6f (
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
|
# Created by: Herve Quiroz <hq@FreeBSD.org>
# $FreeBSD$
PORTNAME= xom
PORTVERSION= 1.2.10
PORTEPOCH= 1
CATEGORIES= textproc java
MASTER_SITES= http://www.cafeconleche.org/XOM/
MAINTAINER= danilo@FreeBSD.org
COMMENT= Open source (LGPL), tree-based API for processing XML with Java
RUN_DEPENDS= ${JAVALIBDIR}/xml-apis.jar:textproc/xerces-j \
${JAVALIBDIR}/xalan.jar:textproc/xalan-j
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/XOM
OPTIONS_DEFINE= DOCS
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
PORTDOCS= overview.html apidocs
PORTEXAMPLES= xom-samples.jar
do-install:
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/xom-samples.jar ${STAGEDIR}${EXAMPLESDIR}/
@${MKDIR} ${STAGEDIR}${DOCSDIR}/apidocs
cd ${WRKSRC}/ && ${FIND} ${PORTDOCS} \
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} > /dev/null 2>&1
.include <bsd.port.mk>
|