freebsd-ports/mail/mreport/Makefile

27 lines
698 B
Makefile
Raw Normal View History

# Created by: Will Andrews <andrews@technologist.com>
# $FreeBSD$
2000-04-13 22:01:08 +02:00
PORTNAME= mreport
PORTVERSION= 0.9
CATEGORIES= mail sysutils
MASTER_SITES= http://yenigul.net/mreport/
MAINTAINER= ismail@EnderUNIX.org
2003-02-20 20:00:52 +01:00
COMMENT= Sendmail logfile summary tool
ALL_TARGET= ALL
2014-02-21 10:15:54 +01:00
PLIST_FILES= sbin/mreport man/man8/mreport.8.gz
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:
2014-02-21 10:15:54 +01:00
${INSTALL_PROGRAM} ${WRKSRC}/mreport ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/mreport.1 \
${STAGEDIR}${MANPREFIX}/man/man8/mreport.8
.include <bsd.port.mk>