diff options
author | Wen Heping <wen@FreeBSD.org> | 2011-07-01 06:22:55 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2011-07-01 06:22:55 +0000 |
commit | c16d937335620b8273562c30d56d895ca36c43d2 (patch) | |
tree | cd45899df4392e61b041a3c5cfc0ca2cb60dc20f /databases/postgis/Makefile | |
parent | 493bbc09d3a21cb6413786648180c386102f1bbd (diff) | |
download | ports-c16d937335620b8273562c30d56d895ca36c43d2.tar.gz ports-c16d937335620b8273562c30d56d895ca36c43d2.zip |
Notes
Diffstat (limited to 'databases/postgis/Makefile')
-rw-r--r-- | databases/postgis/Makefile | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/databases/postgis/Makefile b/databases/postgis/Makefile index 9579c8c8d68b..e40e6a838f29 100644 --- a/databases/postgis/Makefile +++ b/databases/postgis/Makefile @@ -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> |