git: 021fcd36af22 - main - games/coffeebreak: Move man pages to share/man
Date: Sat, 09 Mar 2024 08:31:19 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=021fcd36af22585a4bcf6e71ccb9a7d0f6ed204a commit 021fcd36af22585a4bcf6e71ccb9a7d0f6ed204a Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2024-03-09 07:00:44 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2024-03-09 08:31:01 +0000 games/coffeebreak: Move man pages to share/man Approved by: portmgr (blanket) --- games/coffeebreak/Makefile | 6 +++++- games/coffeebreak/files/patch-Makefile | 11 +++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/games/coffeebreak/Makefile b/games/coffeebreak/Makefile index 77a1b3fa6805..50bfc8a5c13d 100644 --- a/games/coffeebreak/Makefile +++ b/games/coffeebreak/Makefile @@ -1,5 +1,6 @@ PORTNAME= coffeebreak DISTVERSION= 0.1.1 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= 0mp@FreeBSD.org @@ -15,6 +16,9 @@ NO_ARCH= yes NO_BUILD= yes PLIST_FILES= bin/coffeebreak \ - man/man6/coffeebreak.6.gz + share/man/man6/coffeebreak.6.gz + +post-patch: + ${REINPLACE_CMD} 's|/usr/local|${PREFIX}|g' ${WRKSRC}/Makefile .include <bsd.port.mk> diff --git a/games/coffeebreak/files/patch-Makefile b/games/coffeebreak/files/patch-Makefile new file mode 100644 index 000000000000..7b8a2c2a1945 --- /dev/null +++ b/games/coffeebreak/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2024-03-09 06:57:33 UTC ++++ Makefile +@@ -27,7 +27,7 @@ BINDIR = $(DESTDIR)$(PREFIX)/bin + + PREFIX = /usr/local + BINDIR = $(DESTDIR)$(PREFIX)/bin +-MANDIR = $(DESTDIR)$(PREFIX)/man ++MANDIR = $(DESTDIR)$(PREFIX)/share/man + MAN6DIR = $(MANDIR)/man6 + + install: