diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2003-12-16 09:30:19 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2003-12-16 09:30:19 +0800 |
commit | 0721eb36ae1861bb95b297148be1526f134fce28 (patch) | |
tree | 27e1dd0cb0916584fc908b820c13d7d11812a4e3 /japanese | |
parent | 46e8d91c8b1189ca6d399c0843e6c5a958367e6d (diff) | |
download | freebsd-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')
-rw-r--r-- | japanese/zipcodes/Makefile | 24 | ||||
-rw-r--r-- | japanese/zipcodes/distinfo | 3 | ||||
-rw-r--r-- | japanese/zipcodes/files/Makefile | 7 | ||||
-rw-r--r-- | japanese/zipcodes/pkg-plist | 2 |
4 files changed, 26 insertions, 10 deletions
diff --git a/japanese/zipcodes/Makefile b/japanese/zipcodes/Makefile index 4586c6047587..0c4a10705e93 100644 --- a/japanese/zipcodes/Makefile +++ b/japanese/zipcodes/Makefile @@ -6,21 +6,20 @@ # PORTNAME= zipcodes -PORTVERSION= 20031108 +PORTVERSION= 20031208 CATEGORIES= japanese misc -MASTER_SITES= http://post.ah-tech.co.jp/zipcode/dl/kogaki/lzh/ -DISTNAME= ken_all -EXTRACT_SUFX= .lzh +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= kuriyama +DISTFILES= ken_all-${PORTVERSION}.lzh jigyosyo-${PORTVERSION}.lzh -MAINTAINER= ports@FreeBSD.org +MAINTAINER= kuriyama@FreeBSD.org COMMENT= Japanese zipcode tables. includes both 3/5 and 7 digits form EXTRACT_DEPENDS=lha:${PORTSDIR}/archivers/lha BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf EXTRACT_CMD= lha -EXTRACT_BEFORE_ARGS= p -EXTRACT_AFTER_ARGS= >ken_all.csv +EXTRACT_BEFORE_ARGS= x NO_WRKSUBDIR= yes USE_PERL5_BUILD=yes @@ -30,3 +29,14 @@ post-extract: @${CP} ${FILESDIR}/Makefile ${WRKDIR} .include <bsd.port.mk> + +# for maintainance. +fetch1: + fetch http://post.ah-tech.co.jp/zipcode/dl/kogaki/lzh/ken_all.lzh + fetch http://post.ah-tech.co.jp/zipcode/dl/jigyosyo/lzh/jigyosyo.lzh + +fetch2: + m=`stat -f %m ken_all.lzh`; \ + mv ken_all.lzh `date -r $${m} +ken_all-%Y%m%d.lzh` + m=`stat -f %m jigyosyo.lzh`; \ + mv jigyosyo.lzh `date -r $${m} +jigyosyo-%Y%m%d.lzh` diff --git a/japanese/zipcodes/distinfo b/japanese/zipcodes/distinfo index dea062c6d044..39adb5c16f43 100644 --- a/japanese/zipcodes/distinfo +++ b/japanese/zipcodes/distinfo @@ -1 +1,2 @@ -MD5 (ken_all.lzh) = 5996660da470d781c1481eecca14bdb3 +MD5 (ken_all-20031208.lzh) = 49ac6fe008dae0d33a3872ec74fa2938 +MD5 (jigyosyo-20031208.lzh) = 7e1522a3f58b0ac52ca2436b5395c283 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 diff --git a/japanese/zipcodes/pkg-plist b/japanese/zipcodes/pkg-plist index 9930dce8ef5f..2c4f234095b2 100644 --- a/japanese/zipcodes/pkg-plist +++ b/japanese/zipcodes/pkg-plist @@ -1,3 +1,5 @@ +share/misc/jp-zipcodes/jigyosyo-euc.csv +share/misc/jp-zipcodes/ken_all-euc.csv share/misc/jp-zipcodes/zipcodes.5digits share/misc/jp-zipcodes/zipcodes.7digits @dirrm share/misc/jp-zipcodes |