diff options
author | gdt <gdt@pkgsrc.org> | 2007-07-28 11:06:36 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2007-07-28 11:06:36 +0000 |
commit | 53507951627846781624204a125db2b320f6f637 (patch) | |
tree | 649d1df94e9b0d8aa133a9c4ef2d7862c63786f1 /geography/epsg/files | |
parent | da231b113e1a8670d02c9da292fd9ff3d01928a5 (diff) | |
download | pkgsrc-53507951627846781624204a125db2b320f6f637.tar.gz |
Update to 6.13, provided by Brook Milligan.
Update license, and unset RESTRICTED.
Documentation is lo longer included; see epsg-docs.
The new version has updated parameters and has rationalized the use of
terms "supersede", "retire" and "replace".
Diffstat (limited to 'geography/epsg/files')
-rwxr-xr-x | geography/epsg/files/epsg-load | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/geography/epsg/files/epsg-load b/geography/epsg/files/epsg-load index e3e4bb9cc91..f8e937c462b 100755 --- a/geography/epsg/files/epsg-load +++ b/geography/epsg/files/epsg-load @@ -1,9 +1,9 @@ #!/bin/sh -# $NetBSD: epsg-load,v 1.2 2006/10/12 22:56:08 wiz Exp $ +# $NetBSD: epsg-load,v 1.3 2007/07/28 11:06:36 gdt Exp $ # epsg - import EPSG data into a relational database -# Copyright (c) 2006 Brook Milligan <brook@nmsu.edu> +# Copyright (c) 2006,2007 Brook Milligan <brook@nmsu.edu> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -41,6 +41,7 @@ HELP=0 USE_PGSQL=0 USE_MYSQL=0 +VERS=@VERS@ SRCDIR=@EPSGDIR@ PSQL=@PREFIX@/bin/psql @@ -103,14 +104,14 @@ fi if [ $USE_PGSQL -eq 1 ]; then echo "importing into a PostgreSQL database ..." - $PSQL -f $SRCDIR/EPSG_v6_11.mdb_Tables_PostgreSQL.sql $PSQL_FLAGS - $PSQL -f $SRCDIR/EPSG_v6_11.mdb_Data_PostgreSQL.sql $PSQL_FLAGS - $PSQL -f $SRCDIR/EPSG_v6_11.mdb_FKeys_PostgreSQL.sql $PSQL_FLAGS + $PSQL -f $SRCDIR/EPSG_v$VERS.mdb_Tables_PostgreSQL.sql $PSQL_FLAGS + $PSQL -f $SRCDIR/EPSG_v$VERS.mdb_Data_PostgreSQL.sql $PSQL_FLAGS + $PSQL -f $SRCDIR/EPSG_v$VERS.mdb_FKeys_PostgreSQL.sql $PSQL_FLAGS fi if [ $USE_MYSQL -eq 1 ]; then echo "importing into a mySQL database ..." - $MYSQL $MYSQL_FLAGS < $SRCDIR/EPSG_v6_11.mdb_Tables_MySQL.sql - $MYSQL $MYSQL_FLAGS < $SRCDIR/EPSG_v6_11.mdb_Data_MySQL.sql - $MYSQL $MYSQL_FLAGS < $SRCDIR/EPSG_v6_11.mdb_FKeys_MySQL.sql + $MYSQL $MYSQL_FLAGS < $SRCDIR/EPSG_v$VERS.mdb_Tables_MySQL.sql + $MYSQL $MYSQL_FLAGS < $SRCDIR/EPSG_v$VERS.mdb_Data_MySQL.sql + $MYSQL $MYSQL_FLAGS < $SRCDIR/EPSG_v$VERS.mdb_FKeys_MySQL.sql fi |