From nobody Thu Sep 05 06:19:21 2024 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 4Wzq2L1hvnz5VH0h; Thu, 05 Sep 2024 06:19:22 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wzq2K6JGtz40TY; Thu, 5 Sep 2024 06:19:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725517161; 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=+ZzCnG4j3Y+OzaaEhVUw/D1KHtwNgGCmoksgsn3AVDY=; b=aHhNGV4kOHE+EAdV5qCpXjGoooDsa15VD/GAmZl5p67xvlndOSl+fhFV9lCejN4QBPkPVs i5I47lqux9oTjgI8EviTpN/qjDglGhbq7KD7L7enf3+wOMdM0A0OmluASTbl8Ph8oB1J0U n7V7/dIBiGiyP9XNRvFWlcLYdP4rPVZBoVJCVEswdTJO019ngDdMt9k1qhn3UPZJyhZKhA INE5RKlnGek44CfLtKFPASWyIP3WZc+1m/qJsXd1GI0WUufc/L53EhDJ6ywqISUqzY6CzX o5TueYZryhlkohwPghEPFGRwC9zhjke5iqmpbGDJUKQPrbI9dmlpN6ro3ntFjQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725517161; a=rsa-sha256; cv=none; b=bEKNoGL+QXXn3hyPrHu+WdVCUqNeU/V7rDphqumH+QmiyQ8E/OX+t9+GFdMKqNzuBsL22Y OU0AsjnS0xRdIOc7rvc2XP6c+/TtF6B6XJtH/MEH8Amfsh857ACJ978LY5s0Iwg1tp2mS0 zkt60was0/hdGDmGyaNnYCSGDDofhbzUDT+gEi9zD+v67jI7haT4cVXimHtYodKsQsQ1lL XmP1cbNeax3sCXHXK1mEsRuS6j8xMkqetA2hhfiw/iy8rtvKIhQFVWEtOUQqFVzwIKHtFq UZzCjWveZ0XyJWk4o+JTU7Iy7+Hh855GAt7FnvKhmOPSiWst8ZYM55Kw+nm7Tg== 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=1725517161; 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=+ZzCnG4j3Y+OzaaEhVUw/D1KHtwNgGCmoksgsn3AVDY=; b=eka9rV0AIK9RCIaJKI2bPWjesxMR/S28JJkfN4139EKDl6LqyD/SmmuKqhk+r69lXNBdpY BJ11gzYpEr10L5hfydRY904JJGD/o7U540hZJfOFmzCob0o6C1Q6Q4g58E32ND6P1gsr8f fHbbFhBeIGljblPiD5JtnIzHS369D3AFZFxwH4UtfNhReEUs7dPwPjKTbSyVVT+1p+hBdc Y9gx7siPhsju9SMtTjrPpW0PZVh3dgBDwA8+8d85ngsFr3MvscvWY7+9jDL7D4TrmUJods VWJf33QApvG7l3mbi7IpA8/56IZdTrHmwMqL+gpL9kOroaryWQcnraLiefyZ8g== 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 4Wzq2K5fzJzxCp; Thu, 5 Sep 2024 06:19:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4856JLOB091299; Thu, 5 Sep 2024 06:19:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4856JLvJ091296; Thu, 5 Sep 2024 06:19:21 GMT (envelope-from git) Date: Thu, 5 Sep 2024 06:19:21 GMT Message-Id: <202409050619.4856JLvJ091296@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: 2762e0bd1b2f - main - devel/p5-Module-Path-More: Add p5-Module-Path-More 0.340 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-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: 2762e0bd1b2f582e8029f335032f622c701d0920 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2762e0bd1b2f582e8029f335032f622c701d0920 commit 2762e0bd1b2f582e8029f335032f622c701d0920 Author: Po-Chuan Hsieh AuthorDate: 2024-09-05 05:13:48 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-09-05 06:11:17 +0000 devel/p5-Module-Path-More: Add p5-Module-Path-More 0.340 Module::Path::More provides a function, module_path(), which will find where a module (or module prefix, or .pod file) is installed locally. (There is also another function pod_path() which is just a convenience wrapper.) It works by looking in all the directories in @INC for an appropriately named file. If module is Foo::Bar, will search for Foo/Bar.pm, Foo/Bar.pmc (if find_pmc argument is true), Foo/Bar directory (if find_prefix argument is true), or Foo/Bar.pod (if find_pod argument is true). --- devel/Makefile | 1 + devel/p5-Module-Path-More/Makefile | 23 +++++++++++++++++++++++ devel/p5-Module-Path-More/distinfo | 3 +++ devel/p5-Module-Path-More/pkg-descr | 8 ++++++++ devel/p5-Module-Path-More/pkg-plist | 2 ++ 5 files changed, 37 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index f94e359fb0b4..6334d89cea2c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3001,6 +3001,7 @@ SUBDIR += p5-Module-Math-Depends SUBDIR += p5-Module-Metadata SUBDIR += p5-Module-Path + SUBDIR += p5-Module-Path-More SUBDIR += p5-Module-Pluggable SUBDIR += p5-Module-Pluggable-Fast SUBDIR += p5-Module-Pluggable-Ordered diff --git a/devel/p5-Module-Path-More/Makefile b/devel/p5-Module-Path-More/Makefile new file mode 100644 index 000000000000..90b1044b713c --- /dev/null +++ b/devel/p5-Module-Path-More/Makefile @@ -0,0 +1,23 @@ +PORTNAME= Module-Path-More +PORTVERSION= 0.34.0 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- +DISTNAME= Module-Path-More-${PORTVERSION:R}${PORTVERSION:E} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Get path to locally installed Perl module +WWW= https://metacpan.org/dist/Module-Path-More + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include diff --git a/devel/p5-Module-Path-More/distinfo b/devel/p5-Module-Path-More/distinfo new file mode 100644 index 000000000000..af73b33cd81b --- /dev/null +++ b/devel/p5-Module-Path-More/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724084462 +SHA256 (Module-Path-More-0.340.tar.gz) = d10a9aa71d8188ef94fa4d516b2e7d803a5b0129e823ea9789856d154beaedfd +SIZE (Module-Path-More-0.340.tar.gz) = 21000 diff --git a/devel/p5-Module-Path-More/pkg-descr b/devel/p5-Module-Path-More/pkg-descr new file mode 100644 index 000000000000..198e20267b5c --- /dev/null +++ b/devel/p5-Module-Path-More/pkg-descr @@ -0,0 +1,8 @@ +Module::Path::More provides a function, module_path(), which will find where a +module (or module prefix, or .pod file) is installed locally. (There is also +another function pod_path() which is just a convenience wrapper.) + +It works by looking in all the directories in @INC for an appropriately named +file. If module is Foo::Bar, will search for Foo/Bar.pm, Foo/Bar.pmc (if +find_pmc argument is true), Foo/Bar directory (if find_prefix argument is true), +or Foo/Bar.pod (if find_pod argument is true). diff --git a/devel/p5-Module-Path-More/pkg-plist b/devel/p5-Module-Path-More/pkg-plist new file mode 100644 index 000000000000..d0799688dd67 --- /dev/null +++ b/devel/p5-Module-Path-More/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Module/Path/More.pm +%%PERL5_MAN3%%/Module::Path::More.3.gz