2012-11-28 18:30:20 +01:00
|
|
|
# Created by: David Le Brun <david@trucs.org>
|
2008-05-02 12:09:47 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= viking
|
2016-03-09 18:57:05 +01:00
|
|
|
PORTVERSION= 1.6.2
|
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
2018-07-30 00:18:44 +02:00
|
|
|
PORTREVISION= 6
|
2008-05-02 12:09:47 +02:00
|
|
|
CATEGORIES= astro
|
2013-11-19 00:04:19 +01:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/
|
2008-05-02 12:09:47 +02:00
|
|
|
|
2018-01-13 15:35:03 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2012-11-29 16:20:29 +01:00
|
|
|
COMMENT= Program to manage GPS data (tracks, waypoints, etc.)
|
2008-05-02 12:09:47 +02:00
|
|
|
|
2016-03-09 18:57:05 +01:00
|
|
|
LICENSE= GPLv2+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2012-05-21 05:09:59 +02:00
|
|
|
|
2017-03-29 08:50:28 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs
|
2016-04-01 15:29:15 +02:00
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
|
|
|
libexpat.so:textproc/expat2 \
|
|
|
|
libfontconfig.so:x11-fonts/fontconfig \
|
|
|
|
libfreetype.so:print/freetype2 \
|
|
|
|
libgexiv2.so:graphics/gexiv2 \
|
|
|
|
libpcre.so:devel/pcre \
|
2017-03-29 08:50:28 +02:00
|
|
|
libpng.so:graphics/png
|
2016-04-01 15:29:15 +02:00
|
|
|
RUN_DEPENDS= gpsbabel:astro/gpsbabel
|
2008-05-02 12:09:47 +02:00
|
|
|
|
2016-03-09 18:57:05 +01:00
|
|
|
USES= compiler:c++11-lib gmake iconv desktop-file-utils perl5 pkgconfig tar:bzip2
|
The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:
Xorg 7.7
Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities
Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.
PR: ports/177942
Exp-run by: miwi
Approved by: portmgr (miwi)
Thanks to all who helped testing!
2013-05-25 16:37:02 +02:00
|
|
|
USE_XORG= pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext \
|
2012-11-28 18:30:20 +01:00
|
|
|
xfixes xi xinerama xrandr xrender
|
2015-09-18 18:16:04 +02:00
|
|
|
USE_GNOME= cairo gnomedocutils gtk20 intlhack
|
2013-08-18 22:45:45 +02:00
|
|
|
USE_PERL5= run
|
2013-06-07 17:37:47 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2011-08-25 08:54:21 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2012-05-21 05:09:59 +02:00
|
|
|
|
2013-02-07 16:37:15 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -pthread
|
2008-05-02 12:09:47 +02:00
|
|
|
|
2014-03-18 01:15:20 +01:00
|
|
|
PORTDOCS= AUTHORS ChangeLog NEWS README
|
2012-11-28 18:30:20 +01:00
|
|
|
|
2016-03-09 18:57:05 +01:00
|
|
|
OPTIONS_DEFINE= DOCS GEOCACHES NLS GEOTAG GPSD MAPNIK MBTILES
|
|
|
|
OPTIONS_DEFAULT= GEOTAG GPSD JOSM MAPNIK MBTILES
|
2014-03-18 01:15:20 +01:00
|
|
|
|
|
|
|
OPTIONS_MULTI= OpenStreetMap-Editor
|
|
|
|
OPTIONS_MULTI_OpenStreetMap-Editor= JOSM MERKAATOR
|
|
|
|
|
|
|
|
GEOCACHES_DESC= GeoCaches Acquire support
|
2012-11-29 16:20:29 +01:00
|
|
|
GEOTAG_DESC= Geotag support
|
|
|
|
GPSD_DESC= Realtime GPS tracking
|
2016-03-09 18:57:05 +01:00
|
|
|
MAPNIK_DESC= Mapnik support
|
|
|
|
MBTILES_DESC= MBTiles support
|
2014-03-18 01:15:20 +01:00
|
|
|
JOSM_DESC= Edit OpenStreetMap via JOSM
|
|
|
|
MERKAATOR_DESC= Edit OpenStreetMap via Merkaartor
|
2012-11-28 18:30:20 +01:00
|
|
|
|
2013-08-18 22:45:45 +02:00
|
|
|
OPTIONS_SUB= yes
|
2012-11-28 18:30:20 +01:00
|
|
|
|
2014-03-18 01:15:20 +01:00
|
|
|
GEOCACHES_CONFIGURE_ENABLE= geocaches
|
2015-08-19 15:29:59 +02:00
|
|
|
GEOCACHES_SUB_FILES= pkg-message
|
2014-03-18 01:15:20 +01:00
|
|
|
|
2013-08-18 22:45:45 +02:00
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
NLS_USES= gettext
|
2013-11-19 00:04:19 +01:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
GEOTAG_LIB_DEPENDS= libexif.so:graphics/libexif
|
2013-08-18 22:45:45 +02:00
|
|
|
GEOTAG_CONFIGURE_ENABLE=geotag
|
2008-05-02 12:09:47 +02:00
|
|
|
|
2018-01-13 15:35:03 +01:00
|
|
|
GPSD_LIB_DEPENDS= libgps.so:astro/gpsd
|
2013-11-19 00:04:19 +01:00
|
|
|
GPSD_CONFIGURE_ENABLE= realtime-gps-tracking
|
2008-05-02 12:09:47 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
MAPNIK_LIB_DEPENDS= libmapnik.so:graphics/mapnik
|
2016-11-11 12:59:55 +01:00
|
|
|
MAPNIK_CONFIGURE_ENV= ac_cv_lib_icuuc_main=no # indirect
|
2016-03-09 18:57:05 +01:00
|
|
|
MAPNIK_CONFIGURE_ENABLE= mapnik
|
|
|
|
|
|
|
|
MBTILES_USES= sqlite
|
|
|
|
MBTILES_CONFIGURE_ENABLE= mbtiles
|
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
JOSM_RUN_DEPENDS= josm:astro/josm
|
|
|
|
MERKAATOR_RUN_DEPENDS= merkaartor:astro/merkaartor
|
2014-03-18 01:15:20 +01:00
|
|
|
|
2011-11-19 00:30:13 +01:00
|
|
|
post-patch:
|
2016-11-11 12:59:55 +01:00
|
|
|
@${REINPLACE_CMD} -e '/as_fn_error.*libicuuc/d' ${WRKSRC}/configure
|
2012-05-21 05:09:59 +02:00
|
|
|
@${REINPLACE_CMD} -e '/^AM_CFLAGS/s| -g | |' ${WRKSRC}/src/Makefile.in
|
2014-03-18 01:15:20 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|Science;|Education;Science;|' \
|
|
|
|
${WRKSRC}/src/viking.desktop.in
|
2011-08-25 08:54:21 +02:00
|
|
|
|
2012-11-28 18:30:20 +01:00
|
|
|
post-install:
|
2013-11-19 00:04:19 +01:00
|
|
|
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
|
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/
|
2012-11-28 18:30:20 +01:00
|
|
|
|
2016-03-09 18:57:05 +01:00
|
|
|
post-install-DOCS-on:
|
2013-11-19 00:04:19 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
2012-11-28 18:30:20 +01:00
|
|
|
|
2011-08-25 08:54:21 +02:00
|
|
|
.include <bsd.port.mk>
|