freebsd-ports/mail/exact/Makefile
Sam Lawrance 67afec1e07 Fix fetch (set FETCH_CMD to allow fetch to follow redirects).
Reported by:	fenner's distfile survey
2006-05-10 11:51:13 +00:00

45 lines
1.2 KiB
Makefile

# New ports collection makefile for: exact
# Date created: 26/05/2003
# Whom: mwest@uct.ac.za
#
# $FreeBSD$
#
PORTNAME= exact
PORTVERSION= 1.41
CATEGORIES= mail
MASTER_SITES= http://adju.st/dist/exact/
MAINTAINER= ports@FreeBSD.org
COMMENT= A program that implements POP Before SMTP Relay Authentication
MAILUSER?= mailnull
MAILGROUP?= mailnull
MAILLOG?= /var/log/maillog
EXACTDIR?= /var/exact
FETCH_CMD= /usr/bin/fetch -Rr
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-user=${MAILUSER} \
--with-group=${MAILGROUP} \
--with-watch=${MAILLOG}
pre-install:
@${SED} -e "s,/usr/local/var,/var,g; s,/state,,g" ${WRKSRC}/exact.conf > ${WRKSRC}/exact.conf.sample
@${SED} -e "s,%%PREFIX%%,${PREFIX},g; s,%%EXACTDIR%%,${EXACTDIR},g" ${FILESDIR}/exact.sh > ${WRKSRC}/exact.sh
do-install:
${MKDIR} ${EXACTDIR}
${CHOWN} ${MAILUSER}:${MAILGROUP} ${EXACTDIR}
${INSTALL_PROGRAM} ${WRKSRC}/exact ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/exact.sh ${PREFIX}/etc/rc.d
${INSTALL_DATA} ${WRKSRC}/exact.conf.sample ${PREFIX}/etc
${INSTALL_MAN} ${WRKSRC}/exact.conf.5 ${MAN5PREFIX}/man/man5
${INSTALL_MAN} ${WRKSRC}/exact.8 ${MAN8PREFIX}/man/man8
MAN5= exact.conf.5
MAN8= exact.8
.include <bsd.port.mk>