diff options
Diffstat (limited to 'geography/epsg/Makefile')
-rw-r--r-- | geography/epsg/Makefile | 45 |
1 files changed, 23 insertions, 22 deletions
diff --git a/geography/epsg/Makefile b/geography/epsg/Makefile index b9341f37384..1d0a4867074 100644 --- a/geography/epsg/Makefile +++ b/geography/epsg/Makefile @@ -1,22 +1,24 @@ -# $NetBSD: Makefile,v 1.4 2006/10/04 14:25:57 gdt Exp $ +# $NetBSD: Makefile,v 1.5 2006/10/12 22:56:08 wiz Exp $ # -DISTNAME= epsg-v6_11sql-PostgreSQL -PKGNAME= epsg-6.11 -PKGREVISION= 2 +DISTNAME= epsg-v6_11_1sql-PostgreSQL +PKGNAME= epsg-6.11.1 CATEGORIES= geography databases MASTER_SITES+= http://www.epsg.org/databases/ -DISTFILES+= epsg-v6_11sql-PostgreSQL.zip \ - epsg-v6_11sql-mySQL.zip \ +DISTFILES+= epsg-v6_11_1sql-PostgreSQL.zip \ + epsg-v6_11_1sql-mySQL.zip \ G7-1.pdf G7-2.pdf -EXTRACT_ONLY= epsg-v6_11sql-PostgreSQL.zip \ - epsg-v6_11sql-mySQL.zip +EXTRACT_ONLY= epsg-v6_11_1sql-PostgreSQL.zip \ + epsg-v6_11_1sql-mySQL.zip DIST_SUBDIR= epsg-20060823 MAINTAINER= brook@nmsu.edu HOMEPAGE= http://www.epsg.org/ COMMENT= EPSG Geodetic Parameters database +# don't make filenames lowercase +EXTRACT_OPTS_ZIP= -aqo + LICENSE= epsg-license RESTRICTED= No commercial redistribution NO_SRC_ON_CDROM= ${RESTRICTED} @@ -25,9 +27,9 @@ NO_BIN_ON_CDROM= ${RESTRICTED} SITES.G7-1.pdf= http://www.epsg.org/guides/docs/ SITES.G7-2.pdf= ${SITES.G7-1.pdf} -WRKSRC= ${WRKDIR}/epsg-v6_11sql-postgresql -WRKSRC.pgsql= ${WRKDIR}/epsg-v6_11sql-PostgreSQL -WRKSRC.mysql= ${WRKDIR}/epsg-v6_11sql-mySQL +WRKSRC= ${WRKDIR}/epsg-v6_11_1sql-PostgreSQL +WRKSRC.pgsql= ${WRKDIR}/epsg-v6_11_1sql-PostgreSQL +WRKSRC.mysql= ${WRKDIR}/epsg-v6_11_1sql-mySQL NO_BUILD= yes @@ -38,19 +40,18 @@ EPSGDIR= ${PREFIX}/share/epsg MESSAGE_SUBST+= DOCDIR=${DOCDIR:Q} MESSAGE_SUBST+= EPSGDIR=${EPSGDIR:Q} -DATAFILES.pgsql+= EPSG_v6_11.mdb_Data_PostgreSQL.sql -DATAFILES.pgsql+= EPSG_v6_11.mdb_FKeys_PostgreSQL.sql -DATAFILES.pgsql+= EPSG_v6_11.mdb_Tables_PostgreSQL.sql +DATAFILES.pgsql+= EPSG_v6_11_1.mdb_Data_PostgreSQL.sql +DATAFILES.pgsql+= EPSG_v6_11_1.mdb_FKeys_PostgreSQL.sql +DATAFILES.pgsql+= EPSG_v6_11_1.mdb_Tables_PostgreSQL.sql -DATAFILES.mysql+= EPSG_v6_11.mdb_Data_MySQL.sql -DATAFILES.mysql+= EPSG_v6_11.mdb_FKeys_MySQL.sql -DATAFILES.mysql+= EPSG_v6_11.mdb_Tables_MySQL.sql +DATAFILES.mysql+= EPSG_v6_11_1.mdb_Data_MySQL.sql +DATAFILES.mysql+= EPSG_v6_11_1.mdb_FKeys_MySQL.sql +DATAFILES.mysql+= EPSG_v6_11_1.mdb_Tables_MySQL.sql -SUBST_CLASSES+= epsg SUBST_STAGE.epsg= configure -SUBST_FILES.epsg= epsg.sh -SUBST_SED.epsg= -e "s:$$[{]PREFIX[}]:${PREFIX:Q}:" -SUBST_SED.epsg+= -e "s:$$[{]EPSGDIR[}]:${EPSGDIR:Q}:" +SUBST_FILES.epsg= epsg-load +SUBST_SED.epsg= -e "s:@PREFIX@:${PREFIX:Q}:" +SUBST_SED.epsg+= -e "s:@EPSGDIR@:${EPSGDIR:Q}:" SUBST_MESSAGE.epsg= Fixing EPSG example script post-extract: @@ -63,7 +64,7 @@ do-install: ${INSTALL_DATA_DIR} ${EPSGDIR} ${INSTALL_DATA} ${WRKSRC}/G7-1.pdf ${DOCDIR:Q} ${INSTALL_DATA} ${WRKSRC}/G7-2.pdf ${DOCDIR:Q} - ${INSTALL_DATA} ${WRKSRC}/epsg-v6_11-readme.pdf ${DOCDIR:Q} + ${INSTALL_DATA} ${WRKSRC}/epsg-v6_11_1-Readme.pdf ${DOCDIR:Q} ${INSTALL_SCRIPT} ${WRKSRC}/epsg-load ${BINDIR} .for d in pgsql mysql .for f in ${DATAFILES.${d}} |