aboutsummaryrefslogtreecommitdiff
path: root/mail/openwebmail
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-08-12 00:57:49 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-08-12 00:57:49 +0000
commit06f9c042451bc520e66eccc85f99f90882cdb7c7 (patch)
tree1382478b38d1c5f0b7fabc0830231793ce965e47 /mail/openwebmail
parent9fcf94529c676011cd671eef7f48f78c6deafc1e (diff)
downloadports-06f9c042451bc520e66eccc85f99f90882cdb7c7.tar.gz
ports-06f9c042451bc520e66eccc85f99f90882cdb7c7.zip
Notes
Diffstat (limited to 'mail/openwebmail')
-rw-r--r--mail/openwebmail/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/openwebmail/Makefile b/mail/openwebmail/Makefile
index a6ffa31accaf..e8d7c3eadfab 100644
--- a/mail/openwebmail/Makefile
+++ b/mail/openwebmail/Makefile
@@ -10,7 +10,6 @@ PORTVERSION= 2.32
CATEGORIES= mail
MASTER_SITES= http://openwebmail.org/openwebmail/download/release/ \
http://turtle.ee.ncku.edu.tw/openwebmail/download/release/
-EXTRACT_SUFX= .tar.gz
MAINTAINER= leeym@FreeBSD.org
COMMENT= A webmail system designed to manage big mail folder files efficiently
@@ -36,8 +35,8 @@ PATCH_STRIP= -p1
PLIST= ${WRKDIR}/.PLIST.${PKGNAME}
.if !defined(WITHOUT_SPEEDYCGI)
-BUILD_DEPENDS+= speedy_suid:${PORTSDIR}/www/p5-CGI-SpeedyCGI
-RUN_DEPENDS+= speedy_suid:${PORTSDIR}/www/p5-CGI-SpeedyCGI
+BUILD_DEPENDS+= speedy_suidperl:${PORTSDIR}/www/p5-CGI-SpeedyCGI
+RUN_DEPENDS+= speedy_suidperl:${PORTSDIR}/www/p5-CGI-SpeedyCGI
EXTRA_PATCHES= ${PATCH_WRKSRC}/uty/suidperl2speedy_suid.diff
.else
_CUSTOMIZED= yes
@@ -115,6 +114,9 @@ pre-fetch:
@${ECHO} ""
.endif
+pre-patch:
+ @${PERL} -pi.bak -e 's,${LOCALBASE}/bin/speedy_suid,${LOCALBASE}/bin/speedy_suidperl,g' ${PATCH_WRKSRC}/uty/*.diff
+
post-patch:
@${MV} ${PATCH_WRKSRC}/etc/openwebmail.conf ${PATCH_WRKSRC}/etc/openwebmail.conf-dist
@${PERL} -pi.bak -e 's,${LOCALBASE}/www/cgi-bin/openwebmail,${OWCGIDIR},g' ${PATCH_WRKSRC}/etc/openwebmail.conf-dist