1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/mail/extmail/Makefile
Xin LI 943ecfede6 New port skeleton for ExtMail -- A high performance webmail system.
It was written in pure perl, only support Maildir++(or Maildir), we try to
optimize the design and archtecture, make it scalable well and run faster
than common php/perl webmail system.

Homepage:	http://www.extmail.org
Submitted by:	chifeng at gmail com
2007-02-06 03:52:13 +00:00

44 lines
1020 B
Makefile

# New ports collection makefile for: extmail
# Date created: 31 Frebruary 2006
# Whom: Chifeng QU <chifeng@gmail.com>
#
# $FreeBSD$
#
PORTNAME= extmail
PORTVERSION= 1.0.0
CATEGORIES= mail
MASTER_SITES= http://extmail.org/download/%SUBDIR%/ \
http://chifeng.cosoft.org.cn/extmail/%SUBDIR%/
MAINTAINER?= chifeng@gmail.com
COMMENT= A high performance webmail system
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
USE_PERL5= yes
NO_BUILD= yes
OPTIONS= MYSQL "Use MySQL support" On \
LDAP "Use LDAP support" Off
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
.if defined(WITH_MYSQL)
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
.endif
.if defined(WITH_LDAP)
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/LDAP.pm:${PORTSDIR}/databases/p5-DBD-LDAP
.endif
OWCGIDIR= ${PREFIX}/www/extmail
do-install:
@${MKDIR} ${OWCGIDIR}
@cd ${WRKSRC} && ${CP} -Rpf * ${OWCGIDIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>