mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# New ports collection makefile for: marble
|
|
# Date created: 2010-05-30
|
|
# Whom: Max Brazhnikov <makc@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= marble
|
|
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= Virtual globe and world atlas for KDE
|
|
|
|
CONFLICTS= kdeedu-4.4.[0-4]
|
|
|
|
USE_KDE4= kdehier kdelibs kdeprefix automoc4
|
|
KDE4_BUILDENV= yes
|
|
USE_QT_VER= 4
|
|
QT_COMPONENTS= dbus declarative gui network \
|
|
phonon script sql svg webkit xml \
|
|
qmake_build moc_build rcc_build uic_build
|
|
USE_BZIP2= yes
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
OPTIONS= GPS "Support for GPS position provider" on
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.ifndef(WITHOUT_GPS)
|
|
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>
|