misc/rtfm: Move man pages to share/man

Approved by:	portmgr (blanket)
2024Q2
Nuno Teixeira 2024-03-17 10:34:47 +00:00
parent d2391cdec7
commit c24ad9112f
2 changed files with 6 additions and 5 deletions

View File

@ -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>

View File

@ -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