rsadowski 7017608f34 Update xglobe to 0.6.3
Xglobe 0.6 is a port from Qt3 to Qt5. I had stared this rework to get rid of
KDE3/Qt3 form the ports tree. It should behave in general like the old version,
with some improvements.

The flavor could actually get out, no response from maintainer, spotted by
landry@

After many months of waiting, maintainer timeout!
2020-12-06 08:32:12 +00:00

43 lines
878 B
Makefile

# $OpenBSD: Makefile,v 1.81 2020/12/06 08:32:12 rsadowski Exp $
COMMENT= display the Earth on X11
V= 0.6.3
DISTNAME= xglobe-${V}
CATEGORIES= x11 geo
HOMEPAGE= https://github.com/sizeofvoid/xglobe
MAINTAINER= Marc Espie <espie@openbsd.org>
# GPLv2, included map is free
PERMIT_PACKAGE= Yes
WANTLIB += ${COMPILER_LIBCXX} ICE Qt5Core Qt5DBus Qt5Gui Qt5Widgets
WANTLIB += Qt5X11Extras SM X11 Xext c m
MASTER_SITES= https://github.com/sizeofvoid/xglobe/releases/download/v${V}/
MODULES= devel/cmake \
x11/qt5
LIB_DEPENDS= x11/qt5/qtx11extras
RUN_DEPENDS= geo/openbsd-developers \
x11/xwallpaper
BUILD_DEPENDS= x11/xwallpaper
FLAVORS= no_map
FLAVOR?=
.if ${FLAVOR:Mno_map}
CONFIGURE_ARGS = -DENABLE_INSTALL_MAPS=OFF
.else
CONFIGURE_ARGS = -DENABLE_INSTALL_MAPS=ON
.endif
post-install:
${INSTALL_SCRIPT} ${FILESDIR}/getcloudmap ${PREFIX}/bin
.include <bsd.port.mk>