openbsd-ports/comms/xastir/Makefile
jasper 6184ef9000 remove libs from libwmf from wantlib. they are added when the installed imagemagick
is !,no_x11. So instead of enforcing the non-non_x11 flavor, fix wantlib.
2011-11-06 18:57:58 +00:00

57 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.25 2011/11/06 18:57:58 jasper Exp $
COMMENT= X amateur station tracking and info reporting
DISTNAME= xastir-1.8.2
REVISION= 16
CATEGORIES= comms hamradio geo
HOMEPAGE= http://www.xastir.org/
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= $(MASTER_SITE_SOURCEFORGE:=xastir/)
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.59
AUTOMAKE_VERSION= 1.9
USE_GROFF = Yes
MAKE_ENV+=MOTIFLIB='-L${LOCALBASE}/lib -lXm'
CONFIGURE_ARGS= --with-shapelib \
--with-pcre \
--with-libproj \
--with-geotiff \
--with-dbfawk \
--with-rtree \
--with-map-cache \
--with-imagemagick \
--with-x \
--without-ax25 \
--without-gpsman \
--without-festival \
--without-gdal \
--with-bdb-libdir=$(LOCALBASE)/lib/db4 \
--with-bdb-incdir=$(LOCALBASE)/include/db4
WANTLIB += ICE SM c pthread freetype Xt Xpm Xext m X11 z proj
WANTLIB += tiff curl shp geotiff MagickCore>=1
WANTLIB += lib/db4/db>=4 pcre Xm
WANTLIB += bz2 djvulibre expat fftw3 fontconfig jasper jbig jpeg
WANTLIB += lcms2 ltdl lzma png xml2
MODULES= devel/gettext
LIB_DEPENDS= net/curl \
devel/shapelib \
devel/geotiff \
graphics/ImageMagick \
databases/db/v4 \
devel/pcre \
x11/openmotif
.include <bsd.port.mk>