aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2006-09-18 12:15:54 +0800
committerijliao <ijliao@FreeBSD.org>2006-09-18 12:15:54 +0800
commitfd776441e6c91ff316cf9d81fcc5c26ebb0a6c7d (patch)
tree1bc5a898c363f41f6e2c30995a503cd5e1478e3d /databases
parent707cec9e78a833a51e8b9506af0f364d79162e23 (diff)
downloadfreebsd-ports-gnome-fd776441e6c91ff316cf9d81fcc5c26ebb0a6c7d.tar.gz
freebsd-ports-gnome-fd776441e6c91ff316cf9d81fcc5c26ebb0a6c7d.tar.zst
freebsd-ports-gnome-fd776441e6c91ff316cf9d81fcc5c26ebb0a6c7d.zip
add java-db 3.0.12
Berkeley DB Java Edition
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/java-db/Makefile54
-rw-r--r--databases/java-db/distinfo3
-rw-r--r--databases/java-db/files/patch-build.xml20
-rw-r--r--databases/java-db/pkg-descr10
5 files changed, 88 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 64996d06a639..8482dd8d1e81 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -78,6 +78,7 @@
SUBDIR += isql-viewer
SUBDIR += jakarta-commons-dbutils
SUBDIR += jasperreports
+ SUBDIR += java-db
SUBDIR += java-sqlrelay
SUBDIR += jdb
SUBDIR += jdbc-oracle8i
diff --git a/databases/java-db/Makefile b/databases/java-db/Makefile
new file mode 100644
index 000000000000..4a1de2ac7eb7
--- /dev/null
+++ b/databases/java-db/Makefile
@@ -0,0 +1,54 @@
+# ex:ts=8
+# Ports collection makefile for: Berkeley DB Java Edition
+# Date created: Sep 18, 2006
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= db
+PORTVERSION= 3.0.12
+CATEGORIES= databases java
+MASTER_SITES= http://downloads.sleepycat.com/ \
+ ftp://ftp.sleepycat.com/releases/
+PKGNAMEPREFIX= java-
+DISTNAME= je-${PORTVERSION}
+
+MAINTAINER= ijliao@FreeBSD.org
+COMMENT= Berkeley DB Java Edition
+
+BUILD_DEPENDS= ${JAVAJARDIR}/junit.jar:${PORTSDIR}/java/junit
+
+USE_JAVA= yes
+JAVA_VERSION= 1.4+
+USE_ANT= yes
+
+PLIST_FILES= ${JAVAJARDIR:S,^${PREFIX}/,,}/je.jar
+
+.if !defined(NOPORTDOCS)
+DOCSDIR= ${TARGETDIR}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+EXAMPLESDIR= ${TARGETDIR}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
+PORTDOCS= *
+.endif
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @${REINPLACE_CMD} "s,/usr/local,${TARGETDIR}," ${WRKSRC}/build.xml
+
+do-install:
+ @${INSTALL_DATA} ${WRKSRC}/lib/je.jar ${JAVAJARDIR}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
+ @${MKDIR} ${EXAMPLESDIR}
+ @${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
+
+post-install:
+ @${FIND} ${EXAMPLESDIR} ! -type d | \
+ ${SED} -e "s,^${PREFIX}/,," >> ${TMPPLIST}
+ @${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \
+ ${SED} -e "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/java-db/distinfo b/databases/java-db/distinfo
new file mode 100644
index 000000000000..eb7311b1545d
--- /dev/null
+++ b/databases/java-db/distinfo
@@ -0,0 +1,3 @@
+MD5 (je-3.0.12.tar.gz) = c7f14e543c493eb0147a5cdc86c9237a
+SHA256 (je-3.0.12.tar.gz) = d707db54511841147d5929c9b0e520694949a84186591f773774f37dbdd8aa03
+SIZE (je-3.0.12.tar.gz) = 4500551
diff --git a/databases/java-db/files/patch-build.xml b/databases/java-db/files/patch-build.xml
new file mode 100644
index 000000000000..c42747cd5417
--- /dev/null
+++ b/databases/java-db/files/patch-build.xml
@@ -0,0 +1,20 @@
+--- build.xml.bak Fri May 26 07:07:22 2006
++++ build.xml Mon Sep 18 11:41:22 2006
+@@ -1162,7 +1162,6 @@
+ value="${installdestdir}/JE.${release.major}.${release.minor}"/>
+ <mkdir dir="${installdir}"/>
+ <mkdir dir="${installdir}/docs"/>
+- <mkdir dir="${installdir}/bin"/>
+ <mkdir dir="${installdir}/lib"/>
+ <copy todir="${installdir}/docs">
+ <fileset dir="docs">
+@@ -1171,9 +1170,6 @@
+ </copy>
+ <copy todir="${installdir}/lib">
+ <fileset dir="lib"/>
+- </copy>
+- <copy todir="${installdir}/bin">
+- <fileset dir="bin"/>
+ </copy>
+ </target>
+
diff --git a/databases/java-db/pkg-descr b/databases/java-db/pkg-descr
new file mode 100644
index 000000000000..13c5b1c69b03
--- /dev/null
+++ b/databases/java-db/pkg-descr
@@ -0,0 +1,10 @@
+Berkeley DB Java Edition is a high performance, transactional storage engine
+written entirely in Java. Like the highly successful Berkeley DB product,
+Berkeley DB Java Edition executes in the address space of the application,
+without the overhead of client/server communication. It stores data in the
+application's native format, so no runtime data translation is required.
+Berkeley DB Java Edition supports full ACID transactions and recovery. It
+provides an easy-to-use, programmatic interface, allowing developers to store
+and retrieve information quickly, simply and reliably.
+
+WWW: http://www.sleepycat.com/products/bdbje.html