freebsd-ports/astro/marble/Makefile
Raphael Kubo da Costa 18ff93d1a7 Update to KDE SC 4.10.4, proudly presented by the KDE on FreeBSD team.
With commits from avilla@, makc@, rakuco@ and Schaich Alonso.

The upstream announcement can be found in [1].
[1] http://www.kde.org/announcements/announce-4.10.4.php

clang support should be more stable now, with clang being recognized by
kdelibs4 and being passed the correct flags to build other ports.
Additionally, all ports being committed have been verified to build with
-CURRENT's clang 3.3 on an amd64 tinderbox (special thanks go to swills@ for
providing it).

Work on the newly-released 4.10.5 will begin shortly.
2013-07-02 19:04:18 +00:00

45 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= marble
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= astro kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= Virtual globe and world atlas for KDE
CONFLICTS= kdeedu-4.4.[0-4]
USE_KDE4= kdehier kdelibs kdeprefix automoc4 sharedmime
USES= cmake:outsource
USE_QT4= corelib dbus declarative designer_build gui network phonon \
qtestlib script sql svg webkit xml \
qmake_build moc_build rcc_build uic_build
USE_XZ= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
MAKE_ENV= XDG_CONFIG_HOME=/dev/null
CMAKE_ARGS= -DMOBILE:BOOL=FALSE
OPTIONS_DEFINE= GPS
OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
GPS_DESC= Support for GPS position provider
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGPS}
LIB_DEPENDS+= gps.20:${PORTSDIR}/astro/gpsd
PLIST_SUB+= GPS=""
.else
CMAKE_ARGS+= -DWITH_libgps:BOOL=FALSE
PLIST_SUB+= GPS="@comment "
.endif
pre-configure:
${REINPLACE_CMD} -e '/libgps/ s/FIND_PACKAGE/macro_optional_find_package/' \
${WRKSRC}/src/plugins/positionprovider/CMakeLists.txt
.include <bsd.port.mk>