1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- 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)
This commit is contained in:
Rong-En Fan 2009-10-23 15:33:43 +00:00
parent f9297d2f2b
commit 8913c9326f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=243240
3 changed files with 18 additions and 17 deletions

View File

@ -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:

View File

@ -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

View File

@ -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