2005-09-17 18:43:48 +02:00
|
|
|
# Ports collection makefile for: p5-Digest-SHA
|
|
|
|
# Date created: Aug 4, 2005
|
|
|
|
# Whom: Travis Campbell <hcoyote@ghostar.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Digest-SHA
|
2011-11-08 16:01:32 +01:00
|
|
|
PORTVERSION= 5.63
|
2005-09-17 18:43:48 +02:00
|
|
|
CATEGORIES= security perl5
|
2008-04-11 17:29:20 +02:00
|
|
|
MASTER_SITES= CPAN
|
2011-03-10 04:40:21 +01:00
|
|
|
MASTER_SITE_SUBDIR= CPAN:MSHELOR
|
2005-09-17 18:43:48 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2006-05-24 02:17:28 +02:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2005-09-17 18:43:48 +02:00
|
|
|
COMMENT= Perl extension for SHA-1/224/256/384/512
|
|
|
|
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
|
|
|
MAN3= Digest::SHA.3
|
|
|
|
|
2009-03-28 21:45:10 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} >= 501000
|
|
|
|
PLIST_SUB+= EXE_FILES="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= EXE_FILES=""
|
|
|
|
MAN1= shasum.1
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.if ${PERL_LEVEL} >= 501000
|
|
|
|
@${REINPLACE_CMD} -e 's/5.010/5.666/; /EXE_FILES/d' ${WRKSRC}/Makefile.PL
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|