blob: f08b865060b29ed7567fec159079af1718c56e01 (
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
31
32
33
34
35
36
37
|
# Created by: Rong-En Fan <rafan@infor.org>
# $FreeBSD$
PORTNAME= Encode
PORTVERSION= 2.83
CATEGORIES= converters perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:DANKOGAI
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Provides interfaces between strings and the rest of the system
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
USE_PERL5= configure
USES= perl5
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502200
PLIST_SUB+= OLD_PERL=""
.else
PLIST_SUB+= OLD_PERL="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|bin/enc2xs||; s|bin/piconv||' ${WRKSRC}/Makefile.PL
.if ${PERL_LEVEL} >= 502200
@${REINPLACE_CMD} -e 's|bin/encguess||' ${WRKSRC}/Makefile.PL
.endif
post-install:
${FIND} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Encode/ -name '*.so' | ${XARGS} -J % ${STRIP_CMD} %
.include <bsd.port.post.mk>
|