aboutsummaryrefslogtreecommitdiff
path: root/misc/kdeedu4/Makefile
blob: 90611d6a60a4a482aac08a9ce4dd243c8c973c54 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# New ports collection Makefile for:	kdeedu
# Date created:				2008-01-31
# Whom:					Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=	kdeedu
PORTVERSION=	${KDE4_VERSION}
PORTREVISION=	1
CATEGORIES=	misc kde
MASTER_SITES=	${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR=	${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR=	KDE

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Collection of entertaining, educational programs for KDE

BUILD_DEPENDS=	${LOCALBASE}/include/eigen/util.h:${PORTSDIR}/math/eigen \
		${LOCALBASE}/lib/ocaml/facile/facile.a:${PORTSDIR}/math/facile \
		gmm++>=3.0.4:${PORTSDIR}/math/gmm++
LIB_DEPENDS=	usb-0.1:${PORTSDIR}/devel/libusb \
		boost_python:${PORTSDIR}/devel/boost-python \
		nova:${PORTSDIR}/astro/libnova \
		openbabel.3:${PORTSDIR}/science/openbabel \
		cfitsio.0:${PORTSDIR}/astro/cfitsio \
		qalculate.4:${PORTSDIR}/math/libqalculate \
		gsl.13:${PORTSDIR}/math/gsl

LATEST_LINK=	${PORTNAME}4

USE_BZIP2=	yes
USE_KDE4=	kdelibs kdeprefix kdehier automoc4
KDE4_BUILDENV=	yes
USE_QT_VER=	4
QT_COMPONENTS=	gui svg qmake_build moc_build rcc_build uic_build
USE_OCAML=	yes
NO_OCAML_RUNDEPENDS=	yes
USE_PYTHON=	yes

MAN1=		kalzium.1 \
		kbruch.1 \
		kig.1 \
		kmplot.1 \
		ktouch.1
MAN6=		khangman.6

#fix checking boost_python
CMAKE_ARGS+=	-DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include" \
		-DBOOST_PYTHON_INCLUDES="${LOCALBASE}/include;${PYTHON_INCLUDEDIR}" \
		-DBOOST_PYTHON_LIBS="-L${LOCALBASE}/lib -lboost_python -l${PYTHON_VERSION}"

post-extract:
	${MKDIR} ${WRKSRC}

.include <bsd.port.mk>