aboutsummaryrefslogtreecommitdiffstats
path: root/databases/spatialite_gui/Makefile
blob: 7ef123cb10e44b8853015daea252cacfd412457e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: lbartoletti <coder@tuxfamily.org>
# $FreeBSD$

PORTNAME=   spatialite_gui
PORTVERSION=    1.7.1
PORTREVISION=   1
CATEGORIES= databases geography
MASTER_SITES=   http://www.gaia-gis.it/gaia-sins/

MAINTAINER= coder@tuxfamily.org
COMMENT=    Graphical User Interface (GUI) tool supporting SpatiaLite

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`
CONFIGURE_ARGS= CFLAGS="${CFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG=   yes

PLIST_FILES=    bin/spatialite_gui

NO_STAGE=   yes
.include <bsd.port.mk>