Lines 1-6
Link Here
|
1 |
PORTNAME= qutebrowser |
1 |
PORTNAME= qutebrowser |
2 |
DISTVERSION= 2.5.4 |
2 |
DISTVERSION= 3.0.0 |
3 |
PORTREVISION= 1 |
|
|
4 |
CATEGORIES= www |
3 |
CATEGORIES= www |
5 |
MASTER_SITES= PYPI |
4 |
MASTER_SITES= PYPI |
6 |
|
5 |
|
Lines 9-37
COMMENT= Keyboard-focused browser with a minimal GUI
Link Here
|
9 |
WWW= https://www.qutebrowser.org/ |
8 |
WWW= https://www.qutebrowser.org/ |
10 |
|
9 |
|
11 |
LICENSE= GPLv3 |
10 |
LICENSE= GPLv3 |
|
|
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
|
12 |
|
13 |
RUN_DEPENDS= \ |
13 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ |
14 |
${PYTHON_PKGNAMEPREFIX}colorama>=0:devel/py-colorama@${PY_FLAVOR} \ |
14 |
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} |
|
|
15 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>=0:devel/py-colorama@${PY_FLAVOR} \ |
15 |
${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ |
16 |
${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ |
16 |
${PYTHON_PKGNAMEPREFIX}markupsafe>=0:textproc/py-markupsafe@${PY_FLAVOR} \ |
17 |
${PYTHON_PKGNAMEPREFIX}markupsafe>=0:textproc/py-markupsafe@${PY_FLAVOR} \ |
17 |
${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \ |
18 |
${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \ |
|
|
19 |
${PYTHON_PKGNAMEPREFIX}sip>=0:devel/py-sip@${PY_FLAVOR} \ |
20 |
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ |
18 |
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \ |
21 |
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \ |
19 |
${PYTHON_PKGNAMEPREFIX}sip>=0:devel/py-sip@${PY_FLAVOR} |
22 |
nvim-qt:editors/neovim-qt@${FLAVOR} |
20 |
|
23 |
|
21 |
USES= cpe desktop-file-utils python pyqt:5 qt:5 |
24 |
FLAVORS= qt5 qt6 |
22 |
USE_PYQT= pyqt5 webengine |
25 |
FLAVOR?= ${FLAVORS:[1]} |
23 |
USE_PYTHON= distutils autoplist noflavors |
26 |
|
|
|
27 |
USES= cpe desktop-file-utils dos2unix python |
28 |
USE_PYQT= webengine |
29 |
USE_PYTHON= autoplist noflavors pep517 |
30 |
|
31 |
qt5_PKGNAMESUFFIX= -qt5 |
32 |
qt5_CONFLICTS_INSTALL= ${PORTNAME}-qt6 |
33 |
|
34 |
qt6_PKGNAMESUFFIX= -qt6 |
35 |
qt6_CONFLICTS_INSTALL= ${PORTNAME}-qt5 |
36 |
|
37 |
.if ${FLAVOR:U} == "qt5" |
38 |
USES+= pyqt:5 qt:5 |
39 |
USE_PYQT+= pyqt5 |
24 |
USE_QT= sql-sqlite3 |
40 |
USE_QT= sql-sqlite3 |
|
|
41 |
.else |
42 |
USES+= pyqt:6 qt:6 |
43 |
USE_PYQT+= pyqt6 |
44 |
USE_QT= base declarative quick3d sqldriver-sqlite:run webengine \ |
45 |
websockets tools:build |
46 |
.endif |
25 |
|
47 |
|
26 |
# Upstream archive contains files with UTF-8 names |
48 |
# Upstream archive contains files with UTF-8 names |
27 |
EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar |
49 |
EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 ${TAR} |
28 |
NO_ARCH= yes |
50 |
NO_ARCH= yes |
29 |
PLIST_FILES= share/applications/${PORTNAME}-${PYTHON_VER}.desktop |
51 |
PLIST_FILES= share/applications/${PORTNAME}-${PYTHON_VER}.desktop \ |
|
|
52 |
share/man/man1/${PORTNAME}.1.gz |
30 |
|
53 |
|
31 |
OPTIONS_DEFINE_amd64= ADBLOCK |
54 |
OPTIONS_DEFINE_amd64= ADBLOCK |
32 |
OPTIONS_DEFAULT_amd64= ADBLOCK |
55 |
OPTIONS_DEFAULT_amd64= ADBLOCK |
33 |
|
56 |
|
34 |
ADBLOCK_DESC= Enable the newer adblocking support |
57 |
ADBLOCK_DESC= Enable the newer adblocking support |
35 |
|
58 |
|
36 |
ADBLOCK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}adblock>=0.4.2:www/py-adblock@${PY_FLAVOR} |
59 |
ADBLOCK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}adblock>=0.4.2:www/py-adblock@${PY_FLAVOR} |
37 |
|
60 |
|
Lines 45-48
post-install:
Link Here
|
45 |
${INSTALL_DATA} ${WRKSRC}/misc/org.qutebrowser.qutebrowser.desktop \ |
68 |
${INSTALL_DATA} ${WRKSRC}/misc/org.qutebrowser.qutebrowser.desktop \ |
46 |
${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}-${PYTHON_VER}.desktop |
69 |
${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}-${PYTHON_VER}.desktop |
47 |
|
70 |
|
|
|
71 |
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \ |
72 |
${STAGEDIR}${PREFIX}/share/man/man1 |
73 |
|
48 |
.include <bsd.port.post.mk> |
74 |
.include <bsd.port.post.mk> |