1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/mail/extman/Makefile
Xin LI 3c7cffe97d Add extman, the web administration interface for extmail.
Submitted by:	Chifeng QU <chifeng at gmail dot com>
2007-04-03 15:17:44 +00:00

44 lines
1.0 KiB
Makefile

# New ports collection makefile for: extman
# Date created: 3 April 2007
# Whom: Chifeng QU <chifeng@gmail.com>
#
# $FreeBSD$
#
PORTNAME= extman
PORTVERSION= 0.2.2
CATEGORIES= mail
MASTER_SITES= http://www.extmail.org/dist/extman/%SUBDIR%/ \
http://chifeng.cosoft.org.cn/extman/%SUBDIR%/
MAINTAINER?= chifeng@gmail.com
COMMENT= Web interface to manage Virtual Accounts
USE_PERL5= yes
NO_BUILD= yes
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
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/extman
do-install:
@${MKDIR} ${OWCGIDIR}
@cd ${WRKSRC} && ${CP} -Rpf * ${OWCGIDIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>