freebsd-ports/mail/pronto/Makefile

44 lines
1.3 KiB
Makefile
Raw Normal View History

# Created by: killer <killer@prosalg.no>
# $FreeBSD$
PORTNAME= pronto
PORTVERSION= 2.4.0
PORTREVISION= 3
CATEGORIES= mail perl5
MASTER_SITES= http://muhri.net/pronto/
MAINTAINER= ports@FreeBSD.org
COMMENT= Mail client for Gnome/Gtk written in Perl
BUILD_DEPENDS=\
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
.if defined(WITH_MYSQL)
BUILD_DEPENDS+= p5-Mysql>=0:${PORTSDIR}/databases/p5-Mysql
.endif
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5 shebangfix
SHEBANG_FILES= cpronto.pl pronto pronto-main prontobrowser prontolock \
prontosend prontoget
post-patch:
@${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,,' \
${WRKSRC}/Makefile
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
's,/usr/local,${PREFIX},g' ${WRKSRC}/Makefile
@${FIND} ${WRKSRC} -name "*".bak | ${XARGS} ${RM} -f
.include <bsd.port.mk>