diff --git a/deskutils/subsurface/Makefile b/deskutils/subsurface/Makefile index 65c83457c2f1..a19a513edf93 100644 --- a/deskutils/subsurface/Makefile +++ b/deskutils/subsurface/Makefile @@ -1,51 +1,55 @@ PORTNAME= subsurface DISTVERSIONPREFIX=v DISTVERSION= 5.0.10 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= deskutils MAINTAINER= romain@FreeBSD.org COMMENT= Manage and display dive computer data WWW= https://subsurface-divelog.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -DEPRECATED= Depends on deprecated www/qt5-webkit -EXPIRATION_DATE= 2023-12-31 - LIB_DEPENDS= libdivecomputer.so:comms/libdc \ libzip.so:archivers/libzip \ libgit2.so:devel/libgit2 \ libcurl.so:ftp/curl \ libssh2.so:security/libssh2 -USES= cmake:noninja desktop-file-utils gmake pkgconfig qt:5 gnome qmake:no_configure sqlite +USES= cmake:noninja desktop-file-utils gl gmake pkgconfig qt:5 gnome \ + qmake:no_configure sqlite ssl USE_GITHUB= yes +USE_GL= gl GH_TUPLE= subsurface:googlemaps:7ce7124b385b2ebac0f72c38b094f436d4fe5c58:subsurface/googlemaps USE_GNOME= libxml2 libxslt -USE_QT= buildtools concurrent connectivity core declarative declarative-test:build gui linguisttools:build location network printsupport quickcontrols2 svg testlib webkit widgets +USE_QT= buildtools:build concurrent connectivity core declarative \ + declarative-test:build gui linguisttools:build location network \ + quickcontrols2 svg testlib:build widgets +# Disable the built-in user manual and printing support which require qt5-webkit +CMAKE_ON= NO_PRINTING \ + NO_USERMANUAL MAKE_ENV+= DESTDIR=${STAGEDIR} pre-configure: (cd ${WRKSRC}/googlemaps && ${QMAKE}) pre-build: (cd ${WRKSRC}/googlemaps && ${MAKE}) pre-install: (cd ${WRKSRC}/googlemaps && ${SETENV} INSTALL_ROOT=${STAGEDIR} make install) post-build: ${MV} ${WRKSRC}/Documentation/user-manual.html.git ${BUILD_WRKSRC}/Documentation/user-manual.html dxo-install: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/subsurface ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/subsurface.desktop ${STAGEDIR}${PREFIX}/share/applications ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_DATA} ${WRKSRC}/icons/subsurface-icon.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} "Documentation theme printing_templates translations" ${STAGEDIR}${DATADIR}) .include