summaryrefslogtreecommitdiff
path: root/databases/qdbm-plus/Makefile
diff options
context:
space:
mode:
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"