From a036c3e174d56b962dd93b35c71012df103f0a44 Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 9 Feb 2008 18:25:32 +0000 Subject: Allow ServiceTypeDatabase.py to find the services database. --- net/py-avahi/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'net') 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 -- cgit