pkgsrc/math/cantor/Makefile
gutteridge 1e4ca2627d Bump all dependent packages of wayland (belatedly)
The package changed with the addition of its libepoll-shim dependency.
Otherwise, we can get:
ERROR: libepoll-shim>=0.0.20210418 is not installed; can't buildlink files.
2022-08-11 05:08:00 +00:00

46 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.98 2022/08/11 05:08:59 gutteridge Exp $
DISTNAME= cantor-${KAPPSVER}
PKGREVISION= 19
CATEGORIES= math
HOMEPAGE= https://kde.org/applications/education/cantor/
COMMENT= KDE frontend to mathematical software
LICENSE= gnu-gpl-v2 AND gnu-fdl-v1.2
.include "../../meta-pkgs/kde/applications.mk"
BUILD_DEPENDS+= kdoctools>=5.19.0:../../devel/kdoctools
USE_TOOLS+= msgmerge pkg-config
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_R=TRUE
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_LuaJIT=TRUE
# only try to build python3 support
PYTHON_VERSIONS_INCOMPATIBLE= 27
REPLACE_SH+= src/backends/sage/cantor-execsage
SUBST_CLASSES+= fix-moc
SUBST_STAGE.fix-moc= post-configure
SUBST_MESSAGE.fix-moc= Cleaning up MOC includes
SUBST_FILES.fix-moc= _KDE_build/src/*/*/CMakeFiles/*_autogen.dir/AutogenInfo.json
SUBST_NOOP_OK.fix-moc= yes
SUBST_SED.fix-moc= -e 's;"${PREFIX}/include",;;g'
.include "../../devel/kpty/buildlink3.mk"
.include "../../devel/ktexteditor/buildlink3.mk"
.include "../../devel/libidn/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../math/analitza/buildlink3.mk"
.include "../../math/qalculate/buildlink3.mk"
.include "../../net/knewstuff/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../print/libspectre/buildlink3.mk"
.include "../../print/poppler-qt5/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
# Requires bundled copy with custom mkd_latextext()
#.include "../../textproc/discount/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"