mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Enable GUI for shp2pgsql loader
PR: ports/157605 Submitted by: Rainer Hurling <rhurlin@gwdg.de> Approved by: maintainer(timeout, >20 days)
This commit is contained in:
parent
493bbc09d3
commit
c16d937335
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276768
@ -7,9 +7,10 @@
|
||||
|
||||
PORTNAME= postgis
|
||||
PORTVERSION= 1.5.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases geography
|
||||
MASTER_SITES= http://postgis.refractions.net/download/ \
|
||||
http://www.postgis.org/download/
|
||||
http://www.postgis.org/download/
|
||||
|
||||
MAINTAINER= anderson@cnpm.embrapa.br
|
||||
COMMENT= Adds support for geographic objects to PostgreSQL databases
|
||||
@ -25,15 +26,27 @@ USE_ICONV= yes
|
||||
USE_LDCONFIG= yes
|
||||
USE_PERL5_BUILD= yes
|
||||
|
||||
OPTIONS= LOADERGUI "Enable shp2pgsql-gui" Off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
INSTALL_TARGET= install
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
.if defined(WITH_LOADERGUI)
|
||||
USE_GNOME= libxml2 gtk20
|
||||
CONFIGURE_ARGS= --with-projdir=${LOCALBASE} --with-gui
|
||||
PLIST_SUB+= LOADERGUI=""
|
||||
.else
|
||||
USE_GNOME= libxml2
|
||||
CONFIGURE_ARGS= --with-projdir=${LOCALBASE}
|
||||
PLIST_SUB+= LOADERGUI="@comment "
|
||||
.endif
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
MAKE_ENV= DATADIR=${DATADIR} DOCSDIR=${DOCSDIR}
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
CONFIGURE_ARGS= --with-projdir=${LOCALBASE}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
bin/pgsql2shp
|
||||
bin/shp2pgsql
|
||||
%%LOADERGUI%%bin/shp2pgsql-gui
|
||||
lib/postgresql/liblwgeom.so
|
||||
lib/postgresql/liblwgeom.so.1
|
||||
lib/postgresql/postgis-1.5.so
|
||||
|
Loading…
Reference in New Issue
Block a user