freebsd-ports/astro/kstars/Makefile
Alberto Villa 519877d020 - Detect eigen2 by checking for .pc file, not min. port version.
If a user had eigen3 installed, but not eigen2, the min. port version
check would not differentiate between the two.

Submitted by:	Jason E. Hale <bsdkaffee at gmail.com> via area51
2012-06-27 01:14:01 +00:00

33 lines
805 B
Makefile

# New ports collection makefile for: kstars
# Date created: 6 September 2011
# Whom: Alberto Villa <avilla@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= kstars
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= astro kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE 4 desktop planetarium
LIB_DEPENDS= cfitsio.0:${PORTSDIR}/astro/cfitsio
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/eigen2.pc:${PORTSDIR}/math/eigen2 \
xplanet:${PORTSDIR}/astro/xplanet
RUN_DEPENDS= xplanet:${PORTSDIR}/astro/xplanet
CONFLICTS= kdeedu-4.[0-6].*
USE_KDE4= kdehier kdelibs kdeprefix automoc4
KDE4_BUILDENV= yes
USE_QT4= opengl qmake_build moc_build rcc_build uic_build
USE_XZ= yes
MAKE_JOBS_SAFE= yes
.include <bsd.port.mk>