aboutsummaryrefslogtreecommitdiffstats
path: root/java/castor
diff options
context:
space:
mode:
authorstefan <stefan@FreeBSD.org>2010-07-02 05:13:01 +0800
committerstefan <stefan@FreeBSD.org>2010-07-02 05:13:01 +0800
commit973fa110ee5d863e9f407d6f290e9b3921fcd249 (patch)
tree4ba3c2b9ca05c6304ef0b2a44b52cc18cdaa8f1d /java/castor
parent928800f8a470539e708d966f51f5b8dadfb39e35 (diff)
downloadfreebsd-ports-gnome-973fa110ee5d863e9f407d6f290e9b3921fcd249.tar.gz
freebsd-ports-gnome-973fa110ee5d863e9f407d6f290e9b3921fcd249.tar.zst
freebsd-ports-gnome-973fa110ee5d863e9f407d6f290e9b3921fcd249.zip
- Update to 1.3.1.
- Transfer maintainership to submitter. PR: 148131 Submitted by: Chris Rees <utisoft@gmail.com> Approved by: (former) maintainer Feature safe: yes
Diffstat (limited to 'java/castor')
-rw-r--r--java/castor/Makefile46
-rw-r--r--java/castor/distinfo6
2 files changed, 31 insertions, 21 deletions
diff --git a/java/castor/Makefile b/java/castor/Makefile
index 6a5876562d36..962c0c8f3982 100644
--- a/java/castor/Makefile
+++ b/java/castor/Makefile
@@ -1,4 +1,4 @@
-# Ports collection makefile for: Castor
+# Ports collection Makefile for: Castor
# Date created: 2005/05/12
# Whom: Adam VanderHook <acidos@bandwidth-junkies.net>
#
@@ -6,33 +6,43 @@
#
PORTNAME= castor
-PORTVERSION= 1.1
-PORTREVISION= 2
+PORTVERSION= 1.3.1
CATEGORIES= java devel
MASTER_SITES= http://dist.codehaus.org/castor/${PORTVERSION}/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-src
EXTRACT_SUFX= .tgz
-MAINTAINER= acidos@bandwidth-junkies.net
+MAINTAINER= utisoft@gmail.com
COMMENT= Data binding for XML (JAXB) and SQL database (JDO)
+LICENSE= ASL
USE_JAVA= yes
JAVA_VERSION= 1.4+
-USE_ANT= yes
-USE_JIKES= no
-
-ALL_TARGET= jar
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-BUILD_WRKSRC= ${WRKSRC}/src
-
-JAVALIBNAME= ${PORTNAME}-${PORTVERSION}
-JARFILE= ${PORTNAME}.jar
-PLIST_FILES= %%JAVAJARDIR%%/${JARFILE}
+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
do-install:
- @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
- @${INSTALL_DATA} ${WRKSRC}/dist/${JAVALIBNAME}.jar ${JAVAJARDIR}/${JARFILE}
+.for f in ${JARSUFXS}
+ @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}${f}..."
+ @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}${f} \
+ ${JAVAJARDIR}/${PORTNAME}${f}
@${ECHO_MSG} " [ DONE ]"
+.endfor
.include <bsd.port.mk>
diff --git a/java/castor/distinfo b/java/castor/distinfo
index f856cd9bab42..a1dca2ec5ecb 100644
--- a/java/castor/distinfo
+++ b/java/castor/distinfo
@@ -1,3 +1,3 @@
-MD5 (castor-1.1-src.tgz) = 71fdf22433aeefa9ca9956446ae101be
-SHA256 (castor-1.1-src.tgz) = ee9695b3fdc3c2a2471caa40ed962e3ddb170529cc1196d9a34fd8602681cddb
-SIZE (castor-1.1-src.tgz) = 8813761
+MD5 (castor-1.3.1.tgz) = 67febd219e11c8aa6233bc1633b36f16
+SHA256 (castor-1.3.1.tgz) = 639ff895e0294f2111c57d2f2241d06a5fbcc774dd714fc933d36e651922f1b2
+SIZE (castor-1.3.1.tgz) = 4257528