freebsd-ports/security/p5-Digest-SHA-PurePerl/Makefile
Gabor Kovesdan abc0f12389 - Update to 5.48
PR:		ports/142669
Submitted by:	pgollucci
2010-01-20 22:22:52 +00:00

43 lines
911 B
Makefile

# Ports collection Makefile for: p5-Digest-SHA-PurePerl
# Date created: 21 Dec, 2005
# Whom: Gabor Kovesdan
# $FreeBSD$
PORTNAME= Digest-SHA-PurePerl
PORTVERSION= 5.48
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= gabor@FreeBSD.org
COMMENT= Perl extension for SHA-1/224/256/384/512 in pure Perl
PERL_CONFIGURE= yes
MAN3= Digest::SHA::PurePerl.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500803
RUN_DEPENDS+= ${SITE_PERL}/Digest/base.pm:${PORTSDIR}/security/p5-Digest
.endif
.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 '/EXE_FILES/d' ${WRKSRC}/Makefile.PL
.endif
.if !defined(NOPORTEXAMPLES)
post-install:
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/examples/dups ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>