aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/ajaxzip2-core/Makefile
blob: 9dde812f9a58ddc29c6837f3c0db22c2fed22f6a (plain) (blame)
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
# $FreeBSD$

PORTNAME=   ajaxzip2
PORTVERSION=    20081102
PORTREVISION=   1
CATEGORIES= japanese
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= kuriyama
PKGNAMESUFFIX=  -core
DISTNAME=   ${PORTNAME}-${PORTVERSION}${PKGNAMESUFFIX}

MAINTAINER= kuriyama@FreeBSD.org
COMMENT=    ajaxzip2 (Japanese ZIP code utility) core scripts

USES=       shebangfix
WRKSRC=     ${WRKDIR}/${PORTNAME}
USE_ZIP=    YES
NO_BUILD=   YES
USE_DOS2UNIX=   YES
SHEBANG_FILES=  work/csv2jsonzip.pl

NO_STAGE=   yes
do-install:
    ${MKDIR} ${WWWDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/ajaxzip2.js ${WWWDIR}/
    ${INSTALL_SCRIPT} ${WRKSRC}/work/csv2jsonzip.pl ${DATADIR}/

.include <bsd.port.mk>