summaryrefslogtreecommitdiff
path: root/databases/qdbm-cgi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/qdbm-cgi/Makefile')
-rw-r--r--databases/qdbm-cgi/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/databases/qdbm-cgi/Makefile b/databases/qdbm-cgi/Makefile
new file mode 100644
index 00000000000..8b6cdd4b04f
--- /dev/null
+++ b/databases/qdbm-cgi/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/23 06:51:57 minskim Exp $
+#
+
+.include "../../databases/qdbm/Makefile.common"
+
+PKGNAME= qdbm-cgi-0.0.1.${QDBM_VERSION}
+CATEGORIES= databases www
+
+MAINTAINER= obata@lins.jp
+HOMEPAGE= http://qdbm.sourceforge.net/
+COMMENT= CGI scripts of QDBM
+
+MY_SUBDIR= cgi
+BUILD_DIRS= ${MY_SUBDIR}
+CONFIGURE_DIRS= ${MY_SUBDIR}
+
+GNU_CONFIGURE= yes
+
+.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"