summaryrefslogtreecommitdiff
path: root/databases/java-qdbm/Makefile
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-05-06 12:58:36 +0000
committerobache <obache@pkgsrc.org>2007-05-06 12:58:36 +0000
commitd379508e906b5fb91f2251f3f41676d727c213c2 (patch)
treef58d53960670da58fa46e207bbc4e4c2159023f6 /databases/java-qdbm/Makefile
parentc7d09b8f3cf088a638a7513cd14b2e24600552bc (diff)
downloadpkgsrc-d379508e906b5fb91f2251f3f41676d727c213c2.tar.gz
Import java-qdbm version 1.0.0.1.8.75 from pkgsrc-wip.
QDBM is an embeded database library compatible with GDBM and NDBM. It features hash database and B+ tree database and is developed referring to GDBM for the purpose of the following three points: higher processing speed, smaller size of a database file, and simpler API. This package provides the Java interface of QDBM.
Diffstat (limited to 'databases/java-qdbm/Makefile')
-rw-r--r--databases/java-qdbm/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/databases/java-qdbm/Makefile b/databases/java-qdbm/Makefile
new file mode 100644
index 00000000000..09752c5331a
--- /dev/null
+++ b/databases/java-qdbm/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/05/06 12:58:36 obache Exp $
+#
+
+.include "../../databases/qdbm/Makefile.common"
+
+PKGNAME= java-qdbm-1.0.0.${QDBM_VERSION}
+CATEGORIES= databases java
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qdbm/}
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://qdbm.sourceforge.net/
+COMMENT= Java API of QDBM
+
+MY_SUBDIR= java
+BUILD_DIRS= ${MY_SUBDIR:Q}
+CONFIGURE_DIRS= ${MY_SUBDIR:Q}
+
+GNU_CONFIGURE= yes
+TEST_TARGET= check
+
+.include "../../databases/qdbm/buildlink3.mk"
+.include "../../mk/java-vm.mk"
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "none"
+SUBST_CLASSES+= pthread
+SUBST_STAGE.pthread= pre-configure
+SUBST_FILES.pthread= ${MY_SUBDIR:Q}/configure
+SUBST_SED.pthread= -e 's|-lpthread|${PTHREAD_LIBS}|'
+.endif
+.include "../../mk/bsd.pkg.mk"