aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2008-02-10 02:25:32 +0800
committermarcus <marcus@FreeBSD.org>2008-02-10 02:25:32 +0800
commita036c3e174d56b962dd93b35c71012df103f0a44 (patch)
tree14792dade7ffd224821142381a24b9e063f2e51c /net
parent2710620897e5766588aa116d8577d487ca3a7afb (diff)
downloadfreebsd-ports-gnome-a036c3e174d56b962dd93b35c71012df103f0a44.tar.gz
freebsd-ports-gnome-a036c3e174d56b962dd93b35c71012df103f0a44.tar.zst
freebsd-ports-gnome-a036c3e174d56b962dd93b35c71012df103f0a44.zip
Allow ServiceTypeDatabase.py to find the services database.
Diffstat (limited to 'net')
-rw-r--r--net/py-avahi/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/py-avahi/Makefile b/net/py-avahi/Makefile
index dae008bedd5a..71d50047b931 100644
--- a/net/py-avahi/Makefile
+++ b/net/py-avahi/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
# $MCom: ports/net/py-avahi/Makefile,v 1.4 2007/07/31 18:24:13 ahze Exp $
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= net gnome python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= # empty
@@ -31,6 +31,10 @@ USE_GNOME= gnomehack gnometarget pygtk2
USE_PYTHON= yes
MAN1= avahi-bookmarks.1 avahi-discover.1
+post-patch:
+ @${REINPLACE_CMD} -e 's|@pkglibdir@|${DATADIR}|' \
+ ${WRKSRC}/avahi-python/avahi/ServiceTypeDatabase.py.in
+
pre-build:
@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
Makefile ${MAKE_ARGS} clean