summaryrefslogtreecommitdiff
path: root/devel/py-kqueue/Makefile
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2002-11-24 09:30:24 +0000
committerjdolecek <jdolecek>2002-11-24 09:30:24 +0000
commit2ebae401d132fb1d1df1ad67d400d69663ef90f9 (patch)
treebdaa13ba00d2ba57e57863d951d5e0a6fe7b5a02 /devel/py-kqueue/Makefile
parentc7935fb5854d2af13a084382c53a40a36ce52740 (diff)
downloadpkgsrc-2ebae401d132fb1d1df1ad67d400d69663ef90f9.tar.gz
Initial import of py-kqueue version 2.0 into the Packages Collection.
py-kqueue is Python glue for kqueue(2)/kevent(2) event interface on BSD systems. kqueue() provides a generic method of notifying the user when an event happens or a condition holds, based on the results of small pieces of kernel code termed filters. A kevent is identified by the (ident, filter) pair; there may only be one unique kevent per kqueue.
Diffstat (limited to 'devel/py-kqueue/Makefile')
-rw-r--r--devel/py-kqueue/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/py-kqueue/Makefile b/devel/py-kqueue/Makefile
new file mode 100644
index 00000000000..a4de1e45c6b
--- /dev/null
+++ b/devel/py-kqueue/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/11/24 09:30:24 jdolecek Exp $
+
+DISTNAME= py-kqueue-2.0
+PKGNAME= ${PYPKGPREFIX}-kqueue-2.0
+CATEGORIES= devel
+MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jdolecek/
+
+MAINTAINER= jdolecek@netbsd.org
+COMMENT= Python interface to kqueue(2) and kevent(2) system calls
+
+PYDISTUTILSPKG= # defined
+
+# need to get definition of PKG_HAVE_KQUEUE
+.include "../../mk/bsd.prefs.mk"
+
+.if !defined(PKG_HAVE_KQUEUE)
+IGNORE+= "${PKGNAME} is not available for ${MACHINE_PLATFORM}, needs OS support for kqueue(2)"
+.endif
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"