1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/mail/mreport/Makefile

32 lines
780 B
Makefile
Raw Normal View History

# New ports collection makefile for: mreport
# Date created: 19 Dec 1999
# Whom: Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#
2000-04-13 20:01:08 +00:00
PORTNAME= mreport
PORTVERSION= 0.9
CATEGORIES= mail sysutils
# mastersite disappeared in August 2003
MASTER_SITES= # ftp://ftp.datrix.co.za/pub/mreport/
MAINTAINER= ports@FreeBSD.org
2003-02-20 19:00:52 +00:00
COMMENT= Sendmail logfile summary tool
USE_REINPLACE= yes
ALL_TARGET= ALL
MAN8= mreport.8
post-patch:
@${REINPLACE_CMD} -e "s/^.TH mreport 1/.TH mreport 8/g; s/^.LO 1/.LO 8/g;" \
${WRKSRC}/mreport.1
@${REINPLACE_CMD} -E -e "s/^CC.+//g; s|-Wall -c -O2|${CFLAGS} -c|g;" \
${WRKSRC}/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/mreport ${PREFIX}/sbin
@${INSTALL_MAN} ${WRKSRC}/mreport.1 ${PREFIX}/man/man8/mreport.8
.include <bsd.port.mk>