freebsd-ports/misc/kdeedu4/Makefile
Max Brazhnikov 1f8475f22f Mk/bsd.kde4.mk:
- rework KDE4_BUILDENV

All ports:
- remove needless post-extract target
- make patches relative to ${PATCH_WRKSRC}
- clean up
- bump PORTREVISION when required

databases/akonadi:
- replace dependency on boost-python-libs with boost-libs
  (finally, boost-pyhton does not conflict with boost \o/)

deskutils/kdepim*:
- replace boost-python-libs with boost-libs
- reduce dependencies
- respect PREFIX
- fix build with qt3 installed

misc/kdeedu4:
- add dependency on astro/xplanet (for KStars)

misc/kdeutils4:
- add dependency on devel/qca (for okteta)
- make dependency on kdebase non-optional

multimedia/kdemultimedia4:
- add optional support for PulseAudio

x11/kdebase4:
- remove needless dependency on kdebase4-runtime

x11/kdebase4-runtime, x11/kdebase4-workspace
- remove extra CMAKE_ARGS to fix build for qt3/kde3 users

x11/kdelibs4
- remove needless dependencies
- remove extra CMAKE_ARGS to fix build for qt3/kde3 users
2009-08-10 11:47:36 +00:00

55 lines
1.5 KiB
Makefile

# New ports collection Makefile for: kdeedu
# Date created: 2008-01-31
# Whom: Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= kdeedu
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 2
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}/lib/ocaml/facile/facile.a:${PORTSDIR}/math/facile \
eigen>=2.0.b3:${PORTSDIR}/math/eigen2 \
gmm++>=3.0.4:${PORTSDIR}/math/gmm++ \
xplanet:${PORTSDIR}/astro/xplanet
LIB_DEPENDS= boost_python:${PORTSDIR}/devel/boost-python-libs \
nova:${PORTSDIR}/astro/libnova \
openbabel.3:${PORTSDIR}/science/openbabel \
cfitsio.0:${PORTSDIR}/astro/cfitsio \
qalculate.4:${PORTSDIR}/math/libqalculate \
gsl.13:${PORTSDIR}/math/gsl
RUN_DEPENDS= xplanet:${PORTSDIR}/astro/xplanet
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
MAKE_JOBS_UNSAFE= 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}"
.include <bsd.port.mk>