Date: Sun, 8 Jan 2023 13:07:35 GMT From: Hiroki Sato <hrs@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 5ee357d40147 - main - japanese/zipcodes: Update to 20221228 Message-ID: <202301081307.308D7Z2G002988@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by hrs: URL: https://cgit.FreeBSD.org/ports/commit/?id=5ee357d40147ce09360dc9a0d390f3f4f99b9c18 commit 5ee357d40147ce09360dc9a0d390f3f4f99b9c18 Author: Hiroki Sato <hrs@FreeBSD.org> AuthorDate: 2023-01-08 13:06:44 +0000 Commit: Hiroki Sato <hrs@FreeBSD.org> CommitDate: 2023-01-08 13:06:44 +0000 japanese/zipcodes: Update to 20221228 Take maintainership and fix minor style issues. --- japanese/zipcodes/Makefile | 39 +++++++++++++++++++-------------------- japanese/zipcodes/distinfo | 10 +++++----- japanese/zipcodes/files/Makefile | 4 +--- japanese/zipcodes/pkg-plist | 4 ---- 4 files changed, 25 insertions(+), 32 deletions(-) diff --git a/japanese/zipcodes/Makefile b/japanese/zipcodes/Makefile index 4f12a637baf6..d8b18c0e4209 100644 --- a/japanese/zipcodes/Makefile +++ b/japanese/zipcodes/Makefile @@ -1,37 +1,36 @@ PORTNAME= zipcodes -PORTVERSION= 20200831 +PORTVERSION= 20221228 CATEGORIES= japanese -MASTER_SITES= LOCAL/kuriyama +MASTER_SITES= LOCAL/hrs DISTFILES= ken_all-${PORTVERSION_K}.zip jigyosyo-${PORTVERSION_J}.zip -MAINTAINER= ports@FreeBSD.org +MAINTAINER= hrs@FreeBSD.org COMMENT= Japanese zipcode tables. includes both 3/5 and 7 digits form WWW= https://www.post.japanpost.jp/zipcode/ -BUILD_DEPENDS= nkf:japanese/nkf +LICENSE= PD -NO_WRKSUBDIR= yes +BUILD_DEPENDS= nkf:japanese/nkf USES= perl5 zip USE_PERL5= build -MAKE_ENV= INSTALL_DATA="${INSTALL_DATA}" SCRIPTDIR=${SCRIPTDIR} PERL=${PERL} STAGEDIR=${STAGEDIR} + +NO_WRKSUBDIR= yes +MAKE_ENV= INSTALL_DATA="${INSTALL_DATA}" \ + SCRIPTDIR=${SCRIPTDIR} \ + PERL=${PERL} \ + STAGEDIR=${STAGEDIR} +MAKEFILE= ${FILESDIR}/Makefile +PLIST_FILES= 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 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` + cd ${WRKSRC} && \ + ${MV} KEN_ALL.CSV ken_all.csv && \ + ${MV} JIGYOSYO.CSV jigyosyo.csv .include <bsd.port.mk> diff --git a/japanese/zipcodes/distinfo b/japanese/zipcodes/distinfo index f80e53895a59..18b66d50c58d 100644 --- a/japanese/zipcodes/distinfo +++ b/japanese/zipcodes/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1600309396 -SHA256 (ken_all-20200831.zip) = 8fc04ec597996d73947fe349bae83f15d25ed3ca668d66dbac88b20a477fafd7 -SIZE (ken_all-20200831.zip) = 1690594 -SHA256 (jigyosyo-20200831.zip) = 10982c635c484158a31add918eb760241bdfea87f2a2960810bde647be28afdf -SIZE (jigyosyo-20200831.zip) = 768323 +TIMESTAMP = 1673182536 +SHA256 (ken_all-20221228.zip) = cfe8d51d3610ec20b40be7472a05afa2b92bd1e5e68c8b25871a4958d09a94ef +SIZE (ken_all-20221228.zip) = 1691520 +SHA256 (jigyosyo-20221228.zip) = d5b07562130585778860d4e173c879c17d5246049e7d958f720e192b5dfd6a5d +SIZE (jigyosyo-20221228.zip) = 773333 diff --git a/japanese/zipcodes/files/Makefile b/japanese/zipcodes/files/Makefile index 79bfb8e617e5..99494d8afec0 100644 --- a/japanese/zipcodes/files/Makefile +++ b/japanese/zipcodes/files/Makefile @@ -22,9 +22,7 @@ all: zipcodes.5digits zipcodes.7digits install: zipcodes.5digits zipcodes.7digits jigyosyo.euc-csv mkdir -p ${_DESTDIR} - for i in zipcodes.5digits zipcodes.7digits; do \ - ${INSTALL_DATA} $$i ${_DESTDIR}; \ - done + ${INSTALL_DATA} zipcodes.5digits zipcodes.7digits ${_DESTDIR} ${INSTALL_DATA} ken_all.euc-csv ${_DESTDIR}/ken_all-euc.csv ${INSTALL_DATA} jigyosyo.euc-csv ${_DESTDIR}/jigyosyo-euc.csv diff --git a/japanese/zipcodes/pkg-plist b/japanese/zipcodes/pkg-plist deleted file mode 100644 index 989b762f2ea9..000000000000 --- a/japanese/zipcodes/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301081307.308D7Z2G002988>