openbsd-ports/editors/teaqt/Makefile
rsadowski 6ecf5561f1 Fix build with CMake 3.23
- Use CFLAGS and CXXFLAGS instead of  CMAKE_CXX_FLAGS and CMAKE_C_FLAGS.
- Use MODCMAKE_LDFLAGS instead of CMAKE_EXE_LINKER_FLAGS
- Fix broken builds with CMake 3.23
2022-05-28 06:19:58 +00:00

38 lines
720 B
Makefile

COMMENT = powerful and simple Qt editor
GH_ACCOUNT = psemiletov
GH_PROJECT = tea-qt
GH_TAGNAME = 50.0.4
PKGNAME = teaqt-${GH_TAGNAME}
REVISION = 0
CATEGORIES = editors x11
HOMEPAGE = http://semiletov.org/tea/
# GPLv3
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Gui Qt5PrintSupport Qt5Widgets
WANTLIB += aspell c djvulibre hunspell-1.7 m poppler-qt5 z
MODULES = devel/cmake \
x11/qt5
LIB_DEPENDS = graphics/djvulibre \
print/poppler,-qt5 \
textproc/aspell/core \
textproc/hunspell
RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+3,-guic
CFLAGS += -I${LOCALBASE}/include
CXXFLAGS += -I${LOCALBASE}/include
MODCMAKE_LDFLAGS = -L${LOCALBASE}/lib
NO_TEST = Yes
.include <bsd.port.mk>