mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
f2beafde10
- Mark for perl 5.6.0 or higher
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# New ports collection makefile for: gotmail
|
|
# Date created: 9 August 2001
|
|
# Whom: Christopher Elkins <chrise@scardini.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gotmail
|
|
PORTVERSION= 0.8.7.1
|
|
CATEGORIES= mail perl5
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A script to fetch mail from a Hotmail or MSN mailbox
|
|
|
|
RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl \
|
|
${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
|
|
${SITE_PERL}/Net/libnet.cfg:${PORTSDIR}/net/p5-Net
|
|
|
|
MAN1= ${PORTNAME}.1
|
|
USE_PERL5= yes
|
|
|
|
do-install:
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man \
|
|
${MANPREFIX}/man/man1/${PORTNAME}.1
|
|
${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.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
|
IGNORE= requires perl 5.6.0 or higher. Please install lang/perl5.8 and try again.
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|