aboutsummaryrefslogtreecommitdiff
path: root/mail/mreport/Makefile
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2001-06-17 04:44:37 +0000
committerMark Pulford <markp@FreeBSD.org>2001-06-17 04:44:37 +0000
commit60196f9f0228949e08a1bd2a92a4cf8ea175c78e (patch)
tree8131dcc31c5268507d9d049d85cb10c1b0a1e014 /mail/mreport/Makefile
parent8a075f3fcfcb9e006cfc85f7c3697cd961445e58 (diff)
Notes
Diffstat (limited to 'mail/mreport/Makefile')
-rw-r--r--mail/mreport/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/mreport/Makefile b/mail/mreport/Makefile
index 0cf3d2974be9..edf00954fc63 100644
--- a/mail/mreport/Makefile
+++ b/mail/mreport/Makefile
@@ -15,6 +15,12 @@ MAINTAINER= ports@FreeBSD.org
ALL_TARGET= ALL
MAN8= mreport.8
+post-patch:
+ ${PERL} -pi -e "s/^.TH mreport 1/.TH mreport 8/g; s/^.LO 1/.LO 8/g;" \
+ ${WRKSRC}/mreport.1
+ ${PERL} -pi -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