forked from Lainports/freebsd-ports
Give maintainership to originator Bump PORTREVISION PR: 36600 Submitted by: ports@geeksrus.net
39 lines
932 B
Makefile
39 lines
932 B
Makefile
# New ports collection makefile for: gotmail
|
|
# Date created: 9 August 2001
|
|
# Whom: Christopher Elkins <chrise@scardini.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gotmail
|
|
PORTVERSION= 0.6.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= mail perl5
|
|
MASTER_SITES= http://www.hawkins.emu.id.au/gotmail/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= ports@geeksrus.net
|
|
|
|
RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl \
|
|
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/URI.pm:${PORTSDIR}/net/p5-URI
|
|
|
|
USE_PERL5= yes
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
pre-patch:
|
|
${PERL} -pi -e 's|\r$$||' ${WRKSRC}/${PORTNAME}.pl
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
|
|
.for i in COPYING ChangeLog README TODO sample.gotmailrc
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/${PORTNAME}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|