mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
28 lines
664 B
Makefile
28 lines
664 B
Makefile
# Created by: Rong-En Fan <rafan@infor.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Encode
|
|
PORTVERSION= 2.97
|
|
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
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|bin/enc2xs||; s|bin/piconv||' ${WRKSRC}/Makefile.PL
|
|
@${REINPLACE_CMD} -e 's|bin/encguess||' ${WRKSRC}/Makefile.PL
|
|
|
|
post-install:
|
|
${FIND} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Encode/ -name '*.so' -exec ${STRIP_CMD} {} +
|
|
|
|
.include <bsd.port.mk>
|