Tweak audio/festvox-el11 version 1.4.0_2
[dports.git] / www / qupzilla-qt5 / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       qupzilla
4 PORTVERSION=    1.8.9
5 CATEGORIES=     www
6 MASTER_SITES=   https://github.com/QupZilla/${PORTNAME}/releases/download/v${PORTVERSION}/
7 PKGNAMESUFFIX=  -qt5
8 DISTNAME=       QupZilla-${PORTVERSION}
9
10 MAINTAINER=     matthew@reztek.cz
11 COMMENT=        Web browser based on WebKit engine and Qt Framework
12
13 LICENSE=        GPLv3
14
15 LIB_DEPENDS=    libhunspell-1.3.so:textproc/hunspell
16
17 CONFLICTS_INSTALL=      ${PORTNAME}-qt4*
18
19 USES=           desktop-file-utils execinfo pkgconfig qmake tar:xz
20 USE_QT5=        core concurrent gui network script webkit x11extras xml \
21                 buildtools_build linguisttools_build \
22                 imageformats_run sql-sqlite3_run
23 USE_XORG=       x11
24 USE_OPENSSL=    yes
25 CONFIGURE_ENV=  QUPZILLA_PREFIX=${PREFIX}/
26 USE_LDCONFIG=   yes
27 INSTALLS_ICONS= yes
28 PLIST_SUB=      VERSION=${PORTVERSION}
29
30 OPTIONS_DEFINE= DBUS DEBUG GNOMEKEYRING KWALLET
31 OPTIONS_DEFAULT=DBUS
32 OPTIONS_SUB=    yes
33
34 DBUS_USE=               QT5=dbus
35 DBUS_CONFIGURE_ENV_OFF= DISABLE_DBUS="true"
36
37 GNOMEKEYRING_LIB_DEPENDS=       libgnome-keyring.so:security/libgnome-keyring
38 GNOMEKEYRING_CONFIGURE_ENV=     GNOME_INTEGRATION="true"
39
40 KWALLET_USE=            KDE5=wallet
41 KWALLET_CONFIGURE_ENV=  KDE_INTEGRATION="true"
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
50 post-patch:
51         @${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|g' \
52                 ${WRKSRC}/tests/autotests/qztoolstest.cpp \
53                 ${WRKSRC}/src/lib/plugins/qtwebkit/spellcheck/speller.cpp
54         @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \
55                 ${WRKSRC}/src/install.pri \
56                 ${WRKSRC}/src/defines.pri \
57                 ${WRKSRC}/src/lib/plugins/plugins.cpp
58
59 .include <bsd.port.mk>