From ed58a231bbe785509dd34a5d65ee19ea64711c4d Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Thu, 17 May 2018 20:01:53 +0000 Subject: [PATCH] New port: graphics/gpxsee GPS log file viewer and analyzer. GPXSee is a GPS log file viewer and analyzer that supports GPX, TCX, KML, FIT, IGC, NMEA and OziExplorer files. WWW: http://www.gpxsee.org/ PR: 227507 Submitted by: Nikolay Korotkiy --- graphics/Makefile | 1 + graphics/gpxsee/Makefile | 51 +++++++++++++++++++++++++++++++++++++++ graphics/gpxsee/distinfo | 3 +++ graphics/gpxsee/pkg-descr | 6 +++++ graphics/gpxsee/pkg-plist | 19 +++++++++++++++ 5 files changed, 80 insertions(+) create mode 100644 graphics/gpxsee/Makefile create mode 100644 graphics/gpxsee/distinfo create mode 100644 graphics/gpxsee/pkg-descr create mode 100644 graphics/gpxsee/pkg-plist diff --git a/graphics/Makefile b/graphics/Makefile index a2d8ff730967..f306c37dd030 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -302,6 +302,7 @@ SUBDIR += gpicview SUBDIR += gpsmanshp SUBDIR += gpu-firmware-kmod + SUBDIR += gpxsee SUBDIR += gracula SUBDIR += grads SUBDIR += grafx2 diff --git a/graphics/gpxsee/Makefile b/graphics/gpxsee/Makefile new file mode 100644 index 000000000000..53d9bac2770b --- /dev/null +++ b/graphics/gpxsee/Makefile @@ -0,0 +1,51 @@ +# Created by: Nikolay Korotkiy +# $FreeBSD$ + +PORTNAME= gpxsee +PORTVERSION= 5.11 +CATEGORIES= graphics geography + +MAINTAINER= sikmir@gmail.com +COMMENT= GPS log file viewer and analyzer + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/licence.txt + +USES= qmake:outsource desktop-file-utils shared-mime-info +USE_QT5= buildtools_build core gui network printsupport widgets +USE_GL= gl + +USE_GITHUB= yes +GH_ACCOUNT= tumic0 +GH_PROJECT= GPXSee + +OPTIONS_DEFINE= NLS TIFF +OPTIONS_DEFAULT= TIFF +OPTIONS_SUB= yes +NLS_USE= QT5=linguisttools_build +NLS_USES= gettext-runtime +TIFF_DESC= Support for TIFF +TIFF_USE= QT5=imageformats_run + +do-patch: + @${REINPLACE_CMD} -e "s|/usr/share/gpxsee|${DATADIR}|" ${WRKSRC}/src/config.h + +pre-build-NLS-on: + ${LRELEASE} ${WRKSRC}/${PORTNAME}.pro + +do-install: + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/GPXSee ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + @${MKDIR} ${STAGEDIR}${DATADIR}/maps + ${INSTALL_DATA} ${WRKSRC}/pkg/maps/* ${STAGEDIR}${DATADIR}/maps + @${MKDIR} ${STAGEDIR}${DATADIR}/csv + ${INSTALL_DATA} ${WRKSRC}/pkg/csv/* ${STAGEDIR}${DATADIR}/csv + ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${WRKSRC}/pkg/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications + @${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages + ${INSTALL_DATA} ${WRKSRC}/pkg/${PORTNAME}.xml ${STAGEDIR}${PREFIX}/share/mime/packages + +do-install-NLS-on: + @${MKDIR} ${STAGEDIR}${DATADIR}/translations + ${INSTALL_DATA} ${WRKSRC}/lang/*.qm ${STAGEDIR}${DATADIR}/translations + +.include diff --git a/graphics/gpxsee/distinfo b/graphics/gpxsee/distinfo new file mode 100644 index 000000000000..e01db596292c --- /dev/null +++ b/graphics/gpxsee/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1526549271 +SHA256 (tumic0-GPXSee-5.11_GH0.tar.gz) = 823b4e4057440abcb40fa29234ac08a68e529d6e4168b82f1d38003e6d8e95ba +SIZE (tumic0-GPXSee-5.11_GH0.tar.gz) = 3054694 diff --git a/graphics/gpxsee/pkg-descr b/graphics/gpxsee/pkg-descr new file mode 100644 index 000000000000..d8f98f3af3ea --- /dev/null +++ b/graphics/gpxsee/pkg-descr @@ -0,0 +1,6 @@ +GPS log file viewer and analyzer. + +GPXSee is a GPS log file viewer and analyzer that supports +GPX, TCX, KML, FIT, IGC, NMEA and OziExplorer files. + +WWW: http://www.gpxsee.org/ diff --git a/graphics/gpxsee/pkg-plist b/graphics/gpxsee/pkg-plist new file mode 100644 index 000000000000..a0218cdb0c2c --- /dev/null +++ b/graphics/gpxsee/pkg-plist @@ -0,0 +1,19 @@ +bin/gpxsee +share/applications/gpxsee.desktop +%%DATADIR%%/csv/ellipsoids.csv +%%DATADIR%%/csv/gcs.csv +%%DATADIR%%/csv/pcs.csv +%%DATADIR%%/maps/4UMaps.xml +%%DATADIR%%/maps/OpenStreetMap.xml +%%DATADIR%%/maps/OpenTopoMap.xml +%%DATADIR%%/maps/USGS-imagery.xml +%%DATADIR%%/maps/USGS-topo.xml +%%NLS%%%%DATADIR%%/translations/gpxsee_cs.qm +%%NLS%%%%DATADIR%%/translations/gpxsee_de.qm +%%NLS%%%%DATADIR%%/translations/gpxsee_fi.qm +%%NLS%%%%DATADIR%%/translations/gpxsee_fr.qm +%%NLS%%%%DATADIR%%/translations/gpxsee_pl.qm +%%NLS%%%%DATADIR%%/translations/gpxsee_ru.qm +%%NLS%%%%DATADIR%%/translations/gpxsee_sv.qm +share/mime/packages/gpxsee.xml +share/pixmaps/gpxsee.png