freebsd-ports/mail/mailrep/Makefile
Jean Milanez Melo ea234c75e7 - New port:
Mailrep - A program for reporting mail log information in sendmail and postfix.

A program for reporting mail log information. You can configure it to respond
to errors in various ways and you can specify RBLs that can be used for
blocking spam. The program can measure the number of messages sent for a
particular account and the number of messages that the server processes daily.

PR:		ports/95544
Submitted by:	Marcelo Araujo <araujo@bsdmail.org>
Reworked by:	jmelo
Approved by:	mnag (mentor)
2006-04-25 19:50:25 +00:00

37 lines
884 B
Makefile

# New ports collection makefile for: mailrep
# Date created: 2006-04-25
# Whom: Marcelo Araujo <araujo@bsdmail.org>
#
# $FreeBSD$
#
PORTNAME= mailrep
PORTVERSION= 1.0
CATEGORIES= mail sysutils
MASTER_SITES= http://cs.bon.matrix.com.br/araujo/pub/mailrep/
MAINTAINER= araujo@bsdmail.org
COMMENT= Program for reporting mail log information
NO_BUILD= yes
USE_PERL5= yes
PORTDOCS= *
.include <bsd.port.pre.mk>
do-install:
@${MKDIR} ${PREFIX}/etc/mailrep
${INSTALL_SCRIPT} ${WRKSRC}/mailrep.pl ${PREFIX}/sbin/
${INSTALL_DATA} ${WRKSRC}/mailrep.conf ${PREFIX}/etc/mailrep/mailrep.conf.sample
.if !exists(${PREFIX}/etc/mailrep/mailrep.conf)
${INSTALL_DATA} ${WRKSRC}/mailrep.conf ${PREFIX}/etc/mailrep/
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
.endif
.include <bsd.port.post.mk>