openbsd-ports/editors/featherpad/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

35 lines
715 B
Makefile

COMMENT = lightweight Qt5 plain-text editor
PKGNAME = featherpad-${GH_TAGNAME:S/^V//}
CATEGORIES = editors x11
GH_ACCOUNT = tsujan
GH_PROJECT = FeatherPad
GH_TAGNAME = V1.1.1
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# GPLv3+
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} ICE Qt5Core Qt5Gui Qt5Network Qt5PrintSupport
WANTLIB += Qt5Svg Qt5Widgets Qt5X11Extras SM X11 Xext c hunspell-1.7
WANTLIB += m
MODULES = devel/cmake \
x11/qt5
LIB_DEPENDS = textproc/hunspell \
x11/qt5/qtsvg \
x11/qt5/qtx11extras
RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+3,-guic
CONFIGURE_ARGS = -DCMAKE_INSTALL_PREFIX="${PREFIX}"
CXXFLAGS += -I${LOCALBASE}/include
NO_TEST = Yes
.include <bsd.port.mk>