aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-Digest-MD5/Makefile
blob: 95b625343b0cfcf33519ce30c07051b47fefed01 (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
31
# New ports collection makefile for:    p5-Digest-MD5
# Date created:             1999/04/07
# Whom:                 ache
#
# $FreeBSD$
#

PORTNAME=   Digest-MD5
PORTVERSION=    2.36
CATEGORIES= security perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Digest
PKGNAMEPREFIX=  p5-

MAINTAINER= thomas@goodking.ca
COMMENT=    Perl5 interface to the MD5 algorithm

BUILD_DEPENDS=  ${SITE_PERL}/Digest.pm:${PORTSDIR}/security/p5-Digest
RUN_DEPENDS:=   ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Digest::MD5.3

.include <bsd.port.pre.mk>

post-patch:
    ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/MD5.pm
    ${PERL} -pi -e '$$_ = "" if m{5.006}' ${WRKSRC}/Makefile.PL

.include <bsd.port.post.mk>