summaryrefslogtreecommitdiff
path: root/mail/openwebmail/Makefile
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2002-11-24 03:08:37 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2002-11-24 03:08:37 +0000
commit8f06159d307991744e4d7c10fb7abe93545c9fc3 (patch)
tree21f5921c2aa25b742f3448f43eb265d9391f2634 /mail/openwebmail/Makefile
parentUpdated to version 3.9. Added new webdocs author provided for me. (diff)
fix 2 omissions in my previous commit.
1. add Text-Iconv into RUN_DEPENDS 2. replace suidperl with perl Noticed by: Vitor de Matos Carvalho <vitor@softinfo.com.br> Markus Wennrich <nick@schoko.org>
Diffstat (limited to 'mail/openwebmail/Makefile')
-rw-r--r--mail/openwebmail/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/openwebmail/Makefile b/mail/openwebmail/Makefile
index 8b2b844a6465..c11907a0d8fc 100644
--- a/mail/openwebmail/Makefile
+++ b/mail/openwebmail/Makefile
@@ -7,6 +7,7 @@
PORTNAME= openwebmail
PORTVERSION= 1.80
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://openwebmail.org/openwebmail/download/ \
http://turtle.ee.ncku.edu.tw/openwebmail/download/
@@ -16,11 +17,13 @@ MAINTAINER= leeym@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
NO_BUILD= yes
NO_WRKSUBDIR= yes
OWCGIDIR= ${PREFIX}/www/cgi-bin/openwebmail
+USE_REINPLACE= yes
do-install:
.for dir in cgi-bin data
@@ -35,8 +38,10 @@ do-install:
openwebmail-folder.pl openwebmail-main.pl openwebmail-prefs.pl \
openwebmail-read.pl openwebmail-send.pl openwebmail-spell.pl \
openwebmail-tool.pl openwebmail-viewatt.pl openwebmail.pl
+ @${REINPLACE_CMD} -e 's,suidperl,perl,g' ${OWCGIDIR}/${file}
@${CHMOD} 4555 ${OWCGIDIR}/${file}
.endfor
@${PERL5} ${WRKSRC}/cgi-bin/openwebmail/uty/wrapsuid.pl ${OWCGIDIR}
+ @${OWCGIDIR}/openwebmail-tool.pl --init -y
.include <bsd.port.mk>