git: c24ad9112f99 - main - misc/rtfm: Move man pages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 Mar 2024 11:06:46 UTC
The branch main has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c24ad9112f9985b8d15b58ed1cb123a08b158fad
commit c24ad9112f9985b8d15b58ed1cb123a08b158fad
Author: Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-17 10:34:47 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-17 11:06:23 +0000
misc/rtfm: Move man pages to share/man
Approved by: portmgr (blanket)
---
misc/rtfm/Makefile | 3 ++-
misc/rtfm/files/patch-Makefile | 8 ++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/misc/rtfm/Makefile b/misc/rtfm/Makefile
index 5054469b83d5..e262ae943bea 100644
--- a/misc/rtfm/Makefile
+++ b/misc/rtfm/Makefile
@@ -1,11 +1,12 @@
PORTNAME= rtfm
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= LOCAL/chris
MAINTAINER= chris@FreeBSD.org
COMMENT= FreeBSD documentation search mechanism
-PLIST_FILES= bin/rtfm man/man1/rtfm.1.gz
+PLIST_FILES= bin/rtfm share/man/man1/rtfm.1.gz
.include <bsd.port.mk>
diff --git a/misc/rtfm/files/patch-Makefile b/misc/rtfm/files/patch-Makefile
index 8179f67feff7..bc7969bbd4cc 100644
--- a/misc/rtfm/files/patch-Makefile
+++ b/misc/rtfm/files/patch-Makefile
@@ -1,13 +1,13 @@
---- Makefile.orig 2014-06-20 00:12:17.290047513 +0800
-+++ Makefile 2014-06-20 00:12:43.436059870 +0800
-@@ -4,8 +4,8 @@ rtfm: rtfm.c
+--- Makefile.orig 2000-01-18 05:33:15 UTC
++++ Makefile
+@@ -4,8 +4,8 @@ install: rtfm
${CC} -o rtfm rtfm.c ${CFLAGS} ${LDFLAGS}
install: rtfm
- install -c -s -o root -g wheel -m 0755 rtfm /usr/local/bin
- install -c -o root -g wheel -m 0644 rtfm.1 ${PREFIX}/man/man1
+ $(BSD_INSTALL_PROGRAM) rtfm $(DESTDIR)${PREFIX}/bin
-+ $(BSD_INSTALL_MAN) rtfm.1 $(DESTDIR)${PREFIX}/man/man1
++ $(BSD_INSTALL_MAN) rtfm.1 $(DESTDIR)${PREFIX}/share/man/man1
clean:
rm -f rtfm