aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/grass/Makefile10
-rw-r--r--databases/grass/distinfo1
-rw-r--r--databases/grass/pkg-plist3
3 files changed, 8 insertions, 6 deletions
diff --git a/databases/grass/Makefile b/databases/grass/Makefile
index 854d66f99a1e..2f91cf781682 100644
--- a/databases/grass/Makefile
+++ b/databases/grass/Makefile
@@ -7,7 +7,7 @@
PORTNAME= grass
PORTVERSION= 6.4.0
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= databases geography
MASTER_SITES= http://grass.itc.it/grass64/source/ \
@@ -110,12 +110,12 @@ PLIST_SUB+= ODBC=""
PLIST_SUB+= ODBC="@comment "
.endif
-.if defined(WITHOUT_PGSQL)
-CONFIGURE_ARGS+=--without-postgres
-PLIST_SUB+= PGSQL="@comment "
-.else
+.if !defined(WITHOUT_PGSQL)
USE_PGSQL= yes
+CONFIGURE_ARGS+=--with-postgres
PLIST_SUB+= PGSQL=""
+.else
+PLIST_SUB+= PGSQL="@comment "
.endif
.if defined(WITH_SQLITE)
diff --git a/databases/grass/distinfo b/databases/grass/distinfo
index 4b7ad72038c3..ea5523670345 100644
--- a/databases/grass/distinfo
+++ b/databases/grass/distinfo
@@ -1,3 +1,2 @@
-MD5 (grass-6.4.0.tar.gz) = ac3233aa3351f8e060ea48246aa01c7f
SHA256 (grass-6.4.0.tar.gz) = 1db0422de4bb6146322721760b3c2b310850069ee320e03b6a625e4472f477a7
SIZE (grass-6.4.0.tar.gz) = 22569021
diff --git a/databases/grass/pkg-plist b/databases/grass/pkg-plist
index 7b1b8e14aefe..3640fc1fd14f 100644
--- a/databases/grass/pkg-plist
+++ b/databases/grass/pkg-plist
@@ -544,6 +544,7 @@
%%GRASS_INST_DIR%%/docs/html/grass-dbf.html
%%GRASS_INST_DIR%%/docs/html/grass_logo.txt
%%GRASS_INST_DIR%%/docs/html/grass-ogr.html
+%%PGSQL%%%%GRASS_INST_DIR%%/docs/html/grass-pg.html
%%GRASS_INST_DIR%%/docs/html/grass_start.png
%%GRASS_INST_DIR%%/docs/html/g.region.html
%%GRASS_INST_DIR%%/docs/html/g.remove.html
@@ -1342,6 +1343,7 @@
%%GRASS_INST_DIR%%/driver/XDRIVER
%%GRASS_INST_DIR%%/driver/db/dbf
%%GRASS_INST_DIR%%/driver/db/ogr
+%%PGSQL%%%%GRASS_INST_DIR%%/driver/db/pg
%%GRASS_INST_DIR%%/etc/FIPS.code
%%GRASS_INST_DIR%%/etc/Init.sh
%%GRASS_INST_DIR%%/etc/VERSIONNUMBER
@@ -2595,6 +2597,7 @@
%%GRASS_INST_DIR%%/man/man1/g.tempfile.1
%%GRASS_INST_DIR%%/man/man1/g.transform.1
%%GRASS_INST_DIR%%/man/man1/g.version.1
+%%PGSQL%%%%GRASS_INST_DIR%%/man/man1/grass-pg.1
%%GRASS_INST_DIR%%/man/man1/helptext.1
%%GRASS_INST_DIR%%/man/man1/htmlmapdriver.1
%%GRASS_INST_DIR%%/man/man1/i.ask.1