From nobody Sat May 14 16:37:17 2022 X-Original-To: dev-commits-ports-all@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 6668B1ADDB19; Sat, 14 May 2022 16:37:17 +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 4L0rlK2NvHz3JrM; Sat, 14 May 2022 16:37:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652546237; 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=Fp/AzfbqxWnDOaFKObZDLJYSwFSitIbU5IArOrnbgec=; b=W7z2STLRkyeXYvQrEvz8iwKgB54U0FoXys3JtFQmehjVLRtwrj+T1jzw/jx99in1v7d5p3 irw7XkK1K76Y6/6PVogiZxaYaDDD0aerMULE8H5hPQKF2thdQN1qJHCi+glKU8fFBcPDAS kRCOPMw006hbEBx7Glzqd66U1m3WcYXr5CsuzqJ3fLcKT//Whr25Sf1xLEKBj3hHsVQpmG MxnnR6aULltoKtn4qMfZZVpmEYouKyAfnyK/dol+3uw77v+Ie3UseGo+MNxNJGTEVl7VpE S8RJGgetGMjdVFA3dwWz3cHuSMlh5U45FM23Yu2gkhi0NliV91i28q4RzS2LtQ== 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 3278E1AD78; Sat, 14 May 2022 16:37:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24EGbHoV008530; Sat, 14 May 2022 16:37:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24EGbHM9008529; Sat, 14 May 2022 16:37:17 GMT (envelope-from git) Date: Sat, 14 May 2022 16:37:17 GMT Message-Id: <202205141637.24EGbHM9008529@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 71c250981797 - main - astro/weather: Show usage for package users List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 71c25098179744dc38266300117f9855654d453b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652546237; 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=Fp/AzfbqxWnDOaFKObZDLJYSwFSitIbU5IArOrnbgec=; b=iYTVTfI3iTisodperBxxdCPbM73ZY57kL+wepGOTgs5uYQzQ4/Ba7TfI5mcbl6WoMAAt07 02ccNI7/z+J3Qyo9wQkQvrZ+qdtAdDyWGGOWnHHRJ04JXdp3xyHuzLFaruOT03YFQ2wY3U cWrfMruvQ6MNrIB0xDxpo84usIRJzwYjLdOkVVrl5I75sHg7bFu2LNuvOUyJs17YQT6Dr8 h7umEIoa1aF6ATGFRScm+YYNmmVdY1JUuETH6scGZm5L9YbcKnKQmTthtHlMgkJN7rWyTH 7O/AsfSFEN11NJ0aOz71Mc7GWKVyXH1my9zJtYbleDzya5rwLm59nJp+cVM5fA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652546237; a=rsa-sha256; cv=none; b=WD4haXslQTaQ6KO3Lxdp/JAtfaB8ce/YhAd5DqV4hB4qCCo4S/OnTMFrYIynFihu2yksMP lwl6LzW19oyW6lX2ujoFwkGxxHnfkQ34XS0DQiwSVNiF6Yapv208g2Ofe5ozz5l+paEOvF BULx1M3Vd/8rrsBUnUPhmqIvH+t8gn1EYz8u8faO91aiUiGwXfTDAXYKU2OP8i3SjRcR7z N4RMCxyo14Lje+XILg4fDKBKXGI8/WCcFgFwhy6WPseQsqb3sL3QRw9hJoTk7yrqvLbQg/ MGIYGtAYdVSdQFRFrR8OuWz7RvX6I1meP8UzhxnOSKxJmAb7FlWCBiOZnBuvbw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=71c25098179744dc38266300117f9855654d453b commit 71c25098179744dc38266300117f9855654d453b Author: Po-Chuan Hsieh AuthorDate: 2022-05-14 16:37:11 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-05-14 16:37:11 +0000 astro/weather: Show usage for package users - Convert ECHO_MSG in do-install: to UCL-format pkg-message - Bump PORTREVISION for package change --- astro/weather/Makefile | 9 +++------ astro/weather/files/pkg-message.in | 10 ++++++++++ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/astro/weather/Makefile b/astro/weather/Makefile index 00be5bfe2fc2..4b757b8b33e5 100644 --- a/astro/weather/Makefile +++ b/astro/weather/Makefile @@ -2,6 +2,7 @@ PORTNAME= weather PORTVERSION= 2.4.2 +PORTREVISION= 1 CATEGORIES= astro python MASTER_SITES= http://fungi.yuggoth.org/weather/src/ \ LOCAL/sunpoet @@ -17,6 +18,8 @@ USES= python shebangfix tar:xz NO_ARCH= yes NO_BUILD= yes +SUB_FILES= pkg-message + SHEBANG_FILES= weather do-install: @@ -29,11 +32,5 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/weatherrc.5 ${STAGEDIR}${PREFIX}/share/man/man5/weatherrc.5 ${MKDIR} ${STAGEDIR}${DATADIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} airports places stations zctas zones ${STAGEDIR}${DATADIR}/ - @${ECHO_MSG} "" - @${ECHO_MSG} "Please add the following to your .weatherrc in order to use installed data files:" - @${ECHO_MSG} "" - @${ECHO_MSG} "[default]" - @${ECHO_MSG} "setpath = ${DATADIR}" - @${ECHO_MSG} "" .include diff --git a/astro/weather/files/pkg-message.in b/astro/weather/files/pkg-message.in new file mode 100644 index 000000000000..eb5ef2e6ed37 --- /dev/null +++ b/astro/weather/files/pkg-message.in @@ -0,0 +1,10 @@ +[ +{ type: install + message: <