sysutils/cpufetch: Move man to share/man

Approved by:		zirias (mentor)
Differential Revision:	https://reviews.freebsd.org/D44065
This commit is contained in:
Joel Bodenmann 2024-02-24 20:07:34 +01:00
parent 84db050658
commit 1c5304f954
1 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
PORTNAME= cpufetch
DISTVERSIONPREFIX= v
DISTVERSION= 1.05
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= jbo@FreeBSD.org
@ -10,7 +11,7 @@ WWW= https://github.com/Dr-Noob/cpufetch
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= not yet ported to other architectures
USES= gmake
@ -19,11 +20,11 @@ USE_GITHUB= yes
GH_ACCOUNT= Dr-Noob
PLIST_FILES= bin/cpufetch \
man/man1/cpufetch.1.gz
share/man/man1/cpufetch.1.gz
# Custom install as upstream uses invalid -Dm755 and -Dm644 instead of ${INSTALL_PROGRAM} and ${INSTALL_DATA} accordingly.
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cpufetch ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/cpufetch.1 ${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/cpufetch.1 ${STAGEDIR}${PREFIX}/share/man/man1
.include <bsd.port.mk>