1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

Byte-code compile all Python modules to fix the builds of dependent ports.

This commit is contained in:
Joe Marcus Clarke 2006-09-08 16:34:30 +00:00
parent f7a4587ba9
commit d1a9fdded5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172577
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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