freebsd-ports/comms/xastir/Makefile
Po-Chuan Hsieh 45e0a4924c
devel/shapelib: Update to 1.6.0
- Add GitHub to MASTER_SITES
- Remove my LOCAL from MASTER_SITES
- Update WWW
- Update LICENSE
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/OSGeo/shapelib/releases
		http://shapelib.maptools.org/release.html
Security:	CVE-2022-0699
2023-12-26 00:10:50 +08:00

90 lines
2.4 KiB
Makefile

PORTNAME= xastir
DISTVERSIONPREFIX= Release-
DISTVERSION= 2.2.0
PORTREVISION= 2
CATEGORIES= comms hamradio
MAINTAINER= carl@stagecraft.cx
COMMENT= X Amateur Station Tracking and Information Reporting
WWW= http://www.xastir.org/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= xfontsel:x11-fonts/xfontsel
RUN_DEPENDS= wget:ftp/wget
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libjasper.so:graphics/jasper \
libjbig.so:graphics/jbigkit \
liblcms2.so:graphics/lcms2 \
libpng.so:graphics/png \
libshp.so:devel/shapelib \
libtiff.so:graphics/tiff \
libwebp.so:graphics/webp \
libwebpmux.so:graphics/webp \
libwmflite.so:graphics/libwmf \
libpcre2-8.so:devel/pcre2 \
libjxl.so:graphics/libjxl \
libjxl_threads.so:graphics/libjxl
USES= autoreconf gmake gnome jpeg motif shebangfix xorg
USE_XORG= ice sm x11 xext xt
USE_GNOME+= libxml2
GNU_CONFIGURE= yes
SHEBANG_FILES= scripts/gpx2shape
SHEBANG_REGEX= ./scripts/.*\.(sh|pl|py)
USE_GITHUB= yes
GH_ACCOUNT= Xastir
GH_PROJECT= Xastir
SUB_FILES= pkg-message
OPTIONS_DEFINE= BDB CURL DAVIS ERRORPOP FESTIVAL GEOTIFF GPSMAN
OPTIONS_RADIO= MGG
OPTIONS_RADIO_MGG= GMAGICK IMAGICK
DAVIS_DESC= Include Davis Weatherstation Support
CURL_DESC= Include CURL Internet Image support
GEOTIFF_DESC= Include GeoTIFF Support
GPSMAN_DESC= Include GPSMAN Support
FESTIVAL_DESC= Include Festival Voice Synthesis Support
ERRORPOP_DESC= Send error popups to stderr
BDB_DESC= Tiger Map Caching using Berkeley DB
MGG_DESC= Image library for raster map processing
IMAGICK_DESC= ImageMagick (Version 6)
GMAGICK_DESC= GraphicsMagick (Needs GCC to compile)
OPTIONS_DEFAULT= BDB CURL GMAGICK
DAVIS_CONFIGURE_ON= --enable-davis
IMAGICK_USES= magick:6
IMAGICK_CONFIGURE_WITH= imagemagick
GMAGICK_LIB_DEPENDS= libGraphicsMagickWand.so:graphics/GraphicsMagick
GMAGICK_CONFIGURE_WITH= graphicsmagick
GMAGICK_USES= compiler:gcc-c++11-lib
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
GEOTIFF_LIB_DEPENDS= libgeotiff.so:graphics/libgeotiff
GPSMAN_BUILD_DEPENDS= ${LOCALBASE}/share/doc/gpsmanshp/GPSManSHP.pdf:graphics/gpsmanshp
GPSMAN_IMPLIES= SHAPELIB
GPSMAN_CONFIGURE_WITH= gpsman
FESTIVAL_BUILD_DEPENDS= festival:audio/festival
FESTIVAL_CONFIGURE_WITH= festival
#RTREE_CONFIGURE_WITH= rtree
ERRORPOP_CONFIGURE_WITH= errorpopups
BDB_USES= bdb
BDB_CONFIGURE_ON= --with-bdb-incdir=${BDB_INCLUDE_DIR} \
--with-bdb-libdir=${BDB_LIB_DIR}
.include <bsd.port.mk>