2002-02-10 08:23:04 +01:00
|
|
|
# New ports collection makefile for: openwebmail
|
|
|
|
# Date created: 24 April 2001
|
|
|
|
# Whom: Yen-Ming Lee <leeym@leeym.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= openwebmail
|
2003-02-13 08:53:07 +01:00
|
|
|
PORTVERSION= 1.90
|
2002-02-10 08:23:04 +01:00
|
|
|
CATEGORIES= mail
|
2002-07-13 08:00:59 +02:00
|
|
|
MASTER_SITES= http://openwebmail.org/openwebmail/download/ \
|
|
|
|
http://turtle.ee.ncku.edu.tw/openwebmail/download/
|
2002-02-10 08:23:04 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2002-08-19 10:01:34 +02:00
|
|
|
MAINTAINER= leeym@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A webmail system designed to manage very big mail folder files in a memory efficient way
|
2002-02-10 08:23:04 +01:00
|
|
|
|
2002-02-17 19:42:40 +01:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \
|
2002-06-10 22:52:34 +02:00
|
|
|
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net \
|
2002-11-24 04:08:37 +01:00
|
|
|
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv \
|
2002-07-12 20:23:51 +02:00
|
|
|
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
|
2002-02-10 08:23:04 +01:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
OWCGIDIR= ${PREFIX}/www/cgi-bin/openwebmail
|
2002-11-24 04:08:37 +01:00
|
|
|
USE_REINPLACE= yes
|
2002-02-10 08:23:04 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
.for dir in cgi-bin data
|
2002-03-23 10:57:27 +01:00
|
|
|
@${MKDIR} ${PREFIX}/www/${dir}
|
2002-02-10 08:23:04 +01:00
|
|
|
@${CP} -R ${WRKSRC}/${dir}/openwebmail ${PREFIX}/www/${dir}/
|
|
|
|
@${CHOWN} -R root:mail ${PREFIX}/www/${dir}/openwebmail
|
|
|
|
.endfor
|
|
|
|
.for dir in sessions users
|
|
|
|
@${CHMOD} 0770 ${OWCGIDIR}/etc/${dir}
|
|
|
|
.endfor
|
2002-11-23 19:09:27 +01:00
|
|
|
.for file in openwebmail-abook.pl openwebmail-advsearch.pl openwebmail-cal.pl \
|
|
|
|
openwebmail-folder.pl openwebmail-main.pl openwebmail-prefs.pl \
|
|
|
|
openwebmail-read.pl openwebmail-send.pl openwebmail-spell.pl \
|
2003-02-13 08:53:07 +01:00
|
|
|
openwebmail-tool.pl openwebmail-viewatt.pl openwebmail-webdisk.pl openwebmail.pl
|
2002-11-24 04:08:37 +01:00
|
|
|
@${REINPLACE_CMD} -e 's,suidperl,perl,g' ${OWCGIDIR}/${file}
|
2002-03-23 10:57:27 +01:00
|
|
|
@${CHMOD} 4555 ${OWCGIDIR}/${file}
|
|
|
|
.endfor
|
|
|
|
@${PERL5} ${WRKSRC}/cgi-bin/openwebmail/uty/wrapsuid.pl ${OWCGIDIR}
|
2003-02-13 08:53:07 +01:00
|
|
|
@${OWCGIDIR}/openwebmail-tool.pl --init --no
|
|
|
|
@${RM} ${OWCGIDIR}/*bak
|
2002-02-10 08:23:04 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|