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