1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

games/cmatrix: Move manpages to share/man

While here, fix license, cleanup
This commit is contained in:
Nuno Teixeira 2024-01-21 14:07:29 +00:00
parent f0ae4cbea7
commit 2705380d28

View File

@ -1,13 +1,15 @@
PORTNAME= cmatrix
PORTVERSION= 2.0
DISTVERSIONPREFIX= v
DISTVERSION= 2.0
PORTREVISION= 1
CATEGORIES= games
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Show a scrolling 'Matrix' like screen
WWW= https://www.asty.org/cmatrix/
LICENSE= GPLv3+
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf ncurses
USE_GITHUB= yes
@ -15,20 +17,18 @@ GH_ACCOUNT= abishekvashok
GNU_CONFIGURE= yes
PORTDOCS= README
PLIST_FILES= bin/cmatrix \
man/man1/cmatrix.1.gz
share/man/man1/cmatrix.1.gz
PORTDOCS= README
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cmatrix ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/cmatrix.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/cmatrix.1 ${STAGEDIR}${PREFIX}/share/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>