aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-09 03:41:18 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-09 03:41:18 +0000
commit3decd9ae5cf0605fdbfde6798dd96a6fd6fb9304 (patch)
tree4a35db1a3b5250a74024f49e13c4874e5460451c
parent32607e06b7da73a2259a84e90c028c3d51b0c018 (diff)
downloadports-3decd9ae5cf0605fdbfde6798dd96a6fd6fb9304.tar.gz
ports-3decd9ae5cf0605fdbfde6798dd96a6fd6fb9304.zip
Notes
-rw-r--r--net-mgmt/icmpmonitor/Makefile4
-rw-r--r--net-mgmt/icmpmonitor/files/patch-Makefile14
2 files changed, 15 insertions, 3 deletions
diff --git a/net-mgmt/icmpmonitor/Makefile b/net-mgmt/icmpmonitor/Makefile
index e07cac4eeb6d..68af0a6a72a3 100644
--- a/net-mgmt/icmpmonitor/Makefile
+++ b/net-mgmt/icmpmonitor/Makefile
@@ -11,8 +11,6 @@ COMMENT= A multiple host icmp monitoring tool
GNU_CONFIGURE= YES
-MAN1= icmpmonitor.1
-PLIST_FILES= sbin/icmpmonitor
+PLIST_FILES= man/man1/icmpmonitor.1.gz sbin/icmpmonitor
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/net-mgmt/icmpmonitor/files/patch-Makefile b/net-mgmt/icmpmonitor/files/patch-Makefile
new file mode 100644
index 000000000000..17742f1baa3a
--- /dev/null
+++ b/net-mgmt/icmpmonitor/files/patch-Makefile
@@ -0,0 +1,14 @@
+--- Makefile.in.orig 2014-06-09 11:38:16.905011836 +0800
++++ Makefile.in 2014-06-09 11:38:39.412011484 +0800
+@@ -36,7 +36,7 @@ tar: distclean
+ gzip -9 icmpmonitor-$(VERSION).tar)
+
+ install: icmpmonitor icmpmonitor.man
+- $(top_srcdir)/mkinstalldirs $(sbindir)
+- $(INSTALL) icmpmonitor $(sbindir)
+- $(top_srcdir)/mkinstalldirs $(mandir)/man1
+- $(INSTALL) icmpmonitor.man $(mandir)/man1/icmpmonitor.1
++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(sbindir)
++ $(INSTALL) icmpmonitor $(DESTDIR)$(sbindir)
++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
++ $(INSTALL) icmpmonitor.man $(DESTDIR)$(mandir)/man1/icmpmonitor.1