diff --git a/net/jumpgate/Makefile b/net/jumpgate/Makefile index 627337e8da3d..f550ac3177bf 100644 --- a/net/jumpgate/Makefile +++ b/net/jumpgate/Makefile @@ -11,8 +11,6 @@ COMMENT= TCP connection forwarder GNU_CONFIGURE= yes -MAN8= jumpgate.8 -PLIST_FILES= sbin/jumpgate +PLIST_FILES= man/man8/jumpgate.8.gz sbin/jumpgate -NO_STAGE= yes .include diff --git a/net/jumpgate/files/patch-Makefile.in b/net/jumpgate/files/patch-Makefile.in new file mode 100644 index 000000000000..f883c714eb7b --- /dev/null +++ b/net/jumpgate/files/patch-Makefile.in @@ -0,0 +1,17 @@ +--- Makefile.in.orig 2014-06-06 09:30:37.782875595 +0800 ++++ Makefile.in 2014-06-06 09:31:03.369876627 +0800 +@@ -36,10 +36,10 @@ distclean: + rm -f Makefile config.cache config.log config.status config.h confdefs.h + + install: +- $(INSTALL) -d $(install_prefix)$(sbindir) +- $(INSTALL_PROGRAM) -m 0755 jumpgate $(install_prefix)$(sbindir) +- $(INSTALL) -d $(install_prefix)$(mandir)/man8 +- $(INSTALL_DATA) jumpgate.8 $(install_prefix)$(mandir)/man8 ++ $(INSTALL) -d $(DESTDIR)$(install_prefix)$(sbindir) ++ $(INSTALL_PROGRAM) -m 0755 jumpgate $(DESTDIR)$(install_prefix)$(sbindir) ++ $(INSTALL) -d $(DESTDIR)$(install_prefix)$(mandir)/man8 ++ $(INSTALL_DATA) jumpgate.8 $(DESTDIR)$(install_prefix)$(mandir)/man8 + + uninstall: + rm -f $(install_prefix)$(sbindir)/jumpgate