Mark Linimon 56b6a10e78 This port requires USES=compiler:c++11-lang to build on GCC-based
architectures.

While here, add USES=gnome, and use localbase:ldflags to simplify.

PR:		234308
Submitted by:	Piotr Kubaj
Approved by:	portmgr (tier-2 blanket)
2018-12-26 12:17:25 +00:00

34 lines
853 B
Makefile

# Created by: lbartoletti <coder@tuxfamily.org>
# $FreeBSD$
PORTNAME= spatialite_gui
PORTVERSION= 1.7.1
PORTREVISION= 6
CATEGORIES= databases geography
MASTER_SITES= http://www.gaia-gis.it/gaia-sins/
MAINTAINER= lbartoletti@tuxfamily.org
COMMENT= Graphical User Interface (GUI) tool supporting SpatiaLite
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgaiagraphics.so:graphics/libgaiagraphics \
libfreexl.so:textproc/freexl \
libspatialite.so:databases/spatialite
USES= compiler:c++11-lang gmake gnome iconv localbase:ldflags \
pkgconfig
USE_WX= 2.8
GNU_CONFIGURE= yes
USE_GNOME= libxml2
CPPFLAGS+= `${WX_CONFIG} --cppflags`
LDFLAGS+= ${ICONV_LIB} `${WX_CONFIG} --libs` -lsqlite3
CONFIGURE_ARGS= CFLAGS="${CFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
PLIST_FILES= bin/spatialite_gui
.include <bsd.port.mk>