git: 3244a1027bae - main - sysutils/nvclock: install the manpage under ${PREFIX}/share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Jan 2024 17:31:34 UTC
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3244a1027bae9ccd4979b5a4a4efd64bc132ded9
commit 3244a1027bae9ccd4979b5a4a4efd64bc132ded9
Author: Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-01-23 17:30:08 +0000
Commit: Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-01-23 17:30:08 +0000
sysutils/nvclock: install the manpage under ${PREFIX}/share/man
Despite that the port uses autotools-based configure script, it
nonetheless hardcodes manpages path, so pass it down to make(1)
via MAKE_ARGS. While here, adjust the license (GPLv2 or later).
---
sysutils/nvclock/Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/sysutils/nvclock/Makefile b/sysutils/nvclock/Makefile
index 81bc37418156..cf72868a28c7 100644
--- a/sysutils/nvclock/Makefile
+++ b/sysutils/nvclock/Makefile
@@ -9,12 +9,13 @@ MAINTAINER= danfe@FreeBSD.org
COMMENT= NVidia graphic card status and overclocking tool
WWW= https://www.linuxhardware.org/nvclock/
-LICENSE= GPLv2
+LICENSE= GPLv2+
USES= gmake
GNU_CONFIGURE= yes
+MAKE_ARGS= mandir=${STAGEDIR}${PREFIX}/share/man
-PLIST_FILES= bin/nvclock bin/smartdimmer man/man1/nvclock.1.gz
+PLIST_FILES= bin/nvclock bin/smartdimmer share/man/man1/nvclock.1.gz
PORTDOCS= ABOUT AUTHORS ChangeLog FAQ README
OPTIONS_DEFINE= NVCONTROL X11 DOCS