|
Lines 2-8
Link Here
|
| 2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= viking |
4 |
PORTNAME= viking |
| 5 |
PORTVERSION= 1.6 |
5 |
PORTVERSION= 1.6.2 |
| 6 |
CATEGORIES= astro |
6 |
CATEGORIES= astro |
| 7 |
MASTER_SITES= SF/${PORTNAME}/ |
7 |
MASTER_SITES= SF/${PORTNAME}/ |
| 8 |
|
8 |
|
|
Lines 9-29
Link Here
|
| 9 |
MAINTAINER= koalative@gmail.com |
9 |
MAINTAINER= koalative@gmail.com |
| 10 |
COMMENT= Program to manage GPS data (tracks, waypoints, etc.) |
10 |
COMMENT= Program to manage GPS data (tracks, waypoints, etc.) |
| 11 |
|
11 |
|
| 12 |
LICENSE= GPLv2 |
12 |
LICENSE= GPLv2+ |
|
|
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
| 13 |
|
14 |
|
| 14 |
BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser |
|
|
| 15 |
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ |
15 |
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ |
| 16 |
libexpat.so:${PORTSDIR}/textproc/expat2 \ |
16 |
libexpat.so:${PORTSDIR}/textproc/expat2 \ |
| 17 |
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ |
17 |
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ |
| 18 |
libfreetype.so:${PORTSDIR}/print/freetype2 \ |
18 |
libfreetype.so:${PORTSDIR}/print/freetype2 \ |
| 19 |
libgexiv2.so:${PORTSDIR}/graphics/gexiv2 \ |
19 |
libgexiv2.so:${PORTSDIR}/graphics/gexiv2 \ |
| 20 |
libmapnik.so:${PORTSDIR}/graphics/mapnik \ |
|
|
| 21 |
libpcre.so:${PORTSDIR}/devel/pcre \ |
20 |
libpcre.so:${PORTSDIR}/devel/pcre \ |
| 22 |
libpng.so:${PORTSDIR}/graphics/png \ |
21 |
libpng.so:${PORTSDIR}/graphics/png \ |
| 23 |
libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs |
22 |
libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs |
| 24 |
RUN_DEPENDS= gpsbabel:${PORTSDIR}/astro/gpsbabel |
23 |
RUN_DEPENDS= gpsbabel:${PORTSDIR}/astro/gpsbabel |
| 25 |
|
24 |
|
| 26 |
USES= gmake iconv desktop-file-utils perl5 pkgconfig tar:bzip2 |
25 |
USES= compiler:c++11-lib gmake iconv desktop-file-utils perl5 pkgconfig tar:bzip2 |
| 27 |
USE_XORG= pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext \ |
26 |
USE_XORG= pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext \ |
| 28 |
xfixes xi xinerama xrandr xrender |
27 |
xfixes xi xinerama xrandr xrender |
| 29 |
USE_GNOME= cairo gnomedocutils gtk20 intlhack |
28 |
USE_GNOME= cairo gnomedocutils gtk20 intlhack |
|
Lines 30-36
Link Here
|
| 30 |
USE_PERL5= run |
29 |
USE_PERL5= run |
| 31 |
GNU_CONFIGURE= yes |
30 |
GNU_CONFIGURE= yes |
| 32 |
INSTALLS_ICONS= yes |
31 |
INSTALLS_ICONS= yes |
| 33 |
INSTALLS_OMF= yes |
|
|
| 34 |
|
32 |
|
| 35 |
CPPFLAGS+= -I${LOCALBASE}/include |
33 |
CPPFLAGS+= -I${LOCALBASE}/include |
| 36 |
LDFLAGS+= -L${LOCALBASE}/lib -pthread |
34 |
LDFLAGS+= -L${LOCALBASE}/lib -pthread |
|
Lines 37-44
Link Here
|
| 37 |
|
35 |
|
| 38 |
PORTDOCS= AUTHORS ChangeLog NEWS README |
36 |
PORTDOCS= AUTHORS ChangeLog NEWS README |
| 39 |
|
37 |
|
| 40 |
OPTIONS_DEFINE= DOCS GEOCACHES NLS GEOTAG GPSD |
38 |
OPTIONS_DEFINE= DOCS GEOCACHES NLS GEOTAG GPSD MAPNIK MBTILES |
| 41 |
OPTIONS_DEFAULT= GEOTAG GPSD JOSM |
39 |
OPTIONS_DEFAULT= GEOTAG GPSD JOSM MAPNIK MBTILES |
| 42 |
|
40 |
|
| 43 |
OPTIONS_MULTI= OpenStreetMap-Editor |
41 |
OPTIONS_MULTI= OpenStreetMap-Editor |
| 44 |
OPTIONS_MULTI_OpenStreetMap-Editor= JOSM MERKAATOR |
42 |
OPTIONS_MULTI_OpenStreetMap-Editor= JOSM MERKAATOR |
|
Lines 46-51
Link Here
|
| 46 |
GEOCACHES_DESC= GeoCaches Acquire support |
44 |
GEOCACHES_DESC= GeoCaches Acquire support |
| 47 |
GEOTAG_DESC= Geotag support |
45 |
GEOTAG_DESC= Geotag support |
| 48 |
GPSD_DESC= Realtime GPS tracking |
46 |
GPSD_DESC= Realtime GPS tracking |
|
|
47 |
MAPNIK_DESC= Mapnik support |
| 48 |
MBTILES_DESC= MBTiles support |
| 49 |
JOSM_DESC= Edit OpenStreetMap via JOSM |
49 |
JOSM_DESC= Edit OpenStreetMap via JOSM |
| 50 |
MERKAATOR_DESC= Edit OpenStreetMap via Merkaartor |
50 |
MERKAATOR_DESC= Edit OpenStreetMap via Merkaartor |
| 51 |
|
51 |
|
|
Lines 63-68
Link Here
|
| 63 |
GPSD_LIB_DEPENDS= libgpsd.so:${PORTSDIR}/astro/gpsd |
63 |
GPSD_LIB_DEPENDS= libgpsd.so:${PORTSDIR}/astro/gpsd |
| 64 |
GPSD_CONFIGURE_ENABLE= realtime-gps-tracking |
64 |
GPSD_CONFIGURE_ENABLE= realtime-gps-tracking |
| 65 |
|
65 |
|
|
|
66 |
MAPNIK_LIB_DEPENDS= libmapnik.so:${PORTSDIR}/graphics/mapnik |
| 67 |
MAPNIK_CONFIGURE_ENABLE= mapnik |
| 68 |
|
| 69 |
MBTILES_USES= sqlite |
| 70 |
MBTILES_CONFIGURE_ENABLE= mbtiles |
| 71 |
|
| 66 |
JOSM_RUN_DEPENDS= josm:${PORTSDIR}/astro/josm |
72 |
JOSM_RUN_DEPENDS= josm:${PORTSDIR}/astro/josm |
| 67 |
MERKAATOR_RUN_DEPENDS= merkaartor:${PORTSDIR}/astro/merkaartor |
73 |
MERKAATOR_RUN_DEPENDS= merkaartor:${PORTSDIR}/astro/merkaartor |
| 68 |
|
74 |
|
|
Lines 75-80
Link Here
|
| 75 |
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ |
81 |
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ |
| 76 |
${STAGEDIR}${PREFIX}/share/pixmaps/ |
82 |
${STAGEDIR}${PREFIX}/share/pixmaps/ |
| 77 |
|
83 |
|
|
|
84 |
post-install-DOCS-on: |
| 78 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
85 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
| 79 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} |
86 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} |
| 80 |
|
87 |
|