24bce6e056
- Restore DIST_SUBDIR from r305651 - Adjust license for "or later" clause - Restore GPLv2+/LGPL21+ license files removed upstream as GPLv3+/LGPL3+ only affects Hunspell 2.0 (not currently built) - Unbreak |make makepatch| Changes: https://github.com/hunspell/hunspell/releases/tag/v1.6.0 PR: 215714 Submitted by: sunpoet (based on) Exp-run by: antoine MFH: 2017Q1 Differential Revision: https://reviews.freebsd.org/D8887
61 lines
1.6 KiB
Makefile
61 lines
1.6 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= qupzilla
|
|
PORTVERSION= 1.8.9
|
|
PORTREVISION= 2
|
|
CATEGORIES= www
|
|
MASTER_SITES= https://github.com/QupZilla/${PORTNAME}/releases/download/v${PORTVERSION}/
|
|
PKGNAMESUFFIX= -qt5
|
|
DISTNAME= QupZilla-${PORTVERSION}
|
|
|
|
MAINTAINER= matthew@reztek.cz
|
|
COMMENT= Web browser based on WebKit engine and Qt Framework
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LIB_DEPENDS= libhunspell-1.6.so:textproc/hunspell
|
|
|
|
CONFLICTS_INSTALL= ${PORTNAME}-qt4*
|
|
|
|
USES= desktop-file-utils execinfo pkgconfig qmake ssl tar:xz
|
|
USE_QT5= core concurrent gui network printsupport script sql webkit \
|
|
widgets x11extras xml imageformats_run sql-sqlite3_run \
|
|
buildtools_build linguisttools_build
|
|
USE_XORG= x11
|
|
USE_GL= gl
|
|
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= QT5=dbus
|
|
DBUS_CONFIGURE_ENV_OFF= DISABLE_DBUS="true"
|
|
|
|
GNOMEKEYRING_LIB_DEPENDS= libgnome-keyring.so:security/libgnome-keyring
|
|
GNOMEKEYRING_CONFIGURE_ENV= GNOME_INTEGRATION="true"
|
|
|
|
KWALLET_USES= kde:5
|
|
KWALLET_USE= KDE=wallet
|
|
KWALLET_CONFIGURE_ENV= KDE_INTEGRATION="true"
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
# work around for build failure in test plugin (single source file target)
|
|
.if ${PORT_OPTIONS:MDEBUG}
|
|
MAKE_JOBS_UNSAFE= yes
|
|
.endif
|
|
|
|
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>
|