freebsd-ports/mail/p5-Mail-Sender/Makefile
2002-08-06 10:50:34 +00:00

31 lines
773 B
Makefile

# New ports collection makefile for: p5-Mail-Sender
# Date created: July 27th 2000
# Whom: Ben Smithurst <ben@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Mail-Sender
PORTVERSION= 0.8.00
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Mail
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Mail::Sender.3
post-patch:
${PERL} -pi -e '$$_="" if /\bwarnings\b/' ${WRKSRC}/Sender.pm
.if defined(BATCH)
${PERL} -pi -e 's/res = <STDIN>;/res = "N";/' ${WRKSRC}/Config.PL
.endif
.include <bsd.port.mk>