diff --git a/games/coffeebreak/Makefile b/games/coffeebreak/Makefile index 77a1b3fa6805..50bfc8a5c13d 100644 --- a/games/coffeebreak/Makefile +++ b/games/coffeebreak/Makefile @@ -1,20 +1,24 @@ PORTNAME= coffeebreak DISTVERSION= 0.1.1 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= 0mp@FreeBSD.org COMMENT= Pretend your machine is busy with a fake FreeBSD installer WWW= https://github.com/0mp/coffeebreak LICENSE= BSD2CLAUSE USE_GITHUB= yes GH_ACCOUNT= 0mp 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 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: