e9c34f4c34
Among changes: - Switch KDE4_PREFIX to ${LOCALBASE} - Remove now needless misc/kde4-shared-mime-info port - Add stage support - Remove ancient CONFLICTS (KDE 4.9 and less) and LATEST_LINK - Squeeze MASTER_SITES/MASTER_SITE_SUBDIR - Convert LIB_DEPENDS to new style - Use options helpers - Drop support for FreeBSD 7.x - Remove Qt/KDE 3 related workarounds - Remove local patches and use upstream version scheme for libraries - sysutils/kdeadmin4, net/kdenetwork4, devel/kdesdk4, and x11-clocks/kdetoys4 ports have been split. - devel/kcachegrind is now a part of KDE SC [1] - more logs in area51 repo... New ports: devel/kde-dev-scripts: KDE development scripts devel/kde-dev-utils: KDE development utilities games/klickety: Tetris themed solitaire games/picmi: Single player logic-based puzzle game textproc/libkomparediff2: Library to compare files and strings The area51 repository features commits by Schaich Alonso, avilla, rakuco and myself. PR: ports/186491 Exp-run: by bdrewery Approved by: beat (former maintainer) [1]
39 lines
1.1 KiB
Makefile
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
|
|
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_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>
|