blob: a88a7c22bc16d202b5b0506169fbc13949fd6bf4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $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>
|