diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2002-02-10 07:23:04 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2002-02-10 07:23:04 +0000 |
commit | 6119ea9fd6d765fc6fedcb23db7351b20107239e (patch) | |
tree | beec12d76997e04de69779f57cb5fc817b55cc72 /mail/openwebmail/Makefile | |
parent | Add-Port: (diff) |
Initial import of openwebmail 1.61
Openwebmail is a webmail system designed to manage very big mail folder files
in a memory efficient way.
PR: 34781
Submitted by: Yen-Ming Lee <leeym@utopia.leeym.com>
Diffstat (limited to 'mail/openwebmail/Makefile')
-rw-r--r-- | mail/openwebmail/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/mail/openwebmail/Makefile b/mail/openwebmail/Makefile new file mode 100644 index 000000000000..9af540533a2e --- /dev/null +++ b/mail/openwebmail/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: openwebmail +# Date created: 24 April 2001 +# Whom: Yen-Ming Lee <leeym@leeym.com> +# +# $FreeBSD$ +# + +PORTNAME= openwebmail +PORTVERSION= 1.61 +CATEGORIES= mail +MASTER_SITES= http://turtle.ee.ncku.edu.tw/openwebmail/download/ +EXTRACT_SUFX= .tgz + +MAINTAINER= leeym@leeym.com + +RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm + +NO_BUILD= yes +NO_WRKSUBDIR= yes +OWCGIDIR= ${PREFIX}/www/cgi-bin/openwebmail +SUIDPERL= /usr/bin/suidperl + +do-install: +.for dir in cgi-bin data + @${CP} -R ${WRKSRC}/${dir}/openwebmail ${PREFIX}/www/${dir}/ + @${CHOWN} -R root:mail ${PREFIX}/www/${dir}/openwebmail +.endfor +.for file in openwebmail.pl openwebmail-main.pl openwebmail-prefs.pl openwebmail-read.pl openwebmail-send.pl openwebmail-viewatt.pl + @${CHMOD} 4555 ${SUIDPERL} + @${PERL5} -pi -e 's,/usr/bin/perl,${SUIDPERL},g' ${OWCGIDIR}/${file} + @${CHMOD} 4555 ${OWCGIDIR}/${file} +.endfor +.for dir in sessions users + @${CHMOD} 0770 ${OWCGIDIR}/etc/${dir} +.endfor + @${CHMOD} 0755 ${OWCGIDIR}/etc ${OWCGIDIR}/vacation.pl + +.include <bsd.port.mk> |