summaryrefslogtreecommitdiffstats
path: root/java/castor/Makefile
blob: 0e30c5e60deb7b4282ac21a8e35267a19a8b2b88 (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
38
39
40
# Created by: Adam VanderHook <acidos@bandwidth-junkies.net>
# $FreeBSD$

PORTNAME=	castor
PORTVERSION=	1.3.2
CATEGORIES=	java devel
MASTER_SITES=	http://dist.codehaus.org/castor/${PORTVERSION}/
EXTRACT_SUFX=	.tgz

MAINTAINER=	crees@FreeBSD.org
COMMENT=	Data binding for XML (JAXB) and SQL database (JDO)

LICENSE=	APACHE20

USES=		cpe
USE_JAVA=	yes
JAVA_VERSION=	1.6+
NO_BUILD=	yes

PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}-anttasks.jar \
		%%JAVAJARDIR%%/${PORTNAME}-codegen.jar \
		%%JAVAJARDIR%%/${PORTNAME}-core.jar \
		%%JAVAJARDIR%%/${PORTNAME}-ddlgen.jar \
		%%JAVAJARDIR%%/${PORTNAME}-xml-schema.jar \
		%%JAVAJARDIR%%/${PORTNAME}-xml.jar \
		%%JAVAJARDIR%%/${PORTNAME}.jar

PORTDOCS=	*.html *.txt *.css *.dtd *.xsd *.pdf \
		ora-mar-2k images rss

do-install:
.for f in ${PLIST_FILES:T:R}
	${INSTALL_DATA} \
		${WRKSRC}/${f:S/tor/tor-${PORTVERSION}/}.jar \
		${STAGEDIR}${JAVAJARDIR}/${f}.jar
.endfor
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	@(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>
OpenPOWER on IntegriCloud