From Michael ( michi plus openbsd at dataswamp dot org) who takes
MAINTAINER, thanks !
while here, add a configure.ac patch backported from
6ee6348ca9
to properly detect an upcoming proj 8 update - backwards compatible with
the in-tree proj 7.2.1.
55 lines
1.2 KiB
Makefile
55 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.43 2021/03/05 07:53:53 landry Exp $
|
|
|
|
COMMENT= X amateur station tracking and info reporting
|
|
|
|
VERSION= 2.1.6
|
|
GH_ACCOUNT= Xastir
|
|
GH_PROJECT= Xastir
|
|
GH_TAGNAME= Release-${VERSION}
|
|
DISTNAME= ${GH_PROJECT}-${VERSION}
|
|
PKGNAME= xastir-${VERSION}
|
|
|
|
CATEGORIES= comms hamradio geo
|
|
|
|
HOMEPAGE= https://xastir.org/
|
|
|
|
MAINTAINER= Michael <michi+openbsd@dataswamp.org>
|
|
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB = GraphicsMagick ICE SM X11 Xext Xm Xpm Xt bz2 c curl db
|
|
WANTLIB += freetype geotiff lcms2 ltdl lzma m pcre proj
|
|
WANTLIB += pthread shp tiff z
|
|
|
|
CONFIGURE_STYLE= autoconf
|
|
AUTOCONF_VERSION= 2.69
|
|
AUTOMAKE_VERSION= 1.11
|
|
MAKE_ENV+=MOTIFLIB='-L${LOCALBASE}/lib -lXm'
|
|
.if ${MACHINE} == "sparc64"
|
|
CFLAGS += -fno-tree-ter
|
|
.endif
|
|
|
|
CONFIGURE_ARGS= --with-shapelib \
|
|
--with-pcre \
|
|
--with-libproj \
|
|
--with-geotiff \
|
|
--with-dbfawk \
|
|
--with-rtree \
|
|
--with-x \
|
|
--without-ax25 \
|
|
--without-gpsman \
|
|
--without-festival \
|
|
--with-bdb-libdir=$(LOCALBASE)/lib/db4 \
|
|
--with-bdb-incdir=$(LOCALBASE)/include/db4
|
|
|
|
|
|
LIB_DEPENDS= net/curl \
|
|
devel/shapelib \
|
|
devel/geotiff \
|
|
graphics/GraphicsMagick \
|
|
databases/db/v4 \
|
|
devel/pcre \
|
|
x11/motif
|
|
|
|
.include <bsd.port.mk>
|