Changeset View
Changeset View
Standalone View
Standalone View
astro/marble/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= marble | PORTNAME= marble | ||||
PORTVERSION= ${KDE4_VERSION} | DISTVERSION= ${KDE_APPLICATIONS_VERSION} | ||||
PORTREVISION= 4 | CATEGORIES= astro kde kde-applications | ||||
CATEGORIES= astro kde kde-kde4 | |||||
MAINTAINER= kde@FreeBSD.org | MAINTAINER= kde@FreeBSD.org | ||||
COMMENT= Virtual globe and world atlas for KDE | COMMENT= Virtual globe and world atlas for KDE | ||||
LIB_DEPENDS= libquazip.so:archivers/quazip@qt4 | LICENSE= GPLv2+ | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt | |||||
USES= cmake:outsource kde:4 shared-mime-info tar:xz | LIB_DEPENDS= libquazip5.so:archivers/quazip@qt5 | ||||
USE_KDE= kdelibs automoc4 | |||||
USE_QT4= corelib dbus declarative designer_build gui network phonon \ | USES= cmake:outsource desktop-file-utils gettext kde:5 tar:xz | ||||
qtestlib script sql svg webkit xml \ | USE_KDE= attica auth codecs completion config configwidgets coreaddons \ | ||||
qmake_build moc_build rcc_build uic_build | crash doctools ecm i18n jobwidgets kio newstuff package parts \ | ||||
plasma-framework runner service sonnet textwidgets wallet \ | |||||
widgetsaddons xmlgui | |||||
USE_QT5= concurrent core dbus designer gui location network opengl \ | |||||
phonon4 printsupport qml quick script sql svg webkit widgets xml \ | |||||
buildtools_build qmake_build | |||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
MAKE_ENV= XDG_CONFIG_HOME=/dev/null | MAKE_ENV= XDG_CONFIG_HOME=/dev/null | ||||
CMAKE_ARGS= -DMOBILE:BOOL=FALSE | # We have to set QT_IMPORTS_PATH, as it does not get picked up | ||||
CMAKE_ARGS= -DMOBILE:BOOL=FALSE \ | |||||
-DQT_IMPORTS_DIR:PATH=${QT_IMPORTDIR} | |||||
OPTIONS_DEFINE= GPS | OPTIONS_DEFINE= GPS | ||||
OPTIONS_DEFAULT= GPS | OPTIONS_DEFAULT=GPS | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
GPS_DESC= Support for GPS position provider | GPS_DESC= Support for GPS position provider | ||||
GPS_LIB_DEPENDS= libgps.so:astro/gpsd | GPS_LIB_DEPENDS= libgps.so:astro/gpsd | ||||
GPS_CMAKE_OFF= -DWITH_libgps:BOOL=FALSE | GPS_CMAKE_OFF= -DWITH_libgps:BOOL=FALSE | ||||
# pre-configure: | |||||
# # Prevent updating MIME during build. | |||||
# ${REINPLACE_CMD} -e '/update_xdg_mimetypes/ d' \ | |||||
# ${PATCH_WRKSRC}/data/CMakeLists.txt | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |