games/coffeebreak: Move man pages to share/man

Approved by:	portmgr (blanket)
This commit is contained in:
Nuno Teixeira 2024-03-09 07:00:44 +00:00
parent 3b690e7e2b
commit 021fcd36af
2 changed files with 16 additions and 1 deletions

View file

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

View file

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