aboutsummaryrefslogtreecommitdiff
path: root/mail/pronto
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-06-05 20:37:20 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-06-05 20:37:20 +0000
commitbaf91a8f1cbe4821603c211bf17403880c268753 (patch)
tree757c71d700d963d2008166eb3b04f4f40067a48f /mail/pronto
parent98bd39de0e049f07d5feadc20bd3d8e51d0e7f0c (diff)
- Add staging support, allow it as normal user
- Remove leading article from COMMENT - Fix perl shebangs, bump PORTREVISION - Use canonical name for patch
Notes
Notes: svn path=/head/; revision=356704
Diffstat (limited to 'mail/pronto')
-rw-r--r--mail/pronto/Makefile12
-rw-r--r--mail/pronto/files/patch-Makefile (renamed from mail/pronto/files/patch-aa)0
-rw-r--r--mail/pronto/pkg-plist2
3 files changed, 10 insertions, 4 deletions
diff --git a/mail/pronto/Makefile b/mail/pronto/Makefile
index c7ca60d4d76a..00119e95f090 100644
--- a/mail/pronto/Makefile
+++ b/mail/pronto/Makefile
@@ -3,12 +3,12 @@
PORTNAME= pronto
PORTVERSION= 2.4.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail perl5
MASTER_SITES= http://muhri.net/pronto/
MAINTAINER= ports@FreeBSD.org
-COMMENT= A Mail Client for Gnome/Gtk written in Perl
+COMMENT= Mail client for Gnome/Gtk written in Perl
BUILD_DEPENDS=\
p5-Gtk>=0:${PORTSDIR}/x11-toolkits/p5-Gtk \
@@ -28,10 +28,14 @@ BUILD_DEPENDS+= p5-Mysql>=0:${PORTSDIR}/databases/p5-Mysql
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USES= perl5
+USES= perl5 shebangfix
+SHEBANG_FILES= cpronto.pl pronto pronto-main prontobrowser prontolock \
+ prontosend prontoget
-NO_STAGE= yes
post-patch:
+ @${REINPLACE_CMD} -E -e 's,(BIN|LIB)DIR),DESTDIR)$$(&,g' \
+ -e 's,-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
diff --git a/mail/pronto/files/patch-aa b/mail/pronto/files/patch-Makefile
index 946e734b7bcb..946e734b7bcb 100644
--- a/mail/pronto/files/patch-aa
+++ b/mail/pronto/files/patch-Makefile
diff --git a/mail/pronto/pkg-plist b/mail/pronto/pkg-plist
index 38a565972636..176570bc6834 100644
--- a/mail/pronto/pkg-plist
+++ b/mail/pronto/pkg-plist
@@ -3,7 +3,9 @@ bin/pronto
bin/pronto-main
bin/prontobrowser
bin/prontoget
+@group mail
bin/prontolock
+@group
bin/prontosend
lib/pronto/HtmlStripper.pm
lib/pronto/Pronto/About.pm