aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/zipcodes/files
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2003-12-16 09:30:19 +0800
committerkuriyama <kuriyama@FreeBSD.org>2003-12-16 09:30:19 +0800
commit0721eb36ae1861bb95b297148be1526f134fce28 (patch)
tree27e1dd0cb0916584fc908b820c13d7d11812a4e3 /japanese/zipcodes/files
parent46e8d91c8b1189ca6d399c0843e6c5a958367e6d (diff)
downloadfreebsd-ports-gnome-0721eb36ae1861bb95b297148be1526f134fce28.tar.gz
freebsd-ports-gnome-0721eb36ae1861bb95b297148be1526f134fce28.tar.zst
freebsd-ports-gnome-0721eb36ae1861bb95b297148be1526f134fce28.zip
o Update to 20031208.
o Take maintainership. o Add jigyosyo data. o Copy distfiles on my $MASTER_SITE_LOCAL. o Install original (but euc-jp converted) CSV files.
Diffstat (limited to 'japanese/zipcodes/files')
-rw-r--r--japanese/zipcodes/files/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/japanese/zipcodes/files/Makefile b/japanese/zipcodes/files/Makefile
index 24d09cfa5e99..ab799c6a4a66 100644
--- a/japanese/zipcodes/files/Makefile
+++ b/japanese/zipcodes/files/Makefile
@@ -17,14 +17,17 @@ CSV= ken_all.csv
EUCCSV= ${CSV:%.csv=%.euc-csv}
PERL?= /usr/bin/perl
NKF?= ${LOCALBASE}/bin/nkf
+DESTDIR=${PREFIX}/share/misc/jp-zipcodes
all: zipcodes.5digits zipcodes.7digits
-install: zipcodes.5digits zipcodes.7digits
+install: zipcodes.5digits zipcodes.7digits jigyosyo.euc-csv
mkdir -p ${PREFIX}/share/misc/jp-zipcodes
for i in zipcodes.5digits zipcodes.7digits; do \
- ${INSTALL_DATA} $$i ${PREFIX}/share/misc/jp-zipcodes; \
+ ${INSTALL_DATA} $$i ${DESTDIR}; \
done
+ ${INSTALL_DATA} ken_all.euc-csv ${DESTDIR}/ken_all-euc.csv
+ ${INSTALL_DATA} jigyosyo.euc-csv ${DESTDIR}/jigyosyo-euc.csv
zipcodes.5digits: ${EUCCSV}
cat ${EUCCSV} | ${PERL} ${SCRIPTDIR}/genold.pl > zipcodes.5digits