aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/postgis/Makefile5
-rw-r--r--databases/postgis/files/patch-postgis-Makefile.in2
-rw-r--r--databases/postgis/pkg-plist28
3 files changed, 18 insertions, 17 deletions
diff --git a/databases/postgis/Makefile b/databases/postgis/Makefile
index 3b0f1af2deb9..ef247a8f9438 100644
--- a/databases/postgis/Makefile
+++ b/databases/postgis/Makefile
@@ -21,6 +21,7 @@ RUN_DEPENDS= postmaster:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
USE_BISON= build
USE_PGSQL= yes
USE_GMAKE= yes
+USE_ICONV= yes
USE_LDCONFIG= yes
USE_PERL5_BUILD= yes
@@ -40,8 +41,8 @@ BUILD_DEPENDS+= xsltproc:${PORTSDIR}/textproc/libxslt \
CONFIGURE_ARGS+= --with-xsldir=${LOCALBASE}/share/xsl/docbook
MAN1= pgsql2shp.1 shp2pgsql.1
PORTDOCS= *
-#.else
-#MAKE_ARGS+= NOPORTDOCS=yes
+.else
+MAKE_ARGS+= NOPORTDOCS=yes
.endif
post-extract:
diff --git a/databases/postgis/files/patch-postgis-Makefile.in b/databases/postgis/files/patch-postgis-Makefile.in
index 83b6b2d9ea72..fec63c4beb38 100644
--- a/databases/postgis/files/patch-postgis-Makefile.in
+++ b/databases/postgis/files/patch-postgis-Makefile.in
@@ -20,7 +20,7 @@
postgis_upgrade.sql: postgis.sql
- $(PERL) ../utils/postgis_proc_upgrade.pl $< > $@
-+ /usr/local/bin/perl ../utils/postgis_proc_upgrade.pl $< > $@
++ %PERL% ../utils/postgis_proc_upgrade.pl $< > $@
# Generate any .sql.in files from .sql.in.c files by running them through the C pre-processor
$(SQL_OBJS): %.in: %.in.c
diff --git a/databases/postgis/pkg-plist b/databases/postgis/pkg-plist
index 7d06e98c90f7..a54a57379666 100644
--- a/databases/postgis/pkg-plist
+++ b/databases/postgis/pkg-plist
@@ -4,18 +4,18 @@ lib/postgresql/postgis-1.4.so
lib/postgresql/postgis.so
lib/postgresql/liblwgeom.so
lib/postgresql/liblwgeom.so.1
-share/postgis/contrib/postgis.sql
-share/postgis/contrib/postgis_upgrade.sql
-share/postgis/contrib/spatial_ref_sys.sql
-share/postgis/contrib/uninstall_postgis.sql
-share/postgis/utils/create_undef.pl
-share/postgis/utils/new_postgis_restore.pl
-share/postgis/utils/postgis_proc_upgrade.pl
-share/postgis/utils/postgis_restore.pl
-share/postgis/utils/profile_intersects.pl
-share/postgis/utils/test_estimation.pl
-share/postgis/utils/test_joinestimation.pl
-@dirrm share/postgis/utils
-@dirrm share/postgis/contrib
-@dirrm share/postgis
+%%DATADIR%%/contrib/postgis.sql
+%%DATADIR%%/contrib/postgis_upgrade.sql
+%%DATADIR%%/contrib/spatial_ref_sys.sql
+%%DATADIR%%/contrib/uninstall_postgis.sql
+%%DATADIR%%/utils/create_undef.pl
+%%DATADIR%%/utils/new_postgis_restore.pl
+%%DATADIR%%/utils/postgis_proc_upgrade.pl
+%%DATADIR%%/utils/postgis_restore.pl
+%%DATADIR%%/utils/profile_intersects.pl
+%%DATADIR%%/utils/test_estimation.pl
+%%DATADIR%%/utils/test_joinestimation.pl
+@dirrm %%DATADIR%%/utils
+@dirrm %%DATADIR%%/contrib
+@dirrm %%DATADIR%%
@dirrmtry lib/postgresql