summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/openwebmail/Makefile13
-rw-r--r--mail/openwebmail/distinfo1
2 files changed, 9 insertions, 5 deletions
diff --git a/mail/openwebmail/Makefile b/mail/openwebmail/Makefile
index a91b825d8086..c0c12293cbe4 100644
--- a/mail/openwebmail/Makefile
+++ b/mail/openwebmail/Makefile
@@ -15,18 +15,21 @@ EXTRACT_SUFX= .tgz
MAINTAINER= leeym@FreeBSD.org
COMMENT= A webmail system designed to manage big mail folder files efficiently
-RUN_DEPENDS= ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \
- ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net \
- ${SITE_PERL}/${PERL_ARCH}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv \
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv \
${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500802
+RUN_DEPENDS+= ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \
+ ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net
+.endif
+
USE_PERL5= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
-OWCGIDIR= ${PREFIX}/www/cgi-bin/openwebmail
-OWDATADIR= ${PREFIX}/www/data/openwebmail
+OWCGIDIR?= ${PREFIX}/www/cgi-bin/openwebmail
+OWDATADIR?= ${PREFIX}/www/data/openwebmail
PATCH_WRKSRC= ${WRKSRC}/cgi-bin/openwebmail
PATCH_STRIP= -p1
PLIST= ${WRKDIR}/.PLIST.${PKGNAME}
diff --git a/mail/openwebmail/distinfo b/mail/openwebmail/distinfo
index 073fdefb05a8..b2c08e9cc19a 100644
--- a/mail/openwebmail/distinfo
+++ b/mail/openwebmail/distinfo
@@ -1 +1,2 @@
MD5 (openwebmail-2.30.tgz) = 585a19c3192065be279f22c947a48e83
+SIZE (openwebmail-2.30.tgz) = 5992912