aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2005-05-15 01:05:49 +0800
committerhq <hq@FreeBSD.org>2005-05-15 01:05:49 +0800
commit5215eeb2c791ad7bcfb09cb7ef3404ed36b8d3af (patch)
tree6856ba69a3519cf1a2b3ec657d622d032f9d6f56
parentd28a8fab5096b358deb8b9c0319e766501365dba (diff)
downloadfreebsd-ports-gnome-5215eeb2c791ad7bcfb09cb7ef3404ed36b8d3af.tar.gz
freebsd-ports-gnome-5215eeb2c791ad7bcfb09cb7ef3404ed36b8d3af.tar.zst
freebsd-ports-gnome-5215eeb2c791ad7bcfb09cb7ef3404ed36b8d3af.zip
Castor is a data binding framework for Java. It's the shortest path
between Java objects, XML documents, and relational tables. Castor provides Java-to-XML binding, Java-to-SQL persistence, and more. WWW: http://www.castor.org/ PR: 80942 Submitted by: Adam VanderHook <acidos@bandwidth-junkies.net>
-rw-r--r--java/Makefile1
-rw-r--r--java/castor/Makefile37
-rw-r--r--java/castor/distinfo2
-rw-r--r--java/castor/pkg-descr5
4 files changed, 45 insertions, 0 deletions
diff --git a/java/Makefile b/java/Makefile
index 74da3fa2f33e..e567901ef7c8 100644
--- a/java/Makefile
+++ b/java/Makefile
@@ -10,6 +10,7 @@
SUBDIR += bsh
SUBDIR += bugseeker
SUBDIR += bugseeker-demo
+ SUBDIR += castor
SUBDIR += classpath
SUBDIR += collections
SUBDIR += cos
diff --git a/java/castor/Makefile b/java/castor/Makefile
new file mode 100644
index 000000000000..afd6e7167f64
--- /dev/null
+++ b/java/castor/Makefile
@@ -0,0 +1,37 @@
+# Ports collection makefile for: Castor
+# Date created: 2005/05/12
+# Whom: Adam VanderHook <acidos@bandwidth-junkies.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= castor
+PORTVERSION= 0.9.6
+CATEGORIES= java devel
+MASTER_SITES= http://dist.codehaus.org/castor/${PORTVERSION}/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= acidos@bandwidth-junkies.net
+COMMENT= Data binding for XML (JAXB) and SQL database (JDO)
+
+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}
+
+do-install:
+ @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
+ @${INSTALL_DATA} ${WRKSRC}/dist/${JAVALIBNAME}.jar ${JAVAJARDIR}/${JARFILE}
+ @${ECHO_MSG} " [ DONE ]"
+
+.include <bsd.port.mk>
diff --git a/java/castor/distinfo b/java/castor/distinfo
new file mode 100644
index 000000000000..f1ab99a1e7fc
--- /dev/null
+++ b/java/castor/distinfo
@@ -0,0 +1,2 @@
+MD5 (castor-0.9.6-src.tgz) = 3ec1b9623f04b86f157738bd3f10a847
+SIZE (castor-0.9.6-src.tgz) = 5937173
diff --git a/java/castor/pkg-descr b/java/castor/pkg-descr
new file mode 100644
index 000000000000..db27d215f9b3
--- /dev/null
+++ b/java/castor/pkg-descr
@@ -0,0 +1,5 @@
+Castor is a data binding framework for Java. It's the shortest path
+between Java objects, XML documents, and relational tables. Castor
+provides Java-to-XML binding, Java-to-SQL persistence, and more.
+
+WWW: http://www.castor.org/