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).
This commit is contained in:
Alexey Dokuchaev 2024-01-23 17:30:08 +00:00
parent babab33e45
commit 3244a1027b
1 changed files with 3 additions and 2 deletions

View File

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