diff options
author | rafan <rafan@FreeBSD.org> | 2009-10-23 23:33:43 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2009-10-23 23:33:43 +0800 |
commit | 9e30decc1fe8d15035190a8adac4035ea837d974 (patch) | |
tree | 56e76223263c927b4d020f92c9602b65c558e459 /databases | |
parent | 3db9dabf6b1410b49f61eabb994f2daa37e28a35 (diff) | |
download | freebsd-ports-gnome-9e30decc1fe8d15035190a8adac4035ea837d974.tar.gz freebsd-ports-gnome-9e30decc1fe8d15035190a8adac4035ea837d974.tar.zst freebsd-ports-gnome-9e30decc1fe8d15035190a8adac4035ea837d974.zip |
- Unbreak with NOPORTDOCS is defined
- Pet portlint(1)
- While I'm here, add USE_ICONV and fix perl path to make build successfully
with customized PREFIX
PR: ports/139628
Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net>
Approved by: Anderson Soares Ferreira (maintainer)
Diffstat (limited to 'databases')
-rw-r--r-- | databases/postgis/Makefile | 5 | ||||
-rw-r--r-- | databases/postgis/files/patch-postgis-Makefile.in | 2 | ||||
-rw-r--r-- | databases/postgis/pkg-plist | 28 |
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 |