Tokyo Cabinet is a library of routines for managing a database. The database is a simple data file containing records, each is a pair of a key and a value. Every key and value is serial bytes with variable length. Both binary data and character string can be used as a key and a value. There is neither concept of data tables nor data types. Records are organized in hash table, B+ tree, or fixed-length array. This package provides Java binding of Tokyo Cabinet.
39 lines
1 KiB
Makefile
39 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2009/05/24 12:40:31 obache Exp $
|
|
#
|
|
|
|
DISTNAME= tokyocabinet-java-1.19
|
|
PKGNAME= java-${DISTNAME:S/-java//}
|
|
CATEGORIES= databases
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tokyocabinet/}
|
|
|
|
MAINTAINER= obache@NetBSD.org
|
|
HOMEPAGE= http://tokyocabinet.sourceforge.net/javadoc/
|
|
COMMENT= Java binding of Tokyo Cabinet
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LANGUAGES= c
|
|
|
|
TEST_TARGET= check
|
|
|
|
INSTALLATION_DIRS+= share/tokyocabinet/doc/java
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/doc/index.html \
|
|
${DESTDIR}${PREFIX}/share/tokyocabinet/doc/java/index.html
|
|
|
|
BUILDLINK_API_DEPENDS.tokyocabinet+= tokyocabinet>=1.4.21
|
|
.include "../../databases/tokyocabinet/buildlink3.mk"
|
|
.include "../../mk/java-vm.mk"
|
|
PTHREAD_AUTO_VARS= yes
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "none"
|
|
SUBST_CLASSES+= pthread
|
|
SUBST_STAGE.pthread= pre-configure
|
|
SUBST_FILES.pthread= configure
|
|
SUBST_SED.pthread= -e 's|-lpthread|${PTHREAD_LIBS}|'
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|