freebsd-ports/databases/spatialite_gui/Makefile
Dmitry Marakasov 40e0c408e3 - Fix build by adding missing library
- Add LICENSE_FILE

Approved by:	portmgr blanket
2015-08-10 15:08:21 +00:00

34 lines
927 B
Makefile

# Created by: lbartoletti <coder@tuxfamily.org>
# $FreeBSD$
PORTNAME= spatialite_gui
PORTVERSION= 1.7.1
PORTREVISION= 5
CATEGORIES= databases geography
MASTER_SITES= http://www.gaia-gis.it/gaia-sins/
MAINTAINER= coder@tuxfamily.org
COMMENT= Graphical User Interface (GUI) tool supporting SpatiaLite
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgaiagraphics.so:${PORTSDIR}/graphics/libgaiagraphics \
libfreexl.so:${PORTSDIR}/textproc/freexl \
libspatialite.so:${PORTSDIR}/databases/spatialite
USE_WX= 2.8
WANT_UNICODE= yes
GNU_CONFIGURE= yes
USE_GNOME= libxml2
USES= gmake pkgconfig iconv
CFLAGS+= -I${LOCALBASE}/include
CPPFLAGS+= -I${LOCALBASE}/include `${WX_CONFIG} --cppflags`
LDFLAGS+= -L${LOCALBASE}/lib ${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>