mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 22:50:32 -04:00
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# New ports collection makefile for: openwebmail
|
|
# Date created: 24 April 2001
|
|
# Whom: Yen-Ming Lee <leeym@leeym.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= openwebmail
|
|
PORTVERSION= 1.63
|
|
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 \
|
|
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net
|
|
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
OWCGIDIR= ${PREFIX}/www/cgi-bin/openwebmail
|
|
|
|
do-install:
|
|
.for dir in cgi-bin data
|
|
@${MKDIR} ${PREFIX}/www/${dir}
|
|
@${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
|
|
.for file in openwebmail.pl openwebmail-main.pl openwebmail-read.pl openwebmail-viewatt.pl openwebmail-send.pl openwebmail-spell.pl openwebmail-prefs.pl openwebmail-folder.pl checkmail.pl
|
|
@${CHMOD} 4555 ${OWCGIDIR}/${file}
|
|
.endfor
|
|
@${PERL5} ${WRKSRC}/cgi-bin/openwebmail/uty/wrapsuid.pl ${OWCGIDIR}
|
|
|
|
.include <bsd.port.mk>
|