diff options
author | Mark Pulford <markp@FreeBSD.org> | 2001-06-17 04:44:37 +0000 |
---|---|---|
committer | Mark Pulford <markp@FreeBSD.org> | 2001-06-17 04:44:37 +0000 |
commit | 60196f9f0228949e08a1bd2a92a4cf8ea175c78e (patch) | |
tree | 8131dcc31c5268507d9d049d85cb10c1b0a1e014 /mail/mreport | |
parent | 8a075f3fcfcb9e006cfc85f7c3697cd961445e58 (diff) |
Notes
Diffstat (limited to 'mail/mreport')
-rw-r--r-- | mail/mreport/Makefile | 6 | ||||
-rw-r--r-- | mail/mreport/distinfo | 2 | ||||
-rw-r--r-- | mail/mreport/files/patch-aa | 10 | ||||
-rw-r--r-- | mail/mreport/files/patch-ab | 13 |
4 files changed, 7 insertions, 24 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 diff --git a/mail/mreport/distinfo b/mail/mreport/distinfo index dddd32341825..353ba37536f3 100644 --- a/mail/mreport/distinfo +++ b/mail/mreport/distinfo @@ -1 +1 @@ -MD5 (mreport-0.9.tar.gz) = 1bb1dd84c1eff1dd62a54baa7580911b +MD5 (mreport-0.9.tar.gz) = 1bbdd7053900a1720f22c9fb7b9df911 diff --git a/mail/mreport/files/patch-aa b/mail/mreport/files/patch-aa deleted file mode 100644 index 67ac2460626d..000000000000 --- a/mail/mreport/files/patch-aa +++ /dev/null @@ -1,10 +0,0 @@ ---- Makefile Tue Jan 25 07:20:33 2000 -+++ Makefile.new Sat Jan 29 20:04:56 2000 -@@ -1,5 +1,5 @@ --CC=gcc --COPT=-Wall -c -O2 -+CC?=gcc -+COPT=${CFLAGS} -Wall -c - - INSTDIR=/usr/local/bin - MANDIR=/usr/local/man/man1 diff --git a/mail/mreport/files/patch-ab b/mail/mreport/files/patch-ab deleted file mode 100644 index 90d01ce552b1..000000000000 --- a/mail/mreport/files/patch-ab +++ /dev/null @@ -1,13 +0,0 @@ ---- mreport.1 Thu Jan 20 09:51:15 2000 -+++ mreport.1.new Sat Jan 29 20:06:13 2000 -@@ -13,8 +13,8 @@ - .ft - .fi - .. --.TH mreport 1 "January 18, 2000" --.LO 1 -+.TH mreport 8 "January 18, 2000" -+.LO 8 - .SH NAME - mreport \- Maillog Report Generation Utility - .SH SYNOPSIS |