freebsd-ports/astro/foxtrotgps/Makefile
Muhammad Moinur Rahman 1045cc9d88 astro/foxtrotgps: Fix build with llvm15
Approved by:	portmgr (blanket)
2023-06-05 16:23:44 +02:00

45 lines
1.1 KiB
Makefile

PORTNAME= foxtrotgps
PORTVERSION= 1.2.2
PORTREVISION= 5
CATEGORIES= astro geography
MASTER_SITES= http://www.foxtrotgps.org/releases/
MAINTAINER= crwhipp@gmail.com
COMMENT= Lightweight opensource gps moving map application
WWW= https://www.foxtrotgps.org/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcurl.so:ftp/curl \
libexif.so:graphics/libexif \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libgps.so:astro/gpsd \
libsoup-2.4.so:devel/libsoup
USES= compiler:c++11-lang gettext gmake gnome pkgconfig python \
shebangfix sqlite:3
USE_GNOME= cairo gtk20 intltool libglade2 libxml2
GLIB_SCHEMAS= org.foxtrotgps.gschema.xml
SHEBANG_FILES= contrib/convert2gpx \
contrib/convert2osm \
contrib/georss2foxtrotgps-poi\
contrib/gpx2osm \
contrib/osb2foxtrot \
contrib/poi2osm
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-schemas-install
CONFIGURE_ENV= DATADIRNAME=share
INFO= foxtrotgps
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
.include <bsd.port.post.mk>