summaryrefslogtreecommitdiffstats
path: root/net/py-avahi
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-05-06 23:04:39 +0000
committermarcus <marcus@FreeBSD.org>2006-05-06 23:04:39 +0000
commit13abaefbc14a27f5bfd560608198579c374e4d8e (patch)
tree9cef8e447cc3db98388f88edbad7993044ee6f89 /net/py-avahi
parent0c3c8074d6572ead373578b01f96e9bd4fa6ffe3 (diff)
downloadFreeBSD-ports-13abaefbc14a27f5bfd560608198579c374e4d8e.zip
FreeBSD-ports-13abaefbc14a27f5bfd560608198579c374e4d8e.tar.gz
Add py-avahi, the Python bindings to the Avahi mDNS service discovery
system (aka Bonjour, Zeroconf, Rendezvous).
Diffstat (limited to 'net/py-avahi')
-rw-r--r--net/py-avahi/Makefile60
-rw-r--r--net/py-avahi/pkg-descr3
-rw-r--r--net/py-avahi/pkg-plist14
3 files changed, 77 insertions, 0 deletions
diff --git a/net/py-avahi/Makefile b/net/py-avahi/Makefile
new file mode 100644
index 0000000..0d9f215
--- /dev/null
+++ b/net/py-avahi/Makefile
@@ -0,0 +1,60 @@
+# New ports collection makefile for: py-avahi
+# Date Created: 06 May 2006
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTREVISION= 0
+CATEGORIES= net gnome python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Python interface to the Avahi mDNS system
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/gdbm.so:${PORTSDIR}/databases/py-gdbm \
+ ${PYTHON_SITELIBDIR}/dbus.pth:${PORTSDIR}/devel/py-dbus
+LIB_DEPENDS= avahi-client.3:${PORTSDIR}/net/avahi
+RUN_DEPENDS= ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/gdbm.so:${PORTSDIR}/databases/py-gdbm \
+ ${PYTHON_SITELIBDIR}/dbus.pth:${PORTSDIR}/devel/py-dbus
+
+MASTERDIR= ${.CURDIR}/../avahi
+BUILD_WRKSRC= ${WRKSRC}/avahi-python
+INSTALL_WRKSRC= ${BUILD_WRKSRC}
+DESCR= ${.CURDIR}/pkg-descr
+PLIST= ${.CURDIR}/pkg-plist
+
+AVAHI_SLAVE= yes
+
+USE_GNOME= gnomehack gnometarget pygtk2
+USE_PYTHON= yes
+CONFIGURE_ARGS= --enable-python \
+ --disable-mono \
+ --disable-monodoc \
+ --disable-gtk \
+ --disable-qt3 \
+ --disable-qt4 \
+ --localstatedir=/var \
+ --disable-doxygen-docs \
+ --disable-xml-docs \
+ --disable-doxygen-dot \
+ --localstatedir=/var \
+ --with-dbus-system-address=unix:path=/var/run/dbus/dbus.pipe \
+ --with-distro=freebsd
+
+MAN1= avahi-bookmarks.1 avahi-discover.1
+
+post-build:
+ @cd ${WRKSRC}/service-type-database && ${SETENV} ${MAKE_ENV} ${GMAKE} \
+ ${MAKE_FLAGS} Makefile ${MAKE_ARGS} ${ALL_TARGET}
+
+post-install:
+ cd ${WRKSRC}/service-type-database && ${SETENV} ${MAKE_ENV} ${GMAKE} \
+ ${MAKE_FLAGS} Makefile ${MAKE_ARGS} ${INSTALL_TARGET}
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR}
+ @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR}
+.for mf in ${MAN1}
+ ${INSTALL_MAN} ${WRKSRC}/man/${mf} ${MAN1PREFIX}/man/man1
+.endfor
+
+.include "${MASTERDIR}/Makefile"
diff --git a/net/py-avahi/pkg-descr b/net/py-avahi/pkg-descr
new file mode 100644
index 0000000..b0d0aa0
--- /dev/null
+++ b/net/py-avahi/pkg-descr
@@ -0,0 +1,3 @@
+Python interface to the avahi mDNS service discovery system.
+
+WWW: http://www.avahi.org/
diff --git a/net/py-avahi/pkg-plist b/net/py-avahi/pkg-plist
new file mode 100644
index 0000000..48e7b49
--- /dev/null
+++ b/net/py-avahi/pkg-plist
@@ -0,0 +1,14 @@
+bin/avahi-bookmarks
+bin/avahi-discover
+lib/%%PYTHON_VERSION%%/site-packages/avahi/ServiceTypeDatabase.py
+lib/%%PYTHON_VERSION%%/site-packages/avahi/SimpleGladeApp.py
+lib/%%PYTHON_VERSION%%/site-packages/avahi/SimpleGladeApp.pyc
+lib/%%PYTHON_VERSION%%/site-packages/avahi/SimpleGladeApp.pyo
+lib/%%PYTHON_VERSION%%/site-packages/avahi/__init__.py
+lib/%%PYTHON_VERSION%%/site-packages/avahi/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/avahi/__init__.pyo
+share/applications/avahi-discover.desktop
+%%DATADIR%%/service-types
+%%DATADIR%%/service-types.db
+@dirrmtry share/applications
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/avahi
OpenPOWER on IntegriCloud