summaryrefslogtreecommitdiff
path: root/mail/dracmail/Makefile
blob: 8f6b3bb1839376e04d3a21b8cb00c78d56acbff2 (plain)
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

USE_PHP+=	mysql imap dom tidy iconv mbstring
USE_MYSQL=	yes
IGNORE_WITH_PHP=	70
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>