Index: head/japanese/ajaxzip2-data/Makefile =================================================================== --- head/japanese/ajaxzip2-data/Makefile (revision 410075) +++ head/japanese/ajaxzip2-data/Makefile (revision 410076) @@ -1,42 +1,42 @@ # $FreeBSD$ PORTNAME= ajaxzip2 -PORTVERSION= 20151228 +PORTVERSION= 20160229 CATEGORIES= japanese MASTER_SITES= LOCAL/kuriyama PKGNAMESUFFIX= -data DISTFILES= ken_all-${PORTVERSION_K}.zip jigyosyo-${PORTVERSION_J}.zip MAINTAINER= kuriyama@FreeBSD.org COMMENT= ajaxzip2 (Japanese ZIP code utility) ZIP data BUILD_DEPENDS= ja-ajaxzip2-core>0:${PORTSDIR}/japanese/ajaxzip2-core \ p5-JSON>0:${PORTSDIR}/converters/p5-JSON NO_WRKSUBDIR= yes USES= perl5 zip USE_PERL5= build PORTVERSION_K?= ${PORTVERSION} PORTVERSION_J?= ${PORTVERSION} do-build: ${MKDIR} ${WRKSRC}/data ${WRKSRC}/work cd ${WRKSRC}/work && ${DATADIR}/csv2jsonzip.pl ../KEN_ALL.CSV ../JIGYOSYO.CSV do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/data cd ${WRKSRC}/data && ${INSTALL_DATA} zip-???.json ${STAGEDIR}${DATADIR}/data/ # for maintenance. fetch1: fetch http://www.post.japanpost.jp/zipcode/dl/kogaki/zip/ken_all.zip fetch http://www.post.japanpost.jp/zipcode/dl/jigyosyo/zip/jigyosyo.zip ${CHMOD} og+r *.zip fetch2: m=`stat -f %m ken_all.zip`; \ ${MV} ken_all.zip `date -r $${m} +ken_all-%Y%m%d.zip` m=`stat -f %m jigyosyo.zip`; \ ${MV} jigyosyo.zip `date -r $${m} +jigyosyo-%Y%m%d.zip` .include Index: head/japanese/ajaxzip2-data/distinfo =================================================================== --- head/japanese/ajaxzip2-data/distinfo (revision 410075) +++ head/japanese/ajaxzip2-data/distinfo (revision 410076) @@ -1,4 +1,4 @@ -SHA256 (ken_all-20151228.zip) = c02e17514f647329cfba6a6ede0df4f4c75bf43e1234c9f1b066a7a115950cc5 -SIZE (ken_all-20151228.zip) = 1684172 -SHA256 (jigyosyo-20151228.zip) = 56bcc3a7d27c6fcff5fd9b5abb7bf51ae564215cd199119e2e81ec6bbb074a8c -SIZE (jigyosyo-20151228.zip) = 750896 +SHA256 (ken_all-20160229.zip) = 5b950b67a3499e937ceacc8839fd0ddc3ad113f12f4c6eb9e4854e45dcd98e68 +SIZE (ken_all-20160229.zip) = 1684317 +SHA256 (jigyosyo-20160229.zip) = 9b56cca45bea6bd3d6e7c2262d6714a390cef40bfa36e8503caf7dc50366052e +SIZE (jigyosyo-20160229.zip) = 751519 Index: head/japanese/zipcodes/Makefile =================================================================== --- head/japanese/zipcodes/Makefile (revision 410075) +++ head/japanese/zipcodes/Makefile (revision 410076) @@ -1,38 +1,38 @@ # $FreeBSD$ PORTNAME= zipcodes -PORTVERSION= 20151228 +PORTVERSION= 20160229 CATEGORIES= japanese MASTER_SITES= LOCAL/kuriyama DISTFILES= ken_all-${PORTVERSION_K}.zip jigyosyo-${PORTVERSION_J}.zip MAINTAINER= kuriyama@FreeBSD.org COMMENT= Japanese zipcode tables. includes both 3/5 and 7 digits form BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf NO_WRKSUBDIR= yes USES= perl5 zip USE_PERL5= build MAKE_ENV= INSTALL_DATA="${INSTALL_DATA}" SCRIPTDIR=${SCRIPTDIR} PERL=${PERL} STAGEDIR=${STAGEDIR} PORTVERSION_K?= ${PORTVERSION} PORTVERSION_J?= ${PORTVERSION} post-extract: @${CP} ${FILESDIR}/Makefile ${WRKSRC} cd ${WRKSRC}; ${MV} KEN_ALL.CSV ken_all.csv; ${MV} JIGYOSYO.CSV jigyosyo.csv # for maintenance. fetch1: fetch http://www.post.japanpost.jp/zipcode/dl/kogaki/zip/ken_all.zip fetch http://www.post.japanpost.jp/zipcode/dl/jigyosyo/zip/jigyosyo.zip ${CHMOD} og+r *.zip fetch2: m=`stat -f %m ken_all.zip`; \ ${MV} ken_all.zip `date -r $${m} +ken_all-%Y%m%d.zip` m=`stat -f %m jigyosyo.zip`; \ ${MV} jigyosyo.zip `date -r $${m} +jigyosyo-%Y%m%d.zip` .include Index: head/japanese/zipcodes/distinfo =================================================================== --- head/japanese/zipcodes/distinfo (revision 410075) +++ head/japanese/zipcodes/distinfo (revision 410076) @@ -1,4 +1,4 @@ -SHA256 (ken_all-20151228.zip) = c02e17514f647329cfba6a6ede0df4f4c75bf43e1234c9f1b066a7a115950cc5 -SIZE (ken_all-20151228.zip) = 1684172 -SHA256 (jigyosyo-20151228.zip) = 56bcc3a7d27c6fcff5fd9b5abb7bf51ae564215cd199119e2e81ec6bbb074a8c -SIZE (jigyosyo-20151228.zip) = 750896 +SHA256 (ken_all-20160229.zip) = 5b950b67a3499e937ceacc8839fd0ddc3ad113f12f4c6eb9e4854e45dcd98e68 +SIZE (ken_all-20160229.zip) = 1684317 +SHA256 (jigyosyo-20160229.zip) = 9b56cca45bea6bd3d6e7c2262d6714a390cef40bfa36e8503caf7dc50366052e +SIZE (jigyosyo-20160229.zip) = 751519