|
Lines 1-10
Link Here
|
| 1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
| 2 |
|
2 |
|
| 3 |
PORTNAME= qupzilla |
3 |
PORTNAME= qupzilla |
| 4 |
PORTVERSION= 1.8.3 |
4 |
PORTVERSION= 1.8.5 |
| 5 |
CATEGORIES= www |
5 |
CATEGORIES= www |
| 6 |
MASTER_SITES= https://github.com/QupZilla/${PORTNAME}/releases/download/v${PORTVERSION}/ |
6 |
MASTER_SITES= https://github.com/QupZilla/${PORTNAME}/releases/download/v${PORTVERSION}/ |
| 7 |
DISTNAME= QupZilla-${PORTVERSION} |
7 |
DISTNAME= QupZilla-${PORTVERSION} |
|
|
8 |
PKGNAMESUFFIX= -qt5 |
| 9 |
CONFLICTS= ${PORTNAME}-qt4* |
| 8 |
|
10 |
|
| 9 |
MAINTAINER= matthew@reztek.cz |
11 |
MAINTAINER= matthew@reztek.cz |
| 10 |
COMMENT= Web browser based on WebKit engine and Qt Framework |
12 |
COMMENT= Web browser based on WebKit engine and Qt Framework |
|
Lines 14-39
Link Here
|
| 14 |
LIB_DEPENDS= libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell |
16 |
LIB_DEPENDS= libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell |
| 15 |
|
17 |
|
| 16 |
USES= desktop-file-utils execinfo pkgconfig qmake tar:xz |
18 |
USES= desktop-file-utils execinfo pkgconfig qmake tar:xz |
| 17 |
USE_QT4= corelib gui moc_build rcc_build uic_build webkit \ |
19 |
USE_QT5= core gui imageformats_run network script sql webkit xml \ |
| 18 |
xml script sql network imageformats_run linguist_build |
20 |
buildtools_build linguisttools_build |
| 19 |
CONFIGURE_ENV= QUPZILLA_PREFIX=${PREFIX}/ |
21 |
CONFIGURE_ENV= QUPZILLA_PREFIX=${PREFIX}/ |
| 20 |
USE_LDCONFIG= yes |
22 |
USE_LDCONFIG= yes |
| 21 |
INSTALLS_ICONS= yes |
23 |
INSTALLS_ICONS= yes |
| 22 |
PLIST_SUB= VERSION=${PORTVERSION} |
24 |
PLIST_SUB= VERSION=${PORTVERSION} |
| 23 |
|
25 |
|
| 24 |
OPTIONS_DEFINE= DBUS DEBUG GNOMEKEYRING KWALLET |
26 |
OPTIONS_DEFINE= DBUS DEBUG GNOMEKEYRING # KWALLET |
| 25 |
OPTIONS_DEFAULT=DBUS |
27 |
OPTIONS_DEFAULT=DBUS |
| 26 |
OPTIONS_SUB= yes |
28 |
OPTIONS_SUB= yes |
| 27 |
|
29 |
|
| 28 |
DBUS_USE= QT4=dbus |
30 |
DBUS_USE= QT5=dbus |
| 29 |
DBUS_CONFIGURE_ENV_OFF= DISABLE_DBUS="true" |
31 |
DBUS_CONFIGURE_ENV_OFF= DISABLE_DBUS="true" |
| 30 |
|
32 |
|
| 31 |
GNOMEKEYRING_LIB_DEPENDS= libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring |
33 |
GNOMEKEYRING_LIB_DEPENDS= libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring |
| 32 |
GNOMEKEYRING_CONFIGURE_ENV= GNOME_INTEGRATION="true" |
34 |
GNOMEKEYRING_CONFIGURE_ENV= GNOME_INTEGRATION="true" |
| 33 |
|
35 |
|
| 34 |
KWALLET_USE= KDE4=kdelibs |
36 |
# KWallet integration requires KF5 which is not yet in ports |
| 35 |
KWALLET_CONFIGURE_ENV= KDE_INTEGRATION="true" |
37 |
#KWALLET_USE= KDE5=kdelibs |
|
|
38 |
#KWALLET_CONFIGURE_ENV= KDE_INTEGRATION="true" |
| 39 |
PLIST_SUB+= KWALLET="@comment " |
| 36 |
|
40 |
|
|
|
41 |
.include <bsd.port.options.mk> |
| 42 |
|
| 43 |
# work around for build failure in test plugin (single source file target) |
| 44 |
.if ${PORT_OPTIONS:MDEBUG} |
| 45 |
MAKE_JOBS_UNSAFE=1 |
| 46 |
.endif |
| 47 |
|
| 37 |
post-patch: |
48 |
post-patch: |
| 38 |
@${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|g' \ |
49 |
@${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|g' \ |
| 39 |
${WRKSRC}/tests/autotests/qztoolstest.cpp \ |
50 |
${WRKSRC}/tests/autotests/qztoolstest.cpp \ |