2013-09-20 21:59:12 +02:00
|
|
|
# Created by: killer <killer@prosalg.no>
|
2001-05-02 07:55:08 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pronto
|
2007-01-13 23:57:33 +01:00
|
|
|
PORTVERSION= 2.4.0
|
2014-06-05 22:37:20 +02:00
|
|
|
PORTREVISION= 3
|
2001-05-02 07:55:08 +02:00
|
|
|
CATEGORIES= mail perl5
|
|
|
|
MASTER_SITES= http://muhri.net/pronto/
|
|
|
|
|
2013-11-29 08:37:52 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-06-05 22:37:20 +02:00
|
|
|
COMMENT= Mail client for Gnome/Gtk written in Perl
|
2001-05-02 07:55:08 +02:00
|
|
|
|
|
|
|
BUILD_DEPENDS=\
|
2012-06-29 12:05:08 +02:00
|
|
|
p5-Gtk>=0:${PORTSDIR}/x11-toolkits/p5-Gtk \
|
|
|
|
p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \
|
|
|
|
p5-DBD-CSV>=0:${PORTSDIR}/databases/p5-DBD-CSV \
|
|
|
|
p5-Date-Manip>=0:${PORTSDIR}/devel/p5-Date-Manip \
|
|
|
|
p5-SQL-Statement>=0:${PORTSDIR}/databases/p5-SQL-Statement \
|
|
|
|
p5-MIME-Tools>=0:${PORTSDIR}/mail/p5-MIME-Tools \
|
|
|
|
p5-MIME-Types>=0:${PORTSDIR}/mail/p5-MIME-Types \
|
|
|
|
p5-URI>=0:${PORTSDIR}/net/p5-URI \
|
|
|
|
p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
|
|
|
|
p5-Lingua-Ispell>=0:${PORTSDIR}/textproc/p5-Lingua-Ispell
|
2001-05-02 22:59:07 +02:00
|
|
|
|
2001-05-02 07:55:08 +02:00
|
|
|
.if defined(WITH_MYSQL)
|
2012-06-29 12:05:08 +02:00
|
|
|
BUILD_DEPENDS+= p5-Mysql>=0:${PORTSDIR}/databases/p5-Mysql
|
2001-05-02 07:55:08 +02:00
|
|
|
.endif
|
|
|
|
|
2012-01-21 18:40:15 +01:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2001-05-02 07:55:08 +02:00
|
|
|
|
2014-06-05 22:37:20 +02:00
|
|
|
USES= perl5 shebangfix
|
|
|
|
SHEBANG_FILES= cpronto.pl pronto pronto-main prontobrowser prontolock \
|
|
|
|
prontosend prontoget
|
2007-10-01 07:23:51 +02:00
|
|
|
|
2009-06-21 18:53:26 +02:00
|
|
|
post-patch:
|
2014-06-05 22:37:20 +02:00
|
|
|
@${REINPLACE_CMD} -E -e 's,(BIN|LIB)DIR),DESTDIR)$$(&,g' \
|
2014-09-21 15:48:22 +02:00
|
|
|
-e 's,-m2755 -o root -g mail,,' \
|
2014-06-05 22:37:20 +02:00
|
|
|
${WRKSRC}/Makefile
|
2009-06-21 18:53:26 +02:00
|
|
|
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's,/usr/local,${PREFIX},g' ${WRKSRC}/Makefile
|
|
|
|
@${FIND} ${WRKSRC} -name "*".bak | ${XARGS} ${RM} -f
|
|
|
|
|
2007-09-08 03:12:10 +02:00
|
|
|
.include <bsd.port.mk>
|