mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
27 lines
698 B
Makefile
27 lines
698 B
Makefile
# Created by: Will Andrews <andrews@technologist.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mreport
|
|
PORTVERSION= 0.9
|
|
CATEGORIES= mail sysutils
|
|
MASTER_SITES= http://yenigul.net/mreport/
|
|
|
|
MAINTAINER= ismail@EnderUNIX.org
|
|
COMMENT= Sendmail logfile summary tool
|
|
|
|
ALL_TARGET= ALL
|
|
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:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mreport ${STAGEDIR}${PREFIX}/sbin
|
|
${INSTALL_MAN} ${WRKSRC}/mreport.1 \
|
|
${STAGEDIR}${MANPREFIX}/man/man8/mreport.8
|
|
|
|
.include <bsd.port.mk>
|