1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/textproc/qstardict/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

44 lines
1.0 KiB
Makefile

# Created by: Yinghong.Liu <relaxbsd@gmail.com>
# $FreeBSD$
PORTNAME= qstardict
DISTVERSIONPREFIX= qstardict-
DISTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= textproc
MAINTAINER= makc@FreeBSD.org
COMMENT= Qt based dictionary program (stardict clone)
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c++11-lang gl gnome pkgconfig qmake qt:5 tar:bzip2
USE_GL= gl
USE_GNOME= glib20
USE_QT= core dbus gui network printsupport widgets xml \
buildtools_build linguisttools_build qmake_build
USE_XORG= x11
USE_GITHUB= yes
GH_ACCOUNT= a-rodin
QMAKE_ARGS= INSTALL_PREFIX=${PREFIX}
OPTIONS_DEFINE= DOCS KDE
OPTIONS_SUB= yes
KDE_DESC= KDE integration
KDE_USES= kde:5
KDE_USE= KDE=globalaccel,notifications,windowsystem
KDE_QMAKE_ON= "ENABLED_PLUGINS=stardict web kdeintegration"
# Path to dictionaries installed by stardict-* ports
DICPATH= ${LOCALBASE}/share/stardict/dic
post-patch:
${REINPLACE_CMD} '/m_dictDirs/s|/usr/share/stardict/dic|${PREFIX}/share/stardict/dic|g' \
${WRKSRC}/plugins/stardict/stardict.cpp
.include <bsd.port.mk>