View | Details | Raw Unified | Return to bug 227507 | Differences between
and this patch

Collapse All | Expand All

(-)i/graphics/gpxsee/Makefile (+51 lines)
Added Link Here
1
# Created by: Nikolay Korotkiy <sikmir@gmail.com>
2
# $FreeBSD$
3
4
PORTNAME=	gpxsee
5
PORTVERSION=	5.6
6
CATEGORIES=	graphics geography
7
8
MAINTAINER=	sikmir@gmail.com
9
COMMENT=	GPS log file viewer and analyzer
10
11
LICENSE=	GPLv3
12
LICENSE_FILE=	${WRKSRC}/licence.txt
13
14
USE_GITHUB=	yes
15
GH_ACCOUNT=	tumic0
16
GH_PROJECT=	GPXSee
17
18
USES=		qmake:outsource desktop-file-utils shared-mime-info
19
USE_QT5=	buildtools_build core gui network printsupport widgets
20
USE_GL=		gl
21
22
OPTIONS_DEFINE=	NLS TIFF
23
OPTIONS_DEFAULT=	TIFF
24
OPTIONS_SUB=	yes
25
NLS_USE=	QT5=linguisttools_build
26
NLS_USES=	gettext-runtime
27
TIFF_DESC=	Support for TIFF
28
TIFF_USE=	QT5=imageformats_run
29
30
do-patch:
31
	@${REINPLACE_CMD} -e "s|/usr/share/gpxsee|${DATADIR}|" ${WRKSRC}/src/config.h
32
33
pre-build-NLS-on:
34
	${LRELEASE} ${WRKSRC}/${PORTNAME}.pro
35
36
do-install:
37
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/GPXSee ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
38
	@${MKDIR} ${STAGEDIR}${DATADIR}/maps
39
	${INSTALL_DATA} ${WRKSRC}/pkg/maps/* ${STAGEDIR}${DATADIR}/maps
40
	@${MKDIR} ${STAGEDIR}${DATADIR}/csv
41
	${INSTALL_DATA} ${WRKSRC}/pkg/csv/* ${STAGEDIR}${DATADIR}/csv
42
	${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps
43
	${INSTALL_DATA} ${WRKSRC}/pkg/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications
44
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages
45
	${INSTALL_DATA} ${WRKSRC}/pkg/${PORTNAME}.xml ${STAGEDIR}${PREFIX}/share/mime/packages
46
47
do-install-NLS-on:
48
	@${MKDIR} ${STAGEDIR}${DATADIR}/translations
49
	${INSTALL_DATA} ${WRKSRC}/lang/*.qm ${STAGEDIR}${DATADIR}/translations
50
51
.include <bsd.port.mk>
(-)i/graphics/gpxsee/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1523632479
2
SHA256 (tumic0-GPXSee-5.6_GH0.tar.gz) = f49207d94ff1764407ba1571fee0b542402f0965099a110481db0e3c406ed5e7
3
SIZE (tumic0-GPXSee-5.6_GH0.tar.gz) = 942771
(-)i/graphics/gpxsee/pkg-descr (+6 lines)
Added Link Here
1
GPS log file viewer and analyzer.
2
3
GPXSee is a GPS log file viewer and analyzer that supports
4
GPX, TCX, KML, FIT, IGC and NMEA files.
5
6
WWW: http://www.gpxsee.org/
(-)i/graphics/gpxsee/pkg-plist (+18 lines)
Added Link Here
1
bin/gpxsee
2
share/applications/gpxsee.desktop
3
%%DATADIR%%/csv/ellipsoids.csv
4
%%DATADIR%%/csv/gcs.csv
5
%%DATADIR%%/csv/pcs.csv
6
%%DATADIR%%/maps/4UMaps.xml
7
%%DATADIR%%/maps/OpenStreetMap.xml
8
%%DATADIR%%/maps/OpenTopoMap.xml
9
%%DATADIR%%/maps/USGS-imagery.xml
10
%%DATADIR%%/maps/USGS-topo.xml
11
%%NLS%%%%DATADIR%%/translations/gpxsee_cs.qm
12
%%NLS%%%%DATADIR%%/translations/gpxsee_de.qm
13
%%NLS%%%%DATADIR%%/translations/gpxsee_fi.qm
14
%%NLS%%%%DATADIR%%/translations/gpxsee_fr.qm
15
%%NLS%%%%DATADIR%%/translations/gpxsee_ru.qm
16
%%NLS%%%%DATADIR%%/translations/gpxsee_sv.qm
17
share/mime/packages/gpxsee.xml
18
share/pixmaps/gpxsee.png

Return to bug 227507