summaryrefslogtreecommitdiff
path: root/databases/qdbm-plus/Makefile
diff options
context:
space:
mode:
authorminskim <minskim>2005-11-23 06:57:45 +0000
committerminskim <minskim>2005-11-23 06:57:45 +0000
commiteb9bd3038b62b80abd68489709cabd1b3c6c207f (patch)
tree5c37d7b33f0a90f9d4c4a179c881845ea425cae3 /databases/qdbm-plus/Makefile
parent0a925892be65c289fdf5d6d815ce6b76066d1f68 (diff)
downloadpkgsrc-eb9bd3038b62b80abd68489709cabd1b3c6c207f.tar.gz
Import qdbm-plus from pkgsrc-wip. Packaged by OBATA Akio.
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 C++ interface of QDBM.
Diffstat (limited to 'databases/qdbm-plus/Makefile')
-rw-r--r--databases/qdbm-plus/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/databases/qdbm-plus/Makefile b/databases/qdbm-plus/Makefile
new file mode 100644
index 00000000000..cfec9ca8c29
--- /dev/null
+++ b/databases/qdbm-plus/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/23 06:57:45 minskim Exp $
+#
+
+.include "../../databases/qdbm/Makefile.common"
+
+PKGNAME= qdbm-plus-1.0.0.${QDBM_VERSION}
+CATEGORIES= databases devel
+
+MAINTAINER= obata@lins.jp
+HOMEPAGE= http://qdbm.sourceforge.net/
+COMMENT= C++ API for QDBM
+
+MY_SUBDIR= plus
+BUILD_DIRS= ${MY_SUBDIR}
+CONFIGURE_DIRS= ${MY_SUBDIR}
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES+= c++
+TEST_TARGET= check
+
+.include "../../databases/qdbm/buildlink3.mk"
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "none"
+SUBST_CLASSES+= pthread
+SUBST_STAGE.pthread= pre-configure
+SUBST_FILES.pthread= ${MY_SUBDIR}/configure
+SUBST_SED.pthread= -e 's|-lpthread|${PTHREAD_LIBS}|'
+.endif
+.include "../../mk/bsd.pkg.mk"