mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
df8ac69196
This is mailfront, a package containing customizeable network front-ends for mail servers. It contains complete SMTP and POP3 front-ends as well as an authentication module for IMAP. Two SMTP back-ends are provided. One delivers mail to qmail-queue, mimicking most of the behavior of qmail-smtpd, with the addition of support for SMTP AUTH. The other rejects all SMTP commands if $SMTPREJECT is set, and execs its command line otherwise (in order to run the above program). Author: Bruce Guenter <bruceg@em.ca> WWW: http://untroubled.org/mailfront/ PR: ports/48902,ports/49973 Submitted by: Sergei Kolobov <sergei@kolobov.com>
40 lines
948 B
Makefile
40 lines
948 B
Makefile
# New ports collection makefile for: mailfront
|
|
# Date created: 03 Mar 2003
|
|
# Whom: Sergei Kolobov <sergei@kolobov.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mailfront
|
|
PORTVERSION= 0.85
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://untroubled.org/mailfront/
|
|
|
|
MAINTAINER= sergei@kolobov.com
|
|
COMMENT= Mail server network protocol front-ends
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/cvm/module.h:${PORTSDIR}/devel/bglibs
|
|
|
|
BGLIBS_ROOT?= ${LOCALBASE}
|
|
QMAIL_ROOT?= /var/qmail
|
|
|
|
CFLAGS+= -I${BGLIBS_ROOT}/include
|
|
LDFLAGS+= -L${BGLIBS_ROOT}/lib
|
|
|
|
DOCS= ANNOUNCEMENT NEWS README TODO *.html
|
|
|
|
pre-build:
|
|
${ECHO_CMD} ${PREFIX}/bin > ${WRKSRC}/conf-bin
|
|
${ECHO_CMD} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
|
|
${ECHO_CMD} ${CC} ${LDFLAGS} > ${WRKSRC}/conf-ld
|
|
${ECHO_CMD} ${QMAIL_ROOT} > ${WRKSRC}/conf-qmail
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ./installer
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|