freebsd-ports/textproc/qstardict/Makefile
Niclas Zeising bcaf26b256 Add USES=xorg USES=gl, ports categories t
Add USES=xorg and USES=gl to ports in categories starting with 't'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-07 17:19:11 +00:00

43 lines
1 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 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>