aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dracmail/Makefile
blob: 6ddc8c56a93c679a8233b120ce2464eebe1d5ba3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Created by: jamrich.majo@gmail.com
# $FreeBSD$

PORTNAME=   dracmail
PORTVERSION=    0.1.2
PORTREVISION=   1
CATEGORIES= mail
MASTER_SITES=   SF/dracmail/release/
DISTNAME=   dracMail-${PORTVERSION}_release

MAINTAINER= ports@FreeBSD.org
COMMENT=    DracMail is a webmail interface built using PHP

IGNORE_WITH_PHP=    70 71 72
USE_PHP+=   mysql imap dom tidy iconv mbstring
USE_MYSQL=  yes
NO_BUILD=   yes

SUB_FILES=  pkg-message
PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}

OPTIONS_DEFINE= PGSQL APACHE LIGHTTPD
OPTIONS_DEFAULT=APACHE

PGSQL_USE=  PHP=pgsql
APACHE_USE= APACHE_RUN=22+
LIGHTTPD_RUN_DEPENDS=   lighttpd:www/lighttpd

post-extract:
    @${MKDIR} ${WRKSRC}
    -@${MV} ${WRKDIR}/* ${WRKSRC}

do-install:
    @${MKDIR} ${STAGEDIR}${WWWDIR}
    ${CP} -rp ${WRKSRC}/* ${STAGEDIR}${WWWDIR}

.include <bsd.port.mk>