blob: 524163a90a2e68ef1b98ac99505f01fdca787810 (
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
|
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= Convert-Bencode_XS
PORTVERSION= 0.06
PORTREVISION= 2
CATEGORIES= converters perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Faster conversions to/from Bencode format
RUN_DEPENDS= p5-Convert-Bencode>=0:converters/p5-Convert-Bencode
USES= perl5 shebangfix
SHEBANG_FILES= extras/*.pl
USE_PERL5= configure
OPTIONS_DEFINE= EXAMPLES
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Convert/Bencode_XS/Bencode_XS.so
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/extras/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|