Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2024 14:10:04 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2705380d28f8 - main - games/cmatrix: Move manpages to share/man
Message-ID:  <202401211410.40LEA4hf031444@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2705380d28f8ea6243f6353a42dc9d50670332ab

commit 2705380d28f8ea6243f6353a42dc9d50670332ab
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-01-21 14:07:29 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-01-21 14:07:29 +0000

    games/cmatrix: Move manpages to share/man
    
    While here, fix license, cleanup
---
 games/cmatrix/Makefile | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/games/cmatrix/Makefile b/games/cmatrix/Makefile
index 2f9613090785..57b498889f3e 100644
--- a/games/cmatrix/Makefile
+++ b/games/cmatrix/Makefile
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401211410.40LEA4hf031444>