Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2026 05:32:05 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ae3257056eb9 - main - games/rubygem-lolcat: Simplify manpage handling
Message-ID:  <6a13ded5.33eda.6ae7f52a@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

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

commit ae3257056eb9a8401ffdf8015ec6fc6bde2757af
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-05-25 05:24:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-05-25 05:28:13 +0000

    games/rubygem-lolcat: Simplify manpage handling
    
    - Bump PORTREVISION for package change
    
    It also fixes a stage-qa error.
    
    ====> Running Q/A tests (stage-qa)
    Error: Bad symlink 'share/man/man6/lolcat.6.gz' pointing inside the stage directory
    *** Error code 1
---
 games/rubygem-lolcat/Makefile | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/games/rubygem-lolcat/Makefile b/games/rubygem-lolcat/Makefile
index bc23dbe2dd1b..6e6d3cb8b5db 100644
--- a/games/rubygem-lolcat/Makefile
+++ b/games/rubygem-lolcat/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	lolcat
 PORTVERSION=	100.0.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	games
 MASTER_SITES=	RG
 
@@ -24,12 +24,7 @@ PLIST_FILES=	bin/lolcat \
 
 CONFLICTS_INSTALL=	lolcat # bin/lolcat
 
-post-build:
-	@${REINPLACE_CMD} -e 's|man/lolcat.6|&.gz|' ${WRKSRC}/${GEMSPEC}
-
-# compress the manpage manually instead of MANDIRS because of the order in
-# _STAGE_SEQ: 820:gem-autoplist 850:compress-man
 post-install:
-	${GZIP_CMD} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/man/lolcat.6
+	${INSTALL_MAN} ${WRKSRC}/man/lolcat.6 ${STAGEDIR}${PREFIX}/share/man/man6/lolcat.6
 
 .include <bsd.port.mk>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a13ded5.33eda.6ae7f52a>