From nobody Sat Mar 09 08:31:22 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TsGTl2DTVz5DB8Z; Sat, 9 Mar 2024 08:31:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TsGTk6Lqrz4CM3; Sat, 9 Mar 2024 08:31:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709973082; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OtIaXL40f1vZ+Bs/QophxiXQ2cXO90/uUeqez80DoOM=; b=Y9oPL3Z7Qexh5w3Vd/htQzUVyv2ZRBvFyrizhrKoAvbw318chWBP31gjB+eckoP/ReT9/i UEZRBNMtoFXDU0sbkunmQwVJoAVacuGs0nRlg6+sJ2/oEtmQOG6Yvl2oKNwXVdjo0BGDZZ WhZhuwa19Slp7aiNlkvTNF2a4kj6yah0kC435SlKj5xENaTa3YE9byqSICnhExxxgcWhrv 0SIGIvVm0o6JRN+tJVoyFIt/Rvk1kR1SzX/9GamWWSwcURx7toUZ8knaPWjreHrkFD7HVZ goQUb6Jgg9AgdgOR63QpnDSiEAbYvfL0uEBPHDEnDW6q/Lr58D1a92CfoQ6NHA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709973082; a=rsa-sha256; cv=none; b=LDbcEiSmnu7f1vg4yiCYpYQF5155nn2ARBkaPeuW12MD0J5Q+z6LCYZnW3hv36YJHtOULR KfZbRFx2Q/o1cuk7zUEkCcL7f+yjVUUF0ec/tePsPY66Nnnh72KhmheePeNwPLRnoo4iJt u+TWU++BvkUO3OJBwnVHjJPgrl7k98ffMjmYhykVATbvd6MhzqHFTZWBt45B4z4DUZTgpl o+/xMhUG5BXZkFDhNEhh+n4ZetfcBaeiwl+5z2tS8QQCAQFXUtZlrbEuSJrjc6ZmTbGiK6 Yu9T3MwKP3rusmsRH0WtzKA2Ic6HAeeMuvYYmrsRREPb94K/SgdW/p2MuZ5t5A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709973082; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OtIaXL40f1vZ+Bs/QophxiXQ2cXO90/uUeqez80DoOM=; b=hhG6KQr5un17nkJ22/wTKHtovKVAgwye7o17qGK5TxapyJrihHIX3jwNM3VGR4gAEgY+0S HQFQMnvbOEmjDDifi141+iVrsYOZiYhzLR9MSxZ5yI3BAkHsfOzRl2e9ThH0R0Ww3jmJAY dBYUQ45Ae3nfCsguAOvI66X39j7KkKxShsen2rIBLF1pGNKGTY/UZqIsMyTlqQgI0msI+5 gqflX7bOWVwqeI+1T24C9xqwR+KhK2tl0/pBKkcrW1QQQRibLjRAyFgSG8KMDoH2+vhJBq BiUHVS7u+xv6v1zG/Z1UyXjHuREBui3wdAfLli50ipG9VJHfVLqt9ky4UpDkWw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TsGTk5gJ0zvCD; Sat, 9 Mar 2024 08:31:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 4298VMq7024159; Sat, 9 Mar 2024 08:31:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4298VM5x024156; Sat, 9 Mar 2024 08:31:22 GMT (envelope-from git) Date: Sat, 9 Mar 2024 08:31:22 GMT Message-Id: <202403090831.4298VM5x024156@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: cef4e41b8650 - main - games/cowsay: Move man pages to share/man List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cef4e41b8650d47fff624df0d7a8bb9363d833a5 Auto-Submitted: auto-generated The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=cef4e41b8650d47fff624df0d7a8bb9363d833a5 commit cef4e41b8650d47fff624df0d7a8bb9363d833a5 Author: Nuno Teixeira AuthorDate: 2024-03-09 07:22:15 +0000 Commit: Nuno Teixeira CommitDate: 2024-03-09 08:31:02 +0000 games/cowsay: Move man pages to share/man Approved by: portmgr (blanket) --- games/cowsay/Makefile | 4 ++-- games/cowsay/files/patch-install.sh | 17 +++++++++++++++++ games/cowsay/pkg-plist | 4 ++-- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/games/cowsay/Makefile b/games/cowsay/Makefile index 1aff34726c76..9e02c591cb4e 100644 --- a/games/cowsay/Makefile +++ b/games/cowsay/Makefile @@ -1,7 +1,7 @@ PORTNAME= cowsay PORTVERSION= 3.04 DISTVERSIONPREFIX= cowsay- -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MAINTAINER= osa@FreeBSD.org @@ -35,7 +35,7 @@ do-install: # bit from both so that after installation cowsay uses, and the manpage # mentions, the prefix path, not the stage path. @${SED} -i '' 's,${STAGEDIR},,' ${STAGEDIR}${PREFIX}/bin/cowsay - @${SED} -i '' 's,${STAGEDIR},,' ${STAGEDIR}${PREFIX}/man/man1/cowsay.1 + @${SED} -i '' 's,${STAGEDIR},,' ${STAGEDIR}${PREFIX}/share/man/man1/cowsay.1 ${INSTALL_DATA} ${FILESDIR}/box.cow ${STAGEDIR}${PREFIX}/share/cows ${INSTALL_DATA} ${FILESDIR}/jkh.cow ${STAGEDIR}${PREFIX}/share/cows ${INSTALL_DATA} ${FILESDIR}/tux-stab.cow ${STAGEDIR}${PREFIX}/share/cows diff --git a/games/cowsay/files/patch-install.sh b/games/cowsay/files/patch-install.sh new file mode 100644 index 000000000000..3d116e387081 --- /dev/null +++ b/games/cowsay/files/patch-install.sh @@ -0,0 +1,17 @@ +--- install.sh.orig 2024-03-09 07:16:05 UTC ++++ install.sh +@@ -73,10 +73,10 @@ ln -s cowsay $PREFIX/bin/cowthink + $usethisperl -p install.pl cowsay > $PREFIX/bin/cowsay + chmod a+x $PREFIX/bin/cowsay + ln -s cowsay $PREFIX/bin/cowthink +-mkdir -p $PREFIX/man/man1 || ($mkdir $PREFIX; mkdir $PREFIX/man; mkdir $PREFIX/man/man1) +-$usethisperl -p install.pl cowsay.1 > $PREFIX/man/man1/cowsay.1 +-chmod a+r $PREFIX/man/man1/cowsay.1 +-ln -s cowsay.1 $PREFIX/man/man1/cowthink.1 ++mkdir -p $PREFIX/share/man/man1 || ($mkdir $PREFIX; mkdir $PREFIX/man; mkdir $PREFIX/man/man1) ++$usethisperl -p install.pl cowsay.1 > $PREFIX/share/man/man1/cowsay.1 ++chmod a+r $PREFIX/share/man/man1/cowsay.1 ++ln -s cowsay.1 $PREFIX/share/man/man1/cowthink.1 + mkdir -p $PREFIX/share/cows || (mkdir $PREFIX; mkdir $PREFIX/share; mkdir $PREFIX/share/cows) + tar -cf - $filelist | (cd $PREFIX/share && tar -xvf -) + set +x diff --git a/games/cowsay/pkg-plist b/games/cowsay/pkg-plist index 5532ee0bc9c4..a2ad75eb1237 100644 --- a/games/cowsay/pkg-plist +++ b/games/cowsay/pkg-plist @@ -1,7 +1,5 @@ bin/cowsay bin/cowthink -man/man1/cowsay.1.gz -man/man1/cowthink.1.gz share/cows/DragonAndCow.pm share/cows/Example.pm share/cows/Frogs.pm @@ -60,3 +58,5 @@ share/cows/udder.cow share/cows/vader-koala.cow share/cows/vader.cow share/cows/www.cow +share/man/man1/cowsay.1.gz +share/man/man1/cowthink.1.gz