summaryrefslogtreecommitdiff
path: root/java/berkeley-db/Makefile
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2005-02-05 00:26:57 +0000
committerMikhail Teterin <mi@FreeBSD.org>2005-02-05 00:26:57 +0000
commit2d7f0ec7c5dfa7819a0ac1eb1cad9c94e8d8381c (patch)
treeedaa68e9575fb8f350ef79c32f2cd581a5b05fa4 /java/berkeley-db/Makefile
parent-Update to 7.54u2 (7.54.20050131), this is mostly security fixes release. (diff)
This is a port of 'JE', or Berkeley DB Java Edition -- a pure Java
implementation of "db". See: http://www.sleepycat.com/products/je.shtml for more information.
Diffstat (limited to 'java/berkeley-db/Makefile')
-rw-r--r--java/berkeley-db/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/java/berkeley-db/Makefile b/java/berkeley-db/Makefile
new file mode 100644
index 000000000000..15b66ac0a097
--- /dev/null
+++ b/java/berkeley-db/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: Berkeley DB Java
+# Date created: Feb 2, 2005
+# Whom: Mikhail Teterin
+#
+# $FreeBSD$
+#
+
+PORTNAME= je
+PORTVERSION= 1.7.0
+CATEGORIES= java databases
+MASTER_SITES= http://downloads.sleepycat.com/ \
+ ftp://ftp.sleepycat.com/releases/
+
+MAINTAINER= mi@aldan.algebra.com
+COMMENT= Berkeley DB Java Edition
+
+BUILD_DEPENDS= ${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit
+
+EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude '*.jar' --exclude ${DISTNAME}/docs/
+USE_JAVA= yes
+USE_ANT= yes
+MAKE_ARGS+= -verbose
+MAKE_ENV+= JAVALIBDIR="${JAVALIBDIR}"
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/build/lib/je.jar ${JAVAJARDIR}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${TAR} -C ${DOCSDIR} -zxpf ${_DISTDIR}/${_DISTFILES} ${DISTNAME}/docs
+ ${MV} ${DOCSDIR}/${DISTNAME}/docs/* ${DOCSDIR}
+ ${RM} -rf ${DOCSDIR}/${DISTNAME}
+.endif
+
+.include <bsd.port.mk>