freebsd-ports/editors/tea/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

48 lines
1.2 KiB
Makefile

# Created by: Jean-Yves Lefort <jylefort@brutele.be>
# $FreeBSD$
PORTNAME= tea
PORTVERSION= 47.0.1
PORTREVISION= 3
CATEGORIES= editors
MAINTAINER= danilo@FreeBSD.org
COMMENT= Simple and powerful Qt-based text editor
LICENSE= GPLv3
USES= compiler:c++11-lang gl gmake pkgconfig:build qmake qt:5
OPTIONS_DEFINE= DOCS
OPTIONS_GROUP= SPELL
OPTIONS_GROUP_SPELL= ASPELL HUNSPELL
OPTIONS_DEFAULT= ASPELL HUNSPELL
USE_QT= buildtools_build core declarative gui network widgets printsupport
USE_GL= gl
USE_LOCALE= en_US.UTF-8
USE_GITHUB= yes
GH_ACCOUNT= psemiletov
GH_PROJECT= ${PORTNAME}-qt
LDFLAGS+= -lz
PLIST_FILES= bin/tea share/pixmaps/tea_icon_v2.png
PORTDOCS= *
DESKTOP_ENTRIES="TEA" "" "${PREFIX}/share/pixmaps/tea_icon_v2.png" \
"${PORTNAME}" "" ""
ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell
ASPELL_QMAKE_OFF= CONFIG+=noaspell
HUNSPELL_LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell
HUNSPELL_QMAKE_OFF= CONFIG+=nohunspell
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/tea ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/icons/tea_icon_v2.png ${STAGEDIR}${PREFIX}/share/pixmaps
(cd ${WRKSRC}/manuals \
&& ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>