View | Details | Raw Unified | Return to bug 156972
Collapse All | Expand All

(-)jacode.pl/Makefile (-13 / +5 lines)
Lines 10-40 Link Here
10
CATEGORIES=	japanese perl5
10
CATEGORIES=	japanese perl5
11
MASTER_SITES=	CPAN
11
MASTER_SITES=	CPAN
12
MASTER_SITE_SUBDIR=	../../authors/id/I/IN/INA/${PORTNAME:S|.pl||}
12
MASTER_SITE_SUBDIR=	../../authors/id/I/IN/INA/${PORTNAME:S|.pl||}
13
DISTFILES=	${PORTNAME:S|.pl|-|}${PORTVERSION}${EXTRACT_SUFX}
13
DISTNAME=	${PORTNAME:S|.pl||}-${PORTVERSION}
14
14
15
MAINTAINER=	takefu@airport.fm
15
MAINTAINER=	takefu@airport.fm
16
COMMENT=	Perl library for Japanese character code conversion
16
COMMENT=	Perl library for Japanese character code conversion
17
17
18
USE_PERL5_RUN=	yes
18
USE_PERL5_RUN=	yes
19
PLIST_SUB=	SITE_PERL_REL=${SITE_PERL_REL} PORTNAME=${PORTNAME} JCODE=${JCODE}
19
PLIST_FILES=	${SITE_PERL_REL}/${PORTNAME}
20
NO_BUILD=	yes
20
NO_BUILD=	yes
21
21
22
LICENSE=	GPLv1 ART10
22
LICENSE=	GPLv1 ART10
23
LICENSE_COMB=	dual
23
LICENSE_COMB=	dual
24
24
25
.include <bsd.port.pre.mk>
26
27
pre-install:
25
pre-install:
28
	@cd ${WRKSRC:S|.pl-|-|}; ${PERL} ${WRKSRC:S|.pl-|-|}/test.pl
26
	@cd ${WRKSRC}; ${PERL} ${WRKSRC}/test.pl
29
27
30
do-install:
28
do-install:
31
	@${MKDIR} ${PREFIX}/${SITE_PERL_REL}
29
	@${MKDIR} ${PREFIX}/${SITE_PERL_REL}
32
	@${INSTALL_DATA} ${WRKSRC:S|.pl-|-|}/${PORTNAME} ${PREFIX}/${SITE_PERL_REL}/${PORTNAME}
30
	@${INSTALL_DATA} ${WRKSRC}/${PORTNAME} ${PREFIX}/${SITE_PERL_REL}/${PORTNAME}
33
.if !exists(${SITE_PERL}/jcode.pl)
34
	cd ${PREFIX}/${SITE_PERL_REL}; ${LN} -sf ${PORTNAME} jcode.pl
35
JCODE=	""
36
.else
37
JCODE=	"@comment "
38
.endif
39
31
40
.include <bsd.port.post.mk>
32
.include <bsd.port.mk>
(-)jacode.pl/pkg-plist (-3 lines)
Lines 1-3 Link Here
1
@comment $FreeBSD$
2
%%SITE_PERL_REL%%/%%PORTNAME%%
3
%%JCODE%%%%SITE_PERL_REL%%/jcode.pl

Return to bug 156972