1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/www/qutebrowser/Makefile
2019-09-29 09:05:03 +00:00

48 lines
1.6 KiB
Makefile

# $FreeBSD$
PORTNAME= qutebrowser
DISTVERSION= 1.8.1
CATEGORIES= www
MASTER_SITES= CHEESESHOP
MAINTAINER= novel@FreeBSD.org
COMMENT= Keyboard-focused browser with a minimal GUI
LICENSE= GPLv3
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=0:devel/py-attrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}colorama>=0:devel/py-colorama@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cssutils>=0:www/py-cssutils@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}MarkupSafe>=0:textproc/py-MarkupSafe@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyPEG2>=0:textproc/py-pyPEG2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sip>=0:devel/py-sip@${PY_FLAVOR} \
${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins
USES= desktop-file-utils python:3.5+ pyqt:5 qt:5
USE_PYQT= core opengl printsupport sql widgets qml
USE_QT= sql-sqlite3
USE_PYTHON= distutils autoplist noflavors
NO_ARCH= yes
PLIST_FILES= share/applications/${PORTNAME}-${PYTHON_VER}.desktop
OPTIONS_MULTI= BACKEND
OPTIONS_MULTI_BACKEND= WEBKIT WEBENGINE
OPTIONS_DEFAULT= WEBKIT
OPTIONS_DEFAULT_amd64= WEBENGINE
OPTIONS_DEFAULT_i386= WEBENGINE
WEBENGINE_DESC= WebEngine webpage renderer support
WEBKIT_USE= PYQT=webkit,webkitwidgets
WEBENGINE_USE= PYQT=webengine,webchannel
post-install:
${INSTALL_DATA} ${WRKSRC}/misc/org.qutebrowser.qutebrowser.desktop \
${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}-${PYTHON_VER}.desktop
.include <bsd.port.mk>