aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/py-avahi/Makefile6
-rw-r--r--net/py-avahi/pkg-plist2
2 files changed, 5 insertions, 3 deletions
diff --git a/net/py-avahi/Makefile b/net/py-avahi/Makefile
index 9427d8e5436f..188c5105f7c1 100644
--- a/net/py-avahi/Makefile
+++ b/net/py-avahi/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
#
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= net gnome python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -51,8 +51,8 @@ post-build:
post-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/service-type-database/service-types.db ${DATADIR}
- @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR}
- @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR}
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${PYTHONPREFIX_SITELIBDIR}/avahi
+ @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -l ${PYTHONPREFIX_SITELIBDIR}/avahi
.for mf in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/man/${mf} ${MAN1PREFIX}/man/man1
.endfor
diff --git a/net/py-avahi/pkg-plist b/net/py-avahi/pkg-plist
index 7826d705d615..18e948d0dd20 100644
--- a/net/py-avahi/pkg-plist
+++ b/net/py-avahi/pkg-plist
@@ -1,6 +1,8 @@
bin/avahi-bookmarks
bin/avahi-discover
lib/%%PYTHON_VERSION%%/site-packages/avahi/ServiceTypeDatabase.py
+lib/%%PYTHON_VERSION%%/site-packages/avahi/ServiceTypeDatabase.pyc
+lib/%%PYTHON_VERSION%%/site-packages/avahi/ServiceTypeDatabase.pyo
lib/%%PYTHON_VERSION%%/site-packages/avahi/SimpleGladeApp.py
lib/%%PYTHON_VERSION%%/site-packages/avahi/SimpleGladeApp.pyc
lib/%%PYTHON_VERSION%%/site-packages/avahi/SimpleGladeApp.pyo