d9fa9197ce
what GDBM is for other languages: a fast, simple persistence engine. You can use it to store a mix of objects and BLOBs, and all updates are done in a transactionally safe manner. JDBM also provides scalable data structures, such as HTree and B+Tree, to support persistence of large object collections. JDBM2 provides HashMap and TreeMap which are backed by disk storage. It is very easy and fast way to persist your data. JDBM2 also have minimal hardware requirements and is highly embeddable. WWW: http://code.google.com/p/jdbm2/
41 lines
847 B
Makefile
41 lines
847 B
Makefile
# Ports collection makefile for: jdbm2
|
|
# Date created: 25 Feb 2011
|
|
# Whom: Alex Dupre <ale@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jdbm
|
|
PORTVERSION= 2.0
|
|
CATEGORIES= databases java
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
|
|
MAINTAINER= ale@FreeBSD.org
|
|
COMMENT= A fast, simple and transactional Java persistence engine
|
|
|
|
USE_ZIP= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.5+
|
|
NO_BUILD= yes
|
|
|
|
PROJECTHOST= jdbm2
|
|
LATEST_LINK= jdbm2
|
|
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
|
|
|
|
do-install:
|
|
@${INSTALL_DATA} ${WRKSRC}/lib/${DISTNAME}.jar \
|
|
${JAVAJARDIR}/${PORTNAME}.jar
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR})
|
|
.endif
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|