aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/jacode.pl/Makefile
blob: 1579fd154aabb2c4db9285c7a871a91bc3c38ee8 (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
29
30
# Created by: Takefu
# $FreeBSD$

PORTNAME=   jacode.pl
PORTVERSION=    2.13.4.11
PORTREVISION=   1
CATEGORIES= japanese perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:INA/${PORTNAME:S|.pl||}
DISTNAME=   ${PORTNAME:S|.pl||}-${PORTVERSION}

MAINTAINER= takefu@airport.fm
COMMENT=    Perl library for Japanese character code conversion

LICENSE=    GPLv1 ART10
LICENSE_COMB=   dual

USES=       perl5
USE_PERL5=  run
PLIST_FILES=    ${SITE_PERL_REL}/${PORTNAME}
NO_BUILD=   yes

pre-install:
    @cd ${WRKSRC}; ${PERL} ${WRKSRC}/t/001_test.t

do-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}
    ${INSTALL_DATA} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PORTNAME}

.include <bsd.port.mk>