aboutsummaryrefslogtreecommitdiff
path: root/mail/openwebmail
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-02-10 01:26:36 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-02-10 01:26:36 +0000
commit18fcfce7be43e601eec099d198ea5d958f9f3c3c (patch)
tree81da5b2c1412e28ead600c0134cd98f8299bedd7 /mail/openwebmail
parent82911b32af92d4af3327c77096ed750eb6200345 (diff)
downloadports-18fcfce7be43e601eec099d198ea5d958f9f3c3c.tar.gz
ports-18fcfce7be43e601eec099d198ea5d958f9f3c3c.zip
remove redundant dependencies under perl-5.8.2
PR: 62552 (based on) Submitted by: Vladimir Kushnir <vkushnir@Alfacom.net>
Notes
Notes: svn path=/head/; revision=100527
Diffstat (limited to 'mail/openwebmail')
-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