aboutsummaryrefslogtreecommitdiffstats
path: root/math/kig/Makefile
blob: ea18fb3b465c9b190dba269ce96291926c440103 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
PORTNAME=	kig
DISTVERSION=	${KDE_APPLICATIONS_VERSION}
CATEGORIES=	math education kde kde-applications

MAINTAINER=	kde@FreeBSD.org
COMMENT=	KDE interactive geometry application
WWW=		https://www.kde.org/applications/education/kig

LIB_DEPENDS=	${PY_BOOST}

USES=		cmake compiler:c++11-lib desktop-file-utils gettext kde:6 qt:6 \
		shebangfix tar:xz xorg \
		python:run
USE_KDE=	archive configwidgets coreaddons crash \
		i18n iconthemes parts texteditor xmlgui \
		doctools:build ecm:build
USE_QT=		base svg
USE_XORG=	x11
SHEBANG_FILES=	pykig/pykig.py

OPTIONS_DEFINE=	DOCS

post-patch:
	${REINPLACE_CMD} '/Python_ADDITIONAL_VERSIONS/s|3.10|${PYTHON_VER};3.10|' \
		${WRKSRC}/cmake/modules/FindBoostPython.cmake

.include <bsd.port.mk>