summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/py-notify/DESCR1
-rw-r--r--sysutils/py-notify/Makefile25
-rw-r--r--sysutils/py-notify/PLIST8
-rw-r--r--sysutils/py-notify/buildlink3.mk23
-rw-r--r--sysutils/py-notify/distinfo5
5 files changed, 62 insertions, 0 deletions
diff --git a/sysutils/py-notify/DESCR b/sysutils/py-notify/DESCR
new file mode 100644
index 00000000000..41584108e78
--- /dev/null
+++ b/sysutils/py-notify/DESCR
@@ -0,0 +1 @@
+This package contains Python bindings for libnotify.
diff --git a/sysutils/py-notify/Makefile b/sysutils/py-notify/Makefile
new file mode 100644
index 00000000000..e05cf366947
--- /dev/null
+++ b/sysutils/py-notify/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/01/10 10:40:52 drochner Exp $
+#
+
+DISTNAME= notify-python-0.1.1
+PKGNAME= ${PYPKGPREFIX}-notify-0.1.1
+CATEGORIES= sysutils
+MASTER_SITES= \
+ http://www.galago-project.org/files/releases/source/notify-python/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.galago-project.org/
+COMMENT= Python bindings for libnotify
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+
+PKGCONFIG_OVERRIDE+= notify-python-0.1.1/notify-python.pc.in
+PY_PATCHPLIST= yes
+
+.include "../../lang/python/extension.mk"
+.include "../../x11/py-gtk2/buildlink3.mk"
+.include "../../sysutils/libnotify/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/py-notify/PLIST b/sysutils/py-notify/PLIST
new file mode 100644
index 00000000000..5a67e34c137
--- /dev/null
+++ b/sysutils/py-notify/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/01/10 10:40:52 drochner Exp $
+lib/pkgconfig/notify-python.pc
+${PYSITELIB}/gtk-2.0/pynotify/__init__.py
+${PYSITELIB}/gtk-2.0/pynotify/__init__.pyc
+${PYSITELIB}/gtk-2.0/pynotify/__init__.pyo
+${PYSITELIB}/gtk-2.0/pynotify/_pynotify.la
+share/pygtk/2.0/defs/pynotify.defs
+@dirrm ${PYSITELIB}/gtk-2.0/pynotify
diff --git a/sysutils/py-notify/buildlink3.mk b/sysutils/py-notify/buildlink3.mk
new file mode 100644
index 00000000000..fc5e240e363
--- /dev/null
+++ b/sysutils/py-notify/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/01/10 10:40:52 drochner Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY_NOTIFY_BUILDLINK3_MK:= ${PY_NOTIFY_BUILDLINK3_MK}+
+
+.include "../../lang/python/pyversion.mk"
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= py-notify
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-notify}
+BUILDLINK_PACKAGES+= py-notify
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-notify
+
+.if ${PY_NOTIFY_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.py-notify+= ${PYPKGPREFIX}-notify>=0.1.1
+BUILDLINK_PKGSRCDIR.py-notify?= ../../sysutils/py-notify
+.endif # PY_NOTIFY_BUILDLINK3_MK
+
+.include "../../x11/py-gtk2/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/sysutils/py-notify/distinfo b/sysutils/py-notify/distinfo
new file mode 100644
index 00000000000..7183c3bdb82
--- /dev/null
+++ b/sysutils/py-notify/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/01/10 10:40:52 drochner Exp $
+
+SHA1 (notify-python-0.1.1.tar.bz2) = 490693cf601793f50cef1a3c82ba75025497fc00
+RMD160 (notify-python-0.1.1.tar.bz2) = 52f5b5cc7c01be32525db7a2edc0f3dee41911ef
+Size (notify-python-0.1.1.tar.bz2) = 214514 bytes