freebsd-ports/textproc/qstardict/Makefile
Felix Palmen ddae4e92d8 Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.

Document in CHANGES.

PR:			266034
Exp-run by:		antoine
Approved by:		tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D36349
2022-09-11 12:20:14 +02:00

42 lines
1.0 KiB
Makefile

PORTNAME= qstardict
DISTVERSIONPREFIX= qstardict-
DISTVERSION= 1.3
PORTREVISION= 2
CATEGORIES= textproc
MAINTAINER= makc@FreeBSD.org
COMMENT= Qt based dictionary program (stardict clone)
WWW= http://qstardict.ylsoftware.com/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c++11-lang gl gnome pkgconfig qmake qt:5 tar:bzip2 xorg
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>