aboutsummaryrefslogtreecommitdiff
path: root/mail/pronto/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-06-09 19:48:58 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-06-09 19:48:58 +0000
commit6987c58a85871bb560781fc1204b05adfebbfc39 (patch)
tree261bcde1be2150e5974c42ab41134d8651c033cc /mail/pronto/Makefile
parent874b6eb94087c80d85396ed9d4eb131ae2dd43f2 (diff)
downloadports-6987c58a85871bb560781fc1204b05adfebbfc39.tar.gz
ports-6987c58a85871bb560781fc1204b05adfebbfc39.zip
Notes
Diffstat (limited to 'mail/pronto/Makefile')
-rw-r--r--mail/pronto/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/mail/pronto/Makefile b/mail/pronto/Makefile
index 5a8f1032c7a4..f1598b4b2bfa 100644
--- a/mail/pronto/Makefile
+++ b/mail/pronto/Makefile
@@ -3,15 +3,14 @@
PORTNAME= pronto
PORTVERSION= 2.4.0
-PORTREVISION= 3
+PORTREVISION= 4
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 \
+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 \
@@ -21,16 +20,16 @@ BUILD_DEPENDS=\
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
-
-.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
+ prontosend prontoget migration-scripts/*
+NO_ARCH= yes
+
+OPTIONS_DEFINE= MYSQL
+MYSQL_DESC= Enable optional dependency on p5-Mysql
+MYSQL_BUILD_DEPENDS= p5-Mysql>=0:${PORTSDIR}/databases/p5-Mysql
post-patch:
@${REINPLACE_CMD} -E -e 's,(BIN|LIB)DIR),DESTDIR)$$(&,g' \