summaryrefslogtreecommitdiff
path: root/security/libpreludedb-python/Makefile
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-10-02 10:04:48 +0000
committerhasso <hasso@pkgsrc.org>2009-10-02 10:04:48 +0000
commit32c472c2ecdddcfbc1870ee14326fa8794cd0856 (patch)
tree829563bdd6415f5e816140e1218ea40eadc7e72d /security/libpreludedb-python/Makefile
parent12df552f6682d4fc7b55c2b30c2442ec1dad6d8f (diff)
downloadpkgsrc-32c472c2ecdddcfbc1870ee14326fa8794cd0856.tar.gz
Add python bindings for LibPreludeDB libraries. Approved by agc@.
Diffstat (limited to 'security/libpreludedb-python/Makefile')
-rw-r--r--security/libpreludedb-python/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/security/libpreludedb-python/Makefile b/security/libpreludedb-python/Makefile
new file mode 100644
index 00000000000..83b08a7e162
--- /dev/null
+++ b/security/libpreludedb-python/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/10/02 10:04:48 hasso Exp $
+#
+
+.include "../../security/libpreludedb/Makefile.common"
+.include "../../mk/bsd.prefs.mk"
+
+PATCHDIR= ${.CURDIR}/../libpreludedb/patches
+PKGNAME= libpreludedb-python-${VERSION}
+COMMENT= Python bindings for LibPreludeDB libraries
+
+CONFIGURE_ARGS+= --with-perl=no
+CONFIGURE_ARGS+= --with-mysql=no
+CONFIGURE_ARGS+= --with-postgresql=no
+CONFIGURE_ARGS+= --with-sqlite3=no
+
+CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
+PYBINMODULE= yes
+PY_PATCHPLIST= yes
+BUILD_DIRS= bindings
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../security/libpreludedb/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"