1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/security/p5-Digest-MD5-M4p/Makefile
Lars Thegler cce566565c Add p5-Digest-MD5-M4p 0.01,
Perl interface to a variant of the MD5 algorithm.

Approved by:	erwin (implicit)
2004-06-27 15:34:51 +00:00

39 lines
922 B
Makefile

# New ports collection makefile for: p5-Digest-MD5-M4p
# Date created: 27 June 2004
# Whom: Lars Thegler <lth@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Digest-MD5-M4p
PORTVERSION= 0.01
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Digest
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= Perl interface to a variant of the MD5 algorithm
BUILD_DEPENDS= ${SITE_PERL}/Digest.pm:${PORTSDIR}/security/p5-Digest
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
CONFIGURE_ARGS= INSTALLDIRS=site
MAN3= Digest::MD5::M4p.3
post-extract:
@${PERL} -pi -e 's/\r//g' ${WRKSRC}/M4p.xs
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} <= 500503
post-configure:
@${PERL} -pi -e '$$_="" if /use warnings/' ${WRKSRC}/M4p.pm
# make PREFIX-clean under perl 5.005_03
@${PERL} -pi -e 's,/usr/local/,\$${PREFIX}/,g' ${WRKSRC}/Makefile
.endif
.include <bsd.port.post.mk>