mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
469d8e5376
PR: 197145 Submitted by: matthew@reztek.cz Approved by: kwm
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= qupzilla
|
|
PORTVERSION= 1.8.6
|
|
CATEGORIES= www
|
|
MASTER_SITES= https://github.com/QupZilla/${PORTNAME}/releases/download/v${PORTVERSION}/
|
|
PKGNAMESUFFIX= -qt4
|
|
DISTNAME= QupZilla-${PORTVERSION}
|
|
|
|
MAINTAINER= matthew@reztek.cz
|
|
COMMENT= Web browser based on WebKit engine and Qt Framework
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LIB_DEPENDS= libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell
|
|
|
|
CONFLICTS= ${PORTNAME}-qt5*
|
|
|
|
USES= desktop-file-utils execinfo pkgconfig qmake tar:xz
|
|
USE_QT4= corelib gui network script sql webkit xml \
|
|
linguist_build moc_build rcc_build uic_build \
|
|
imageformats_run sql-sqlite3_run
|
|
CONFIGURE_ENV= QUPZILLA_PREFIX=${PREFIX}/
|
|
USE_LDCONFIG= yes
|
|
INSTALLS_ICONS= yes
|
|
PLIST_SUB= VERSION=${PORTVERSION}
|
|
|
|
OPTIONS_DEFINE= DBUS DEBUG GNOMEKEYRING KWALLET
|
|
OPTIONS_DEFAULT=DBUS
|
|
OPTIONS_SUB= yes
|
|
|
|
DBUS_USE= QT4=dbus
|
|
DBUS_CONFIGURE_ENV_OFF= DISABLE_DBUS="true"
|
|
|
|
GNOMEKEYRING_LIB_DEPENDS= libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring
|
|
GNOMEKEYRING_CONFIGURE_ENV= GNOME_INTEGRATION="true"
|
|
|
|
KWALLET_USE= KDE4=kdelibs
|
|
KWALLET_CONFIGURE_ENV= KDE_INTEGRATION="true"
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|g' \
|
|
${WRKSRC}/tests/autotests/qztoolstest.cpp \
|
|
${WRKSRC}/src/lib/plugins/qtwebkit/spellcheck/speller.cpp
|
|
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \
|
|
${WRKSRC}/src/install.pri \
|
|
${WRKSRC}/src/defines.pri \
|
|
${WRKSRC}/src/lib/plugins/plugins.cpp
|
|
|
|
.include <bsd.port.mk>
|