Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jul 2021 19:19:20 GMT
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: f455d725f170 - main - devel/p5-XS-Parse-Sublike: Add p5-XS-Parse-Sublike 0.12
Message-ID:  <202107061919.166JJKGL060826@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit f455d725f170fbe93c845878f888623921d3b223
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-07-06 19:13:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-07-06 19:13:58 +0000

    devel/p5-XS-Parse-Sublike: Add p5-XS-Parse-Sublike 0.12
    
    XS::Parse::Sublike provides some XS functions to assist in writing parsers for
    sub-like syntax, primarily for authors of keyword plugins using the
    PL_keyword_plugin hook mechanism. It is unlikely to be of much use to anyone
    else; and highly unlikely to be any use when writing perl code using these.
    Unless you are writing a keyword plugin using XS, this module is not for you.
    
    WWW: https://metacpan.org/dist/XS-Parse-Sublike
---
 devel/Makefile                      |  1 +
 devel/p5-XS-Parse-Sublike/Makefile  | 25 +++++++++++++++++++++++++
 devel/p5-XS-Parse-Sublike/distinfo  |  3 +++
 devel/p5-XS-Parse-Sublike/pkg-descr |  7 +++++++
 devel/p5-XS-Parse-Sublike/pkg-plist |  5 +++++
 5 files changed, 41 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 618ed7933d01..d9365fe6a368 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3640,6 +3640,7 @@
     SUBDIR += p5-XML-Pastor
     SUBDIR += p5-XS-Object-Magic
     SUBDIR += p5-XS-Parse-Keyword
+    SUBDIR += p5-XS-Parse-Sublike
     SUBDIR += p5-XSLoader
     SUBDIR += p5-XXX
     SUBDIR += p5-Xporter
diff --git a/devel/p5-XS-Parse-Sublike/Makefile b/devel/p5-XS-Parse-Sublike/Makefile
new file mode 100644
index 000000000000..abed3af08b79
--- /dev/null
+++ b/devel/p5-XS-Parse-Sublike/Makefile
@@ -0,0 +1,25 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	XS-Parse-Sublike
+PORTVERSION=	0.12
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:PEVANS
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	XS functions to assist in parsing sub-like syntax
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+TEST_DEPENDS=	p5-Test-Fatal>=0:devel/p5-Test-Fatal
+
+USES=		perl5
+USE_PERL5=	modbuild
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/XS/Parse/Sublike/Sublike.so
+
+.include <bsd.port.mk>
diff --git a/devel/p5-XS-Parse-Sublike/distinfo b/devel/p5-XS-Parse-Sublike/distinfo
new file mode 100644
index 000000000000..e5ba90b13fb5
--- /dev/null
+++ b/devel/p5-XS-Parse-Sublike/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1625585422
+SHA256 (XS-Parse-Sublike-0.12.tar.gz) = 5a88c54af6a0865d922270528c58f1c27b39e049daae9d0961380787888a7722
+SIZE (XS-Parse-Sublike-0.12.tar.gz) = 36256
diff --git a/devel/p5-XS-Parse-Sublike/pkg-descr b/devel/p5-XS-Parse-Sublike/pkg-descr
new file mode 100644
index 000000000000..0d87f3df3ab7
--- /dev/null
+++ b/devel/p5-XS-Parse-Sublike/pkg-descr
@@ -0,0 +1,7 @@
+XS::Parse::Sublike provides some XS functions to assist in writing parsers for
+sub-like syntax, primarily for authors of keyword plugins using the
+PL_keyword_plugin hook mechanism. It is unlikely to be of much use to anyone
+else; and highly unlikely to be any use when writing perl code using these.
+Unless you are writing a keyword plugin using XS, this module is not for you.
+
+WWW: https://metacpan.org/dist/XS-Parse-Sublike
diff --git a/devel/p5-XS-Parse-Sublike/pkg-plist b/devel/p5-XS-Parse-Sublike/pkg-plist
new file mode 100644
index 000000000000..23d5f577c04f
--- /dev/null
+++ b/devel/p5-XS-Parse-Sublike/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_ARCH%%/XS/Parse/Sublike.pm
+%%SITE_ARCH%%/XS/Parse/Sublike/Builder.pm
+%%SITE_ARCH%%/auto/XS/Parse/Sublike/Sublike.so
+%%PERL5_MAN3%%/XS::Parse::Sublike.3.gz
+%%PERL5_MAN3%%/XS::Parse::Sublike::Builder.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107061919.166JJKGL060826>