mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-05 11:35:01 +00:00
b50a4b0708
- Mk/bsd.database.mk rewrite, new default to db5. - db6 is eligible by default only if installed on the system. - Bump PORTREVISION of all ports that directly depend on BerkeleyDB or where USE_BDB is found in the port's directory - Patch a few ports such that they will pick up or work with newer versions. - Add UPDATING entry - Drive-by format fix for pks - Drop BerkeleyDB option from mail/popular for now, requires more work. - Exp-run logs linked from the PR below. - Ports that do not build (IGNORE, BROKEN, etc.) have pro-forma changes for new Berkeley DB, but are untested. NOTE: please read UPDATING and the Wiki page before proceeding! Announcement: http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000090.html Wiki reference: https://wiki.freebsd.org/Ports/BerkeleyDBCleanup PR: 192690 Approved by: portmgr (implicit, PORTREVISION bump on unstaged ports)
113 lines
2.8 KiB
Makefile
113 lines
2.8 KiB
Makefile
# Created by: Carl Makin <carl@stagecraft.cx>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xastir
|
|
PORTVERSION= 2.0.4
|
|
PORTREVISION= 8
|
|
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:${PORTSDIR}/x11-fonts/xfontsel
|
|
RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
|
|
LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
|
libpng15.so:${PORTSDIR}/graphics/png
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gettext gmake motif
|
|
|
|
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
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PORT_OPTIONS:MSHAPELIB}
|
|
LIB_DEPENDS+= libshp.so:${PORTSDIR}/devel/shapelib
|
|
.else
|
|
CONFIGURE_ARGS+= --without-shapelib
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MMAGICK}
|
|
LIB_DEPENDS+= libGraphicsMagickWand.so:${PORTSDIR}/graphics/GraphicsMagick
|
|
.else
|
|
CONFIGURE_ARGS+= --without-imagemagick --without-graphicsmagick
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MDBFAWK}
|
|
LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre
|
|
.else
|
|
CONFIGURE_ARGS+= --without-dbfawk
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MCURL}
|
|
LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MGEOTIFF}
|
|
LIB_DEPENDS+= libgeotiff.so:${PORTSDIR}/graphics/libgeotiff
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MGDAL}
|
|
LIB_DEPENDS+= libgdal.so:${PORTSDIR}/graphics/gdal
|
|
.else
|
|
CONFIGURE_ARGS+= --without-gdal
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MGPSMAN}
|
|
BUILD_DEPENDS+= ${LOCALBASE}/share/doc/gpsmanshp/GPSManSHP.pdf:${PORTSDIR}/graphics/gpsmanshp
|
|
SHAPELIB= true
|
|
.else
|
|
CONFIGURE_ARGS+= --without-gpsman
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MFESTIVAL}
|
|
BUILD_DEPENDS+= festival:${PORTSDIR}/audio/festival
|
|
.else
|
|
CONFIGURE_ARGS+= --without-festival
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MRTREE}
|
|
CONFIGURE_ARGS+= --with-rtree
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MERRORPOP}
|
|
CONFIGURE_ARGS+= --with-errorpopups
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MBDB}
|
|
USE_BDB= 41+
|
|
WITH_BDB_HIGHEST= ${TRUE}
|
|
INVALID_BDB_VER= 2 3 40
|
|
CONFIGURE_ARGS+= --with-bdb-incdir=${BDB_INCLUDE_DIR} --with-bdb-libdir=${BDB_LIB_DIR}
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MOPTCFLAGS}
|
|
CFLAGS+= -O2 -pipe
|
|
.endif
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
BROKEN= Does not compile on sparc64
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|