summaryrefslogtreecommitdiffstats
path: root/net/fping
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-11-05 22:32:31 +0000
committerobrien <obrien@FreeBSD.org>2000-11-05 22:32:31 +0000
commite9fc4dfc065c8939eda2e010a7e32c23543e2d2f (patch)
treeee0897fd83f8626e1c785f3972175021ec82e915 /net/fping
parent33cbba96b29d769f72d9530d4416135a1a9303bc (diff)
downloadFreeBSD-ports-e9fc4dfc065c8939eda2e010a7e32c23543e2d2f.zip
FreeBSD-ports-e9fc4dfc065c8939eda2e010a7e32c23543e2d2f.tar.gz
Dynamically set the FreeBSD maintainer.
Diffstat (limited to 'net/fping')
-rw-r--r--net/fping/Makefile4
-rw-r--r--net/fping/files/patch-022
2 files changed, 5 insertions, 1 deletions
diff --git a/net/fping/Makefile b/net/fping/Makefile
index bfd30fb1..fe44ac2 100644
--- a/net/fping/Makefile
+++ b/net/fping/Makefile
@@ -18,6 +18,10 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --bindir="${PREFIX}/sbin"
MAN8= fping.8
+post-patch:
+ ${PERL} -pi.fbsd -e 's/fping@/${MAINTAINER:S/@/\\@/g} or fping@/g' \
+ ${WRKSRC}/fping.c
+
post-install:
@strip ${PREFIX}/sbin/fping
@${CHMOD} 4555 ${PREFIX}/sbin/fping
diff --git a/net/fping/files/patch-02 b/net/fping/files/patch-02
index 48efd00..2d2777b 100644
--- a/net/fping/files/patch-02
+++ b/net/fping/files/patch-02
@@ -55,7 +55,7 @@
- printf("%s: Version %s $Date: 1997/01/08 20:29:33 $\n",argv[0], VERSION);
- printf("%s: comments to fping@networking.Stanford.EDU\n",argv[0]);
+ printf("%s: FreeBSD port based on Version %s $Date: 1997/01/08 20:29:33 $\n",argv[0], VERSION);
-+ printf("%s: comments to obrien@FreeBSD.org or fping@networking.Stanford.EDU\n",argv[0]);
++ printf("%s: comments to fping@networking.Stanford.EDU\n",argv[0]);
exit(0);
case 'f':
#ifdef ENABLE_F_OPTION
OpenPOWER on IntegriCloud