1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/astro/marble/Makefile
Max Brazhnikov 65b2b253dc KDE/FreeBSD team presents KDE SC 4.12.4 and KDE Workspace 4.11.8!
KDE ports:
- Convert to USES=tar:xz

devel/p5-perlqt, multimedia/kdemultimedia4-ffmpegthumbs:
- Convert LIB_DEPENDS to new style

devel/p5-perlqt, devel/p5-perlkde:
- Don't remove directories installed by perl port

net/kdnssd:
- moved to net/zeroconf-ioslave (renamed upstream)

x11/kdelibs4:
- Clean up non-standard shared mime files and directories after deinstall

The area51 repository features commits by Alonso Schaich
<alonsoschaich@fastmail.fm> and makc.
2014-04-03 09:49:10 +00:00

39 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= marble
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= astro kde
MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= Virtual globe and world atlas for KDE
USE_KDE4= kdehier kdelibs kdeprefix automoc4
USES= cmake:outsource gmake shared-mime-info tar:xz
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_LDCONFIG= yes
MAKE_ENV= XDG_CONFIG_HOME=/dev/null
CMAKE_ARGS= -DMOBILE:BOOL=FALSE
LIB_DEPENDS= libquazip.so:${PORTSDIR}/archivers/quazip
OPTIONS_DEFINE= GPS
OPTIONS_DEFAULT= GPS
OPTIONS_SUB= yes
GPS_DESC= Support for GPS position provider
GPS_LIB_DEPENDS= libgps.so:${PORTSDIR}/astro/gpsd
GPS_CMAKE_OFF= -DWITH_libgps:BOOL=FALSE
pre-configure:
${REINPLACE_CMD} -e '/libgps/ s/FIND_PACKAGE/macro_optional_find_package/' \
${WRKSRC}/src/plugins/positionprovider/CMakeLists.txt
# Prevent updating MIME during build.
${REINPLACE_CMD} -e '/update_xdg_mimetypes/ d' \
${PATCH_WRKSRC}/data/CMakeLists.txt
.include <bsd.port.mk>