summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authoragc <agc>2005-05-26 08:58:43 +0000
committeragc <agc>2005-05-26 08:58:43 +0000
commita3ffc32c10f68601a7af807a339173d3e63a7f89 (patch)
treefabf7c1e3f20b589b26aecb213fd55c256a7fdec /misc
parent093c2bf721c3ae805598e7883bb967c23e422b21 (diff)
downloadpkgsrc-a3ffc32c10f68601a7af807a339173d3e63a7f89.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')
-rw-r--r--misc/ukpostcodes/DESCR13
-rw-r--r--misc/ukpostcodes/Makefile21
-rw-r--r--misc/ukpostcodes/PLIST3
-rw-r--r--misc/ukpostcodes/distinfo5
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