diff options
author | Nuno Teixeira <eduardo@FreeBSD.org> | 2024-03-09 07:00:44 +0000 |
---|---|---|
committer | Nuno Teixeira <eduardo@FreeBSD.org> | 2024-03-09 08:31:01 +0000 |
commit | 021fcd36af22585a4bcf6e71ccb9a7d0f6ed204a (patch) | |
tree | 57267365cad90ba32ef89b388f794c54f5d8aaaa /games/coffeebreak | |
parent | 3b690e7e2bd8a26d8073e5d4eafa09caf6fb0636 (diff) | |
download | ports-021fcd36af22585a4bcf6e71ccb9a7d0f6ed204a.tar.gz ports-021fcd36af22585a4bcf6e71ccb9a7d0f6ed204a.zip |
games/coffeebreak: Move man pages to share/man
Approved by: portmgr (blanket)
Diffstat (limited to 'games/coffeebreak')
-rw-r--r-- | games/coffeebreak/Makefile | 6 | ||||
-rw-r--r-- | games/coffeebreak/files/patch-Makefile | 11 |
2 files changed, 16 insertions, 1 deletions
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: |