freebsd-ports/security/p5-Digest-MD5/Makefile

32 lines
708 B
Makefile
Raw Normal View History

1999-04-07 22:20:33 +02:00
# New ports collection makefile for: p5-Digest-MD5
1999-04-12 10:24:16 +02:00
# Date created: 1999/04/07
# Whom: ache
1999-04-07 22:20:33 +02:00
#
1999-08-31 03:53:22 +02:00
# $FreeBSD$
1999-04-07 22:20:33 +02:00
#
PORTNAME= Digest-MD5
PORTVERSION= 2.36
1999-04-07 22:20:33 +02:00
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Digest
PKGNAMEPREFIX= p5-
1999-04-07 22:20:33 +02:00
MAINTAINER= tabthorpe@FreeBSD.org
COMMENT= Perl5 interface to the MD5 algorithm
1999-04-07 22:20:33 +02:00
BUILD_DEPENDS= ${SITE_PERL}/Digest.pm:${PORTSDIR}/security/p5-Digest
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
1999-04-07 22:20:33 +02:00
MAN3= Digest::MD5.3
1999-04-07 22:20:33 +02:00
.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>