1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/mail/gotmail/Makefile
Edwin Groothuis 6ac138c01e Update port:mail/gotmail to version 0.7.9 to work with changes in Hotmail
Updated gotmail to 0.7.9 to get more hotmail spam.

PR:		ports/50061
Submitted by:	Bjorn Nelson <o_sleep@babbleheaven.com>
Reviewed by:	Erwin Lansing <erwin@lansing.dk>
2003-04-02 12:08:38 +00:00

45 lines
1.3 KiB
Makefile

# New ports collection makefile for: gotmail
# Date created: 9 August 2001
# Whom: Christopher Elkins <chrise@scardini.com>
#
# $FreeBSD$
#
PORTNAME= gotmail
PORTVERSION= 0.7.9
CATEGORIES= mail perl5
MASTER_SITES= http://savannah.nongnu.org/download/gotmail/stable.pkg/${PORTVERSION}/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= erwin@lansing.dk
COMMENT= A script to fetch mail from a Hotmail or MSN mailbox
RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/URI.pm:${PORTSDIR}/net/p5-URI \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/libnet.cfg:${PORTSDIR}/net/p5-Net
MAN1= ${PORTNAME}.1
NO_BUILD= yes
USE_PERL5= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
pre-patch:
${PERL} -pi -e 's|\r$$||' ${WRKSRC}/${PORTNAME}
${PERL} -pi -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/${PORTNAME}
do-install:
.for i in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/${i} ${MANPREFIX}/man/man1
.endfor # i in ${MAN1}
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
.for i in ChangeLog README sample.gotmailrc
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/${PORTNAME}
.endfor # i in ChangeLog README sample.gotmailrc
.endif # !defined(NOPORTDOCS)
.include <bsd.port.mk>