1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/japanese/zipcodes/Makefile
Jun Kuriyama 0b73702bb4 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.
2003-12-16 01:30:19 +00:00

43 lines
1.1 KiB
Makefile

# New ports collection makefile for: ja-zipcodes
# Date created: 5 Nov 1997
# Whom: Jun-ichiro itojun Itoh <itojun@itojun.org>
#
# $FreeBSD$
#
PORTNAME= zipcodes
PORTVERSION= 20031208
CATEGORIES= japanese misc
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= kuriyama
DISTFILES= ken_all-${PORTVERSION}.lzh jigyosyo-${PORTVERSION}.lzh
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= x
NO_WRKSUBDIR= yes
USE_PERL5_BUILD=yes
MAKE_ENV= INSTALL_DATA="${INSTALL_DATA}" SCRIPTDIR=${SCRIPTDIR} PERL=${PERL}
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`