f899c758a6
everything at once. Sometime, rename post-install into a options helper target. I did not fix ports that were such a mess that I could not figure out what they really wanted to do. I also did not change ports that had some version of an auto-plist code in post-install, for the same reason. With hat: portmgr Sponsored by: Absolight
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= demo
|
|
PORTVERSION= ${PYQT5_VERSION}
|
|
CATEGORIES= misc devel python
|
|
MASTER_SITES= ${MASTER_SITES_PYQT5}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt5-
|
|
DISTNAME= ${PYQT_DISTNAME}
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Python bindings for the Qt5 toolkit, Qt demo and examples
|
|
|
|
DISTINFO_FILE= ${PYQT_DISTINFO_FILE}
|
|
|
|
NO_BUILD= yes
|
|
USES= python pyqt:5
|
|
USE_PYQT= #
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-qt5
|
|
|
|
USE_PYQT= core_run dbus_run designer_run \
|
|
designerplugin_run doc_run gui_run multimedia_run \
|
|
multimediawidgets_run network_run opengl_run qscintilla2_run \
|
|
sql_run svg_run test_run webkit_run xml_run \
|
|
xmlpatterns_run sip_run qscintilla2_run \
|
|
printsupport_run serialport_run webkitwidgets_run widgets_run
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
|
|
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
|
|
-f -d ${PYTHONPREFIX_SITELIBDIR} \
|
|
${STAGEDIR}${EXAMPLESDIR}
|
|
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
|
|
-f -d ${PYTHONPREFIX_SITELIBDIR} \
|
|
${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|