2012-12-10 13:18:28 +00:00
|
|
|
# Created by: Adam VanderHook <acidos@bandwidth-junkies.net>
|
2005-05-14 17:05:49 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= castor
|
2011-04-23 13:55:15 +00:00
|
|
|
PORTVERSION= 1.3.2
|
2005-05-14 17:05:49 +00:00
|
|
|
CATEGORIES= java devel
|
|
|
|
MASTER_SITES= http://dist.codehaus.org/castor/${PORTVERSION}/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2011-06-17 06:46:07 +00:00
|
|
|
MAINTAINER= crees@FreeBSD.org
|
2005-05-14 17:05:49 +00:00
|
|
|
COMMENT= Data binding for XML (JAXB) and SQL database (JDO)
|
2011-04-23 13:55:15 +00:00
|
|
|
|
2012-01-09 15:41:08 +00:00
|
|
|
LICENSE= AL2
|
2005-05-14 17:05:49 +00:00
|
|
|
|
|
|
|
USE_JAVA= yes
|
2012-12-10 13:18:28 +00:00
|
|
|
JAVA_VERSION= 1.6+
|
2010-07-01 21:13:01 +00:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}-anttasks.jar \
|
2011-04-23 13:55:15 +00:00
|
|
|
%%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
|
2005-05-14 17:05:49 +00:00
|
|
|
|
|
|
|
do-install:
|
2011-04-23 13:55:15 +00:00
|
|
|
.for f in ${PLIST_FILES:T:R}
|
|
|
|
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${f}.jar..."
|
|
|
|
@${INSTALL_DATA} \
|
|
|
|
${WRKSRC}/${f:S/tor/tor-${PORTVERSION}/}.jar \
|
|
|
|
${JAVAJARDIR}/${f}.jar
|
2005-05-14 17:05:49 +00:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2010-07-01 21:13:01 +00:00
|
|
|
.endfor
|
2011-04-23 13:55:15 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
|
|
|
|
.endif
|
2005-05-14 17:05:49 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|