diff options
author | agc <agc@pkgsrc.org> | 2005-05-26 08:58:43 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2005-05-26 08:58:43 +0000 |
commit | 5f1c542edc5d8bc2f8cc51a9c19dbb24569abff1 (patch) | |
tree | fabf7c1e3f20b589b26aecb213fd55c256a7fdec /misc/ukpostcodes | |
parent | 95d1b6957c9a310c3f0a788fb1c29c73f3fda246 (diff) | |
download | pkgsrc-5f1c542edc5d8bc2f8cc51a9c19dbb24569abff1.tar.gz |
Initial import of a list of UK national postcodes into the Packages
Collection. The list is a five-field CSV file.
Free list of UK postcodes
The list is formatted as plain text, with each record on a separate
line. Each record consists of five fields, each field being separated
by a comma. You should be able to import this data into most
applications that support "comma separated variables". The five
fields are:
1. First part of the UK postcode (area code)
2. x-coordinate (metres)
3. y-coordinate (metres)
4. Latitude
5. Longitude
Diffstat (limited to 'misc/ukpostcodes')
-rw-r--r-- | misc/ukpostcodes/DESCR | 13 | ||||
-rw-r--r-- | misc/ukpostcodes/Makefile | 21 | ||||
-rw-r--r-- | misc/ukpostcodes/PLIST | 3 | ||||
-rw-r--r-- | misc/ukpostcodes/distinfo | 5 |
4 files changed, 42 insertions, 0 deletions
diff --git a/misc/ukpostcodes/DESCR b/misc/ukpostcodes/DESCR new file mode 100644 index 00000000000..11a2f26cc43 --- /dev/null +++ b/misc/ukpostcodes/DESCR @@ -0,0 +1,13 @@ +Free list of UK postcodes + +The list is formatted as plain text, with each record on a separate +line. Each record consists of five fields, each field being separated +by a comma. You should be able to import this data into most +applications that support "comma separated variables". The five +fields are: + + 1. First part of the UK postcode (area code) + 2. x-coordinate (metres) + 3. y-coordinate (metres) + 4. Latitude + 5. Longitude diff --git a/misc/ukpostcodes/Makefile b/misc/ukpostcodes/Makefile new file mode 100644 index 00000000000..caa5a0a0da6 --- /dev/null +++ b/misc/ukpostcodes/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/05/26 08:58:43 agc Exp $ + +DISTNAME= postcodes +PKGNAME= postcodes-20040515 +CATEGORIES= misc +MASTER_SITES= http://www.jibble.org/ukpostcodes/ +EXTRACT_SUFX= .zip + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.jibble.org/ +COMMENT= UK national postcode information + +WRKSRC= ${WRKDIR} +NO_CONFIGURE= yes +NO_BUILD= yes + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/ukpostcodes + ${INSTALL_DATA} ${WRKSRC}/jibble-postcodes.csv ${PREFIX}/share/ukpostcodes/ + +.include "../../mk/bsd.pkg.mk" diff --git a/misc/ukpostcodes/PLIST b/misc/ukpostcodes/PLIST new file mode 100644 index 00000000000..65a18c0512f --- /dev/null +++ b/misc/ukpostcodes/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/05/26 08:58:43 agc Exp $ +share/ukpostcodes/jibble-postcodes.csv +@dirrm share/ukpostcodes diff --git a/misc/ukpostcodes/distinfo b/misc/ukpostcodes/distinfo new file mode 100644 index 00000000000..5fdb40c724b --- /dev/null +++ b/misc/ukpostcodes/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/05/26 08:58:43 agc Exp $ + +SHA1 (postcodes.zip) = 050678c07d36c4a996cc1ce566c17165dfef0cc6 +RMD160 (postcodes.zip) = 4709b87b784185f2076979ef3c7b80a9903ab824 +Size (postcodes.zip) = 36625 bytes |