From baf91a8f1cbe4821603c211bf17403880c268753 Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Thu, 5 Jun 2014 20:37:20 +0000 Subject: [PATCH] - Add staging support, allow it as normal user - Remove leading article from COMMENT - Fix perl shebangs, bump PORTREVISION - Use canonical name for patch --- mail/pronto/Makefile | 12 ++++++++---- mail/pronto/files/{patch-aa => patch-Makefile} | 0 mail/pronto/pkg-plist | 2 ++ 3 files changed, 10 insertions(+), 4 deletions(-) rename mail/pronto/files/{patch-aa => patch-Makefile} (100%) 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 similarity index 100% rename from mail/pronto/files/patch-aa rename to 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