mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
ddae4e92d8
Most USES use a colon for build/run(/test) suffixes. Change kde.mk, qt.mk and pyqt.mk to do the same, and update all ports using that. Document in CHANGES. PR: 266034 Exp-run by: antoine Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D36349
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
PORTNAME= qtqr
|
|
DISTVERSION= 2.0.bzr39
|
|
PORTREVISION= 8
|
|
CATEGORIES= graphics python
|
|
MASTER_SITES= LOCAL/ehaupt
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= qr-tools-${DISTVERSION}
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= GUI that makes it easy to create and decode QR codes
|
|
WWW= https://launchpad.net/qr-tools
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENCE
|
|
|
|
RUN_DEPENDS= ${PYNUMPY} \
|
|
${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}zbar-py>=1.0.4:graphics/py-zbar-py@${PY_FLAVOR}
|
|
|
|
USES= desktop-file-utils pyqt:5 python:3.6+ shebangfix
|
|
USE_PYQT= pyqt5:run
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
SHEBANG_FILES= qtqr.py
|
|
|
|
NO_BUILD= yes
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/qtqr.py ${STAGEDIR}${PREFIX}/bin/qtqr
|
|
${INSTALL_DATA} ${WRKSRC}/icon.png ${STAGEDIR}${PREFIX}/share/pixmaps/qtqr.png
|
|
${INSTALL_DATA} ${WRKSRC}/qtqr.desktop ${STAGEDIR}${DESKTOPDIR}
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/qt5/translations
|
|
${INSTALL_DATA} ${WRKSRC}/*.qm ${STAGEDIR}${PREFIX}/share/qt5/translations
|
|
|
|
post-install-EXAMPLES-on:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|