From nobody Mon Aug 02 06:56:59 2021 X-Original-To: freebsd-perl@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 6553E12B2EC6 for ; Mon, 2 Aug 2021 06:57:03 +0000 (UTC) (envelope-from bokutin@bokut.in) Received: from ymc.bokut.in (ymc.bokut.in [160.16.203.145]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4GdTML1ZSZz4vjc for ; Mon, 2 Aug 2021 06:57:01 +0000 (UTC) (envelope-from bokutin@bokut.in) Received: from bokut.in (unknown [192.168.228.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by ymc.bokut.in (Postfix) with ESMTPS id 1BEC1D7882 for ; Mon, 2 Aug 2021 15:57:00 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bokut.in; s=v1; t=1627887420; bh=r5He1YUcCTwqJ4LY4AGH67Gu6JxgwP3ZWQJQlS88x2E=; h=Date:From:To:Subject; b=QmBNvrqFaNKdhLpU6IaU9idSGNBu7lYKCCsfY2qvy0tpFAmk6L4pWcuxWGPuNlozk gEgwyRfC299GbIm4NR/DdpZ88jEwhQSeoLz+rSSr8U9RilYnkxXcBPHowGvlr7HQxH 5UWhVuquKbl5rfPBD+9bSnNiQAagp2q9nYpEmn2G3hgIKos+Vz4TCpx9MttnuM1Cap J7IGbUoUWeEY39HSf26jir1ooeNm7fHsXvx8dPzmcXQGgUYggOToVbrcZYTjB/00Qp BrW7xNcL24arFL198U0xlqBKz3geqUxhZT9l3D7+HxHpYx5qalCYDl2M1Nl8pD+wdE Spnxk5LNwA5MA== Received: from bokut.in (unknown [192.168.12.23]) by bokut.in (Postfix) with ESMTP id CD55B120C622 for ; Mon, 2 Aug 2021 15:56:59 +0900 (JST) List-Id: maintainer of a number of perl-related ports List-Archive: https://lists.freebsd.org/archives/freebsd-perl List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-perl@freebsd.org X-BeenThere: freebsd-perl@freebsd.org MIME-Version: 1.0 Date: Mon, 02 Aug 2021 15:56:59 +0900 From: Tomohiro Hosaka To: freebsd-perl@freebsd.org Subject: PKGNAMEPREFIX in japanese/p5-* User-Agent: Roundcube Webmail/1.4.11 Message-ID: <6f7f24519ec516b0c87f21024d31d158@bokut.in> X-Sender: bokutin@bokut.in Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GdTML1ZSZz4vjc X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bokut.in header.s=v1 header.b=QmBNvrqF; dmarc=pass (policy=none) header.from=bokut.in; spf=pass (mx1.freebsd.org: domain of bokutin@bokut.in designates 160.16.203.145 as permitted sender) smtp.mailfrom=bokutin@bokut.in X-Spamd-Result: default: False [-4.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[bokut.in:s=v1]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:160.16.203.145]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-perl@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[bokut.in:+]; DMARC_POLICY_ALLOW(-0.50)[bokut.in,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:9370, ipnet:160.16.128.0/17, country:JP]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-perl] X-ThisMailContainsUnwantedMimeParts: N Hello, I have a question about PKGNAMEPREFIX in japanese/p5-*. The following result makes ja- look unnecessary. # pwd /usr/ports # ls -d {arabic,chinese,french,german,hebrew,hungarian,japanese,korean,russian,ukrainian,vietnamese}/*/ | grep p5 | perl -nlE 'chmop; printf "%-50s%s", $_, `grep PKGNAMEPREFIX $_/Makefile`||"\n"' chinese/p5-Date-Chinese/ PKGNAMEPREFIX= p5- chinese/p5-Encode-CNMap/ PKGNAMEPREFIX= p5- chinese/p5-Encode-HanConvert/ PKGNAMEPREFIX= p5- chinese/p5-Encode-HanExtra/ PKGNAMEPREFIX= p5- chinese/p5-Lingua-Han-PinYin/ PKGNAMEPREFIX= p5- chinese/p5-Lingua-Han-Utils/ PKGNAMEPREFIX= p5- chinese/p5-Lingua-ZH-HanDetect/ PKGNAMEPREFIX= p5- chinese/p5-Lingua-ZH-Keywords/ PKGNAMEPREFIX= p5- chinese/p5-Lingua-ZH-Numbers/ PKGNAMEPREFIX= p5- chinese/p5-Lingua-ZH-Romanize-Pinyin/ PKGNAMEPREFIX= p5- chinese/p5-Lingua-ZH-Segment/ PKGNAMEPREFIX= p5- chinese/p5-Lingua-ZH-Summarize/ PKGNAMEPREFIX= p5- chinese/p5-Lingua-ZH-TaBE/ PKGNAMEPREFIX= p5- chinese/p5-Lingua-ZH-Toke/ PKGNAMEPREFIX= p5- chinese/p5-Lingua-ZH-WordSegmenter/ PKGNAMEPREFIX= p5- chinese/p5-Lingua-ZH-Wrap/ PKGNAMEPREFIX= p5- chinese/p5-Text-Greeking-zh_TW/ PKGNAMEPREFIX= p5- japanese/cp5022x-el/ japanese/p5-2chproxy/ PKGNAMEPREFIX= ja-p5- japanese/p5-Date-Japanese-Era/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-Date-Japanese-Holiday/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-DateTime-Calendar-Japanese-Era/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-DateTime-Format-Japanese/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-Encode-EUCJPASCII/ PKGNAMEPREFIX= ja-p5- japanese/p5-Encode-EUCJPMS/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-Encode-ISO2022/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-Encode-JP-Emoji/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-Encode-JP-Mobile/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-HTML-MobileJp/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-Jcode/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-Lingua-JA-Kana/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-Lingua-JA-Moji/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-Lingua-JA-Numbers/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-Lingua-JA-Regular-Unicode/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-Lingua-JA-Romanize-Japanese/ PKGNAMEPREFIX= p5- japanese/p5-Lingua-JA-Summarize-Extract/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-MeCab/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-nkf/ PKGNAMEPREFIX= ja-p5- japanese/p5-Number-Phone-JP/ PKGNAMEPREFIX= ja-p5- japanese/p5-PDFJ/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-Text-ChaSen/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-Text-Kakasi/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-Text-MeCab/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-Unicode-Japanese/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- japanese/p5-WWW-2ch/ PKGNAMEPREFIX= p5- japanese/p5-WWW-MobileCarrierJP/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- korean/p5-Lingua-KO-Hangul-Util/ PKGNAMEPREFIX= p5- korean/p5-Lingua-KO-Romanize-Hangul/ PKGNAMEPREFIX= p5- russian/p5-Convert-Cyrillic/ PKGNAMEPREFIX= p5- russian/p5-Lingua-DetectCyrillic/ PKGNAMEPREFIX= p5- russian/p5-Lingua-RU-Charset/ PKGNAMEPREFIX= p5- russian/p5-Text-Hyphen-RU/ PKGNAMEPREFIX= p5- russian/p5-XML-Parser-encodings/ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- It would be useful if it was a PKGNAMEPREFIX to avoid conflicts, but that doesn't seem to be the case. Instead, it seems to be an obstacle to natural guessing of the package name. Shouldn't the useless LANG-CC(ja-) be removed? Are there any rules that use LANG-CC? I believe that compatibility and convention are important. At the very least, I want to clear up any doubts I may have when creating future ports. Thanks,