aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2014-07-30 03:16:43 +0800
committerpi <pi@FreeBSD.org>2014-07-30 03:16:43 +0800
commit0ba43da34dfc0180ceef71147a4747f19bf98db1 (patch)
tree8aabd5580216262c6c2d3817cf71f6956fcff4ea
parent5d4f6dbf6920e86fef1c7e3a8e60608b5d4f4764 (diff)
downloadfreebsd-ports-gnome-0ba43da34dfc0180ceef71147a4747f19bf98db1.tar.gz
freebsd-ports-gnome-0ba43da34dfc0180ceef71147a4747f19bf98db1.tar.zst
freebsd-ports-gnome-0ba43da34dfc0180ceef71147a4747f19bf98db1.zip
net-mgmt/sendip: fix help2man script
PR: 192167 Approved by: coco@executive-computing.de (maintainer)
-rw-r--r--net-mgmt/sendip/Makefile2
-rw-r--r--net-mgmt/sendip/files/patch-Makefile13
-rw-r--r--net-mgmt/sendip/files/patch-help2man8
3 files changed, 20 insertions, 3 deletions
diff --git a/net-mgmt/sendip/Makefile b/net-mgmt/sendip/Makefile
index 4204bb22549d..f3b3d0e35b20 100644
--- a/net-mgmt/sendip/Makefile
+++ b/net-mgmt/sendip/Makefile
@@ -3,7 +3,7 @@
PORTNAME= sendip
PORTVERSION= 2.5
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net-mgmt ipv6
MASTER_SITES= http://www.earth.li/projectpurple/files/
diff --git a/net-mgmt/sendip/files/patch-Makefile b/net-mgmt/sendip/files/patch-Makefile
index 2562ded5f947..5b4df1871deb 100644
--- a/net-mgmt/sendip/files/patch-Makefile
+++ b/net-mgmt/sendip/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Tue Jan 28 13:03:48 2003
-+++ Makefile Tue Jan 28 13:04:35 2003
+--- Makefile.orig 2002-10-12 19:28:00.000000000 +0200
++++ Makefile 2014-07-27 16:43:13.000000000 +0200
@@ -1,23 +1,23 @@
#configureable stuff
-PREFIX ?= /usr/local
@@ -34,3 +34,12 @@
PROGS= sendip
BASEPROTOS= ipv4.so ipv6.so
+@@ -39,7 +39,7 @@
+ $(CC) -o $@ $(LDFLAGS) $(CFLAGS) $+ ; \
+ fi"
+
+-sendip.1: ./help2man $(PROGS) $(PROTOS) VERSION
++sendip.1: help2man $(PROGS) $(PROTOS) VERSION
+ ./help2man -n "Send arbitrary IP packets" -N >sendip.1
+
+ sendip.spec: sendip.spec.in VERSION
diff --git a/net-mgmt/sendip/files/patch-help2man b/net-mgmt/sendip/files/patch-help2man
new file mode 100644
index 000000000000..bb33fc5685d9
--- /dev/null
+++ b/net-mgmt/sendip/files/patch-help2man
@@ -0,0 +1,8 @@
+--- help2man.orig 2001-11-23 18:50:52.000000000 +0100
++++ help2man 2014-07-27 16:48:21.000000000 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl -w
++#!/usr/bin/env perl
+
+
+ # MODIFICATION OF GNU's help2man