mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
f037e39601
- USE_BDB=4x+ -> USES=bdb. - USE_BDB=yes -> USES=bdb. - USE_BDB=xx -> USES=bdb:xx. Other modernisations when I see them. PR: 209183 Sponsored by: Absolight
78 lines
2.2 KiB
Makefile
78 lines
2.2 KiB
Makefile
# Created by: Carl Makin <carl@stagecraft.cx>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xastir
|
|
PORTVERSION= 2.0.6
|
|
PORTREVISION= 3
|
|
CATEGORIES= comms hamradio
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= carl@stagecraft.cx
|
|
COMMENT= X Amateur Station Tracking and Information Reporting
|
|
|
|
BUILD_DEPENDS= xfontsel:x11-fonts/xfontsel
|
|
RUN_DEPENDS= wget:ftp/wget
|
|
LIB_DEPENDS= libtiff.so:graphics/tiff \
|
|
libpng.so:graphics/png
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gettext gmake jpeg motif shebangfix
|
|
SHEBANG_FILES= scripts/*.pl scripts/get-maptools.sh \
|
|
scripts/gpx2shape scripts/values.pl.in
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
OPTIONS_DEFINE= SHAPELIB DBFAWK MAGICK CURL GEOTIFF GDAL GPSMAN FESTIVAL \
|
|
RTREE ERRORPOP BDB OPTCFLAGS
|
|
|
|
SHAPELIB_DESC= Include Shapelib support
|
|
DBFAWK_DESC= Include DBFAWK Support
|
|
MAGICK_DESC= Include GraphicsMagick Support
|
|
CURL_DESC= Include CURL Internet Image support
|
|
GEOTIFF_DESC= Include GeoTIFF Support
|
|
GDAL_DESC= Include GDAL Support
|
|
GPSMAN_DESC= Include GPSMAN Support
|
|
FESTIVAL_DESC= Include Festival Voice Synthesis Support
|
|
RTREE_DESC= Enable spatial indexing of shapefiles
|
|
ERRORPOP_DESC= Send error popups to stderr
|
|
BDB_DESC= Tiger Map Caching using Berkeley DB
|
|
OPTCFLAGS_DESC= Use optimized CFLAGS (-O2 -pipe)
|
|
|
|
OPTIONS_DEFAULT= SHAPELIB DBFAWK MAGICK CURL RTREE BDB
|
|
|
|
SHAPELIB_LIB_DEPENDS= libshp.so:devel/shapelib
|
|
SHAPELIB_CONFIGURE_WITH= shapelib
|
|
|
|
MAGICK_LIB_DEPENDS= libGraphicsMagickWand.so:graphics/GraphicsMagick
|
|
MAGICK_CONFIGURE_WITH= imagemagick graphicsmagick
|
|
|
|
DBFAWK_LIB_DEPENDS= libpcre.so:devel/pcre
|
|
DBFAWK_CONFIGURE_WITH= dbfawk
|
|
|
|
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
|
|
|
|
GEOTIFF_LIB_DEPENDS= libgeotiff.so:graphics/libgeotiff
|
|
|
|
GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal
|
|
GDAL_CONFIGURE_WITH= gdal
|
|
|
|
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}
|
|
|
|
OPTCFLAGS_CFLAGS= -O2 -pipe
|
|
|
|
BROKEN_sparc64= Does not compile on sparc64
|
|
|
|
.include <bsd.port.mk>
|