summaryrefslogtreecommitdiffstats
path: root/japanese/zipcodes/Makefile
blob: f7008f1b3299a527b7997a63465321d1984bd9ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:	ja-zipcodes
# Date created:		5 Nov 1997
# Whom:			Jun-ichiro itojun Itoh <itojun@itojun.org>
#
# $FreeBSD$
#

PORTNAME=	zipcodes
PORTVERSION=	20030307
CATEGORIES=	japanese misc
MASTER_SITES=	http://www.post.yusei.go.jp/newnumber/lzh/s/
DISTNAME=	ken_all
EXTRACT_SUFX=	.lzh

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Japanese zipcode tables. includes both 3/5 and 7 digits form

BUILD_DEPENDS=	lha:${PORTSDIR}/archivers/lha \
		nkf:${PORTSDIR}/japanese/nkf

EXTRACT_CMD=	lha
EXTRACT_BEFORE_ARGS=	p
EXTRACT_AFTER_ARGS=	>ken_all.csv
NO_WRKSUBDIR=	yes

USE_PERL5=	yes
MAKE_ENV=	INSTALL_DATA="${INSTALL_DATA}" SCRIPTDIR=${SCRIPTDIR} PERL=${PERL}

post-extract:
	@${CP} ${FILESDIR}/Makefile ${WRKDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud