diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2008-02-09 18:25:32 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2008-02-09 18:25:32 +0000 |
commit | 5babdbc828d358f0e8387f5453a3256d0594cb1b (patch) | |
tree | 3e2122481ae2e0b71ac8ed7cbd9641afad3de077 /net/py-avahi/Makefile | |
parent | c87c63567c73de6abaf13e7500925750a4d7fa60 (diff) | |
download | ports-5babdbc828d358f0e8387f5453a3256d0594cb1b.tar.gz ports-5babdbc828d358f0e8387f5453a3256d0594cb1b.zip |
Allow ServiceTypeDatabase.py to find the services database.
Notes
Notes:
svn path=/head/; revision=206960
Diffstat (limited to 'net/py-avahi/Makefile')
-rw-r--r-- | net/py-avahi/Makefile | 6 |
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 |