- bytecode-compile the .py files; otherwise it gets done later, usually

at an inconvenient time (like when you build another port with systrace),
and leaves dangling .pyc after you pkg_delete

- @comment some directories which are pulled in by run dependencies

- bump PKGNAME

looks good to landry@
This commit is contained in:
sthen 2009-07-24 10:23:47 +00:00
parent a6817d72e5
commit 87ab1ec6b2
2 changed files with 32 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2009/06/03 18:22:28 jasper Exp $
# $OpenBSD: Makefile,v 1.8 2009/07/24 10:23:47 sthen Exp $
SHARED_ONLY= Yes
@ -8,7 +8,7 @@ COMMENT-docs= py-qt4 documentation
V= 4.4.4
DISTNAME= PyQt-x11-gpl-${V}
PKGNAME= py-qt4-${V}
PKGNAME-main= py-qt4-${V}
PKGNAME-main= py-qt4-${V}p0
PKGNAME-docs= py-qt4-docs-${V}
CATEGORIES= x11 devel
@ -77,6 +77,7 @@ CONFIGURE_ARGS+=--enable=${i}
.endfor
post-install:
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${WRKINST}/${MODPY_SITEPKG}
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-qt4
cp -R ${WRKSRC}/doc/* ${PREFIX}/share/doc/py-qt4
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/py-qt4/*

View File

@ -1,11 +1,11 @@
@comment $OpenBSD: PLIST-main,v 1.3 2009/06/03 18:22:28 jasper Exp $
@comment $OpenBSD: PLIST-main,v 1.4 2009/07/24 10:23:47 sthen Exp $
@bin bin/pylupdate4
@bin bin/pyrcc4
bin/pyuic4
lib/python${MODPY_VERSION}/
lib/python${MODPY_VERSION}/site-packages/
lib/python${MODPY_VERSION}/site-packages/dbus/
lib/python${MODPY_VERSION}/site-packages/dbus/mainloop/
@comment lib/python${MODPY_VERSION}/
@comment lib/python${MODPY_VERSION}/site-packages/
@comment lib/python${MODPY_VERSION}/site-packages/dbus/
@comment lib/python${MODPY_VERSION}/site-packages/dbus/mainloop/
lib/python${MODPY_VERSION}/site-packages/PyQt4/
lib/python${MODPY_VERSION}/site-packages/PyQt4/Qt.so
lib/python${MODPY_VERSION}/site-packages/PyQt4/QtAssistant.so
@ -20,34 +20,55 @@ lib/python${MODPY_VERSION}/site-packages/PyQt4/QtSvg.so
lib/python${MODPY_VERSION}/site-packages/PyQt4/QtTest.so
lib/python${MODPY_VERSION}/site-packages/PyQt4/QtXml.so
lib/python${MODPY_VERSION}/site-packages/PyQt4/__init__.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/PyQt4/pyqtconfig.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/pyqtconfig.pyc
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/Compiler/
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/Compiler/__init__.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/Compiler/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/Compiler/compiler.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/Compiler/compiler.pyc
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/Compiler/indenter.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/Compiler/indenter.pyc
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/Compiler/qobjectcreator.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/Compiler/qobjectcreator.pyc
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/Compiler/qtproxies.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/Compiler/qtproxies.pyc
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/Loader/
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/Loader/__init__.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/Loader/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/Loader/loader.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/Loader/loader.pyc
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/Loader/qobjectcreator.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/Loader/qobjectcreator.pyc
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/__init__.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/exceptions.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/exceptions.pyc
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/icon_cache.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/icon_cache.pyc
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/objcreator.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/objcreator.pyc
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/properties.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/properties.pyc
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/pyuic.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/pyuic.pyc
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/uiparser.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/uiparser.pyc
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/widget-plugins/
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/widget-plugins/qaxcontainer.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/widget-plugins/qaxcontainer.pyc
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/widget-plugins/qscintilla.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/widget-plugins/qscintilla.pyc
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/widget-plugins/qtwebkit.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/widget-plugins/qtwebkit.pyc
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/widget-plugins/qwt.py
lib/python${MODPY_VERSION}/site-packages/PyQt4/uic/widget-plugins/qwt.pyc
lib/python${MODPY_VERSION}/site-packages/dbus/mainloop/qt.so
lib/qt4/
lib/qt4/plugins/
lib/qt4/plugins/designer/
@comment lib/qt4/
@comment lib/qt4/plugins/
@comment lib/qt4/plugins/designer/
lib/qt4/plugins/designer/libpythonplugin.so
@comment lib/qt4/plugins/designer/python/
share/sip/