aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-09-09 00:34:30 +0800
committermarcus <marcus@FreeBSD.org>2006-09-09 00:34:30 +0800
commit411d7289b1cac179bb6812154e8067a89aa5afc8 (patch)
tree5e36ea26a7e103556d817f5a5e2e880d2f9aac52
parent63d66e44a5d01c861b7a96e1b6906e7d357096eb (diff)
downloadfreebsd-ports-gnome-411d7289b1cac179bb6812154e8067a89aa5afc8.tar.gz
freebsd-ports-gnome-411d7289b1cac179bb6812154e8067a89aa5afc8.tar.zst
freebsd-ports-gnome-411d7289b1cac179bb6812154e8067a89aa5afc8.zip
Byte-code compile all Python modules to fix the builds of dependent ports.
-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