1 # Created by: jamrich.majo@gmail.com
7 MASTER_SITES= SF/dracmail/release/
8 DISTNAME= dracMail-${PORTVERSION}_release
10 MAINTAINER= fgheorghe@dracmail.net
11 COMMENT= DracMail is a webmail interface built using PHP
13 RUN_DEPENDS+= php:${PORTSDIR}/lang/php5
15 USE_PHP+= mysql imap dom tidy iconv mbstring
21 PKGMESSAGE= ${WRKDIR}/${PORTNAME}/pkg-message
22 SUB_FILES= pkg-message
23 PLIST_DIRSTRY= %%WWWDIR%%
25 OPTIONS_DEFINE= PGSQL APACHE LIGHTTPD
26 OPTIONS_DEFAULT= APACHE
29 .include <bsd.port.options.mk>
31 .if ${PORT_OPTIONS:MPGSQL}
34 .if ${PORT_OPTIONS:MAPACHE}
37 .if ${PORT_OPTIONS:MLIGHTTPD}
38 RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd
43 @${CP} -r ${WRKDIR}/* ${WWWDIR}
44 @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
49 .include <bsd.port.mk>