aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-Digest-SHA-PurePerl/Makefile
blob: 40a0e25b6721406fecd76ac61b43b80a7f1c5975 (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: Gabor Kovesdan <gabor@FreeBSD.org>
# $FreeBSD$

PORTNAME=   Digest-SHA-PurePerl
PORTVERSION=    5.81
CATEGORIES= security perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= ashish@FreeBSD.org
COMMENT=    Perl extension for SHA-1/224/256/384/512 in pure Perl

PERL_CONFIGURE= yes

PORTEXAMPLES=   dups
MAN3=   Digest::SHA::PurePerl.3

.include <bsd.port.options.mk>

post-patch:
    @${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL

.if ${PORT_OPTIONS:MEXAMPLES}
post-install:
    @${MKDIR} ${EXAMPLESDIR}
    @${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${EXAMPLESDIR}

.endif

.include <bsd.port.mk>