Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= gpxsee |
4 |
PORTNAME= gpxsee |
5 |
PORTVERSION= 6.3 |
5 |
PORTVERSION= 7.0 |
6 |
CATEGORIES= graphics geography |
6 |
CATEGORIES= graphics geography |
7 |
|
7 |
|
8 |
MAINTAINER= sikmir@gmail.com |
8 |
MAINTAINER= sikmir@gmail.com |
Lines 11-18
COMMENT= GPS log file viewer and analyzer
Link Here
|
11 |
LICENSE= GPLv3 |
11 |
LICENSE= GPLv3 |
12 |
LICENSE_FILE= ${WRKSRC}/licence.txt |
12 |
LICENSE_FILE= ${WRKSRC}/licence.txt |
13 |
|
13 |
|
14 |
USES= qmake:outsource desktop-file-utils qt:5 shared-mime-info |
14 |
USES= gl qmake:outsource desktop-file-utils qt:5 shared-mime-info |
15 |
USE_QT= buildtools_build core gui network opengl printsupport \ |
15 |
USE_QT= buildtools_build concurrent core gui network opengl printsupport \ |
16 |
sql sql-sqlite3_run widgets |
16 |
sql sql-sqlite3_run widgets |
17 |
USE_GL= gl |
17 |
USE_GL= gl |
18 |
|
18 |
|
Lines 20-37
USE_GITHUB= yes
Link Here
|
20 |
GH_ACCOUNT= tumic0 |
20 |
GH_ACCOUNT= tumic0 |
21 |
GH_PROJECT= GPXSee |
21 |
GH_PROJECT= GPXSee |
22 |
|
22 |
|
23 |
OPTIONS_DEFINE= NLS TIFF |
23 |
OPTIONS_DEFINE= NLS PBF TIFF |
24 |
OPTIONS_DEFAULT= TIFF |
24 |
OPTIONS_DEFAULT= PBF TIFF |
25 |
OPTIONS_SUB= yes |
25 |
OPTIONS_SUB= yes |
26 |
NLS_USE= QT=linguisttools_build |
26 |
NLS_USE= QT=linguisttools_build |
27 |
NLS_USES= gettext-runtime qt:5 |
27 |
NLS_USES= gettext-runtime qt:5 |
28 |
TIFF_DESC= Support for TIFF |
28 |
PBF_DESC= Support for PBF vector maps |
|
|
29 |
PBF_RUN_DEPENDS=${QT_PLUGINDIR}/imageformats/libpbf.so:graphics/qtpbfimageplugin |
30 |
TIFF_DESC= Support for GeoTIFF images |
29 |
TIFF_USES= qt:5 |
31 |
TIFF_USES= qt:5 |
30 |
TIFF_USE= QT=imageformats_run |
32 |
TIFF_USE= QT=imageformats_run |
31 |
|
33 |
|
32 |
do-patch: |
|
|
33 |
@${REINPLACE_CMD} -e "s|/usr/share/gpxsee|${DATADIR}|" ${WRKSRC}/src/config.h |
34 |
|
35 |
pre-build-NLS-on: |
34 |
pre-build-NLS-on: |
36 |
${LRELEASE} ${WRKSRC}/${PORTNAME}.pro |
35 |
${LRELEASE} ${WRKSRC}/${PORTNAME}.pro |
37 |
|
36 |
|
Lines 45-50
do-install:
Link Here
|
45 |
${INSTALL_DATA} ${WRKSRC}/pkg/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications |
44 |
${INSTALL_DATA} ${WRKSRC}/pkg/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications |
46 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages |
45 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages |
47 |
${INSTALL_DATA} ${WRKSRC}/pkg/${PORTNAME}.xml ${STAGEDIR}${PREFIX}/share/mime/packages |
46 |
${INSTALL_DATA} ${WRKSRC}/pkg/${PORTNAME}.xml ${STAGEDIR}${PREFIX}/share/mime/packages |
|
|
47 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/metainfo |
48 |
${INSTALL_DATA} ${WRKSRC}/pkg/appdata.xml ${STAGEDIR}${PREFIX}/share/metainfo/${PORTNAME}.appdata.xml |
48 |
|
49 |
|
49 |
do-install-NLS-on: |
50 |
do-install-NLS-on: |
50 |
@${MKDIR} ${STAGEDIR}${DATADIR}/translations |
51 |
@${MKDIR} ${STAGEDIR}${DATADIR}/translations |