aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--java/castor/Makefile41
-rw-r--r--java/castor/distinfo4
2 files changed, 22 insertions, 23 deletions
diff --git a/java/castor/Makefile b/java/castor/Makefile
index 962c0c8f3982..104333eae7eb 100644
--- a/java/castor/Makefile
+++ b/java/castor/Makefile
@@ -6,43 +6,42 @@
#
PORTNAME= castor
-PORTVERSION= 1.3.1
+PORTVERSION= 1.3.2
CATEGORIES= java devel
MASTER_SITES= http://dist.codehaus.org/castor/${PORTVERSION}/
EXTRACT_SUFX= .tgz
MAINTAINER= utisoft@gmail.com
COMMENT= Data binding for XML (JAXB) and SQL database (JDO)
+
LICENSE= ASL
USE_JAVA= yes
JAVA_VERSION= 1.4+
NO_BUILD= yes
-JARSUFXS= -anttasks.jar \
- -codegen.jar \
- -core.jar \
- -ddlgen.jar \
- -jdo.jar \
- -xml-schema.jar \
- -xml.jar \
- .jar
-
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}-anttasks.jar \
- %%JAVAJARDIR%%/${PORTNAME}-codegen.jar \
- %%JAVAJARDIR%%/${PORTNAME}-core.jar \
- %%JAVAJARDIR%%/${PORTNAME}-ddlgen.jar \
- %%JAVAJARDIR%%/${PORTNAME}-jdo.jar \
- %%JAVAJARDIR%%/${PORTNAME}-xml-schema.jar \
- %%JAVAJARDIR%%/${PORTNAME}-xml.jar \
- %%JAVAJARDIR%%/${PORTNAME}.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 ${JARSUFXS}
- @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}${f}..."
- @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}${f} \
- ${JAVAJARDIR}/${PORTNAME}${f}
+.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
@${ECHO_MSG} " [ DONE ]"
.endfor
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
+.endif
.include <bsd.port.mk>
diff --git a/java/castor/distinfo b/java/castor/distinfo
index 4659346b75ae..b1b88b083c50 100644
--- a/java/castor/distinfo
+++ b/java/castor/distinfo
@@ -1,2 +1,2 @@
-SHA256 (castor-1.3.1.tgz) = 639ff895e0294f2111c57d2f2241d06a5fbcc774dd714fc933d36e651922f1b2
-SIZE (castor-1.3.1.tgz) = 4257528
+SHA256 (castor-1.3.2.tgz) = cd0f47ebeab36685d91981a5013fe4406d120c069332b67a3cc0fa9c9b128fa0
+SIZE (castor-1.3.2.tgz) = 3713132