git: 8cd66b6dc0de - main - net/prtunnel: Move man pages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Mar 2024 18:37:44 UTC
The branch main has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8cd66b6dc0deeb44c3675c368e56202435e4c1fa
commit 8cd66b6dc0deeb44c3675c368e56202435e4c1fa
Author: Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-20 17:28:42 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-20 18:37:09 +0000
net/prtunnel: Move man pages to share/man
Approved by: portmgr (blanket)
---
net/prtunnel/Makefile | 3 ++-
net/prtunnel/files/patch-Makefile | 8 ++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/net/prtunnel/Makefile b/net/prtunnel/Makefile
index 7b97acc62649..ad937b3aa48f 100644
--- a/net/prtunnel/Makefile
+++ b/net/prtunnel/Makefile
@@ -1,5 +1,6 @@
PORTNAME= prtunnel
PORTVERSION= 0.2.7
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://joshbeam.com/files/
@@ -10,7 +11,7 @@ WWW= https://www.joshbeam.com/software/prtunnel/
ALL_TARGET= ${PORTNAME}
PORTDOCS= ChangeLog README
-PLIST_FILES= bin/prtunnel man/man1/prtunnel.1.gz
+PLIST_FILES= bin/prtunnel share/man/man1/prtunnel.1.gz
OPTIONS_DEFINE= DOCS
diff --git a/net/prtunnel/files/patch-Makefile b/net/prtunnel/files/patch-Makefile
index 097bccba195c..a190f91fe4d7 100644
--- a/net/prtunnel/files/patch-Makefile
+++ b/net/prtunnel/files/patch-Makefile
@@ -1,13 +1,13 @@
---- Makefile.orig 2014-06-23 22:26:53.428301384 +0800
-+++ Makefile 2014-06-23 22:27:04.258298966 +0800
-@@ -8,8 +8,8 @@ prtunnel: $(OBJS)
+--- Makefile.orig 2006-01-08 22:19:09 UTC
++++ Makefile
+@@ -8,8 +8,8 @@ install:
$(CC) $(OBJS) -o prtunnel
install:
- install -c prtunnel $(PREFIX)/bin/prtunnel
- install -c prtunnel.1 $(PREFIX)/man/man1/prtunnel.1
+ install -c prtunnel $(DESTDIR)$(PREFIX)/bin/prtunnel
-+ install -c prtunnel.1 $(DESTDIR)$(PREFIX)/man/man1/prtunnel.1
++ install -c prtunnel.1 $(DESTDIR)$(PREFIX)/share/man/man1/prtunnel.1
uninstall:
rm -f $(PREFIX)/bin/prtunnel