Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Apr 2021 14:35:27 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: e4228f0bacd9 - main - devel/p5-Tickit: Add p5-Tickit 0.71
Message-ID:  <202104291435.13TEZR8V050653@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=e4228f0bacd9b557bb85eab3cd2026ed730b3a5c

commit e4228f0bacd9b557bb85eab3cd2026ed730b3a5c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-04-29 14:10:04 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-04-29 14:23:30 +0000

    devel/p5-Tickit: Add p5-Tickit 0.71
    
    Tickit is a high-level toolkit for creating full-screen terminal-based
    interactive programs. It allows programs to be written in an abstracted way,
    working with a tree of widget objects, to represent the layout of the interface
    and implement its behaviours.
    
    Its supported terminal features includes a rich set of rendering attributes
    (bold, underline, italic, 256-colours, etc), support for mouse including wheel
    and position events above the 224th column and arbitrary modified key input via
    libtermkey (all of these will require a supporting terminal as well). It also
    supports having multiple instances and non-blocking or asynchronous control.
    
    WWW: https://metacpan.org/release/Tickit
---
 devel/Makefile                       |  1 +
 devel/p5-Tickit/Makefile             | 32 ++++++++++++++++++++++++++++++++
 devel/p5-Tickit/distinfo             |  3 +++
 devel/p5-Tickit/files/patch-Build.PL | 11 +++++++++++
 devel/p5-Tickit/pkg-descr            | 12 ++++++++++++
 devel/p5-Tickit/pkg-plist            | 26 ++++++++++++++++++++++++++
 6 files changed, 85 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 497a49f94941..f7a01262d861 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3526,6 +3526,7 @@
     SUBDIR += p5-Thrift
     SUBDIR += p5-Thrift-XS
     SUBDIR += p5-Throwable
+    SUBDIR += p5-Tickit
     SUBDIR += p5-Tie-Array-Pack
     SUBDIR += p5-Tie-Array-Sorted
     SUBDIR += p5-Tie-CPHash
diff --git a/devel/p5-Tickit/Makefile b/devel/p5-Tickit/Makefile
new file mode 100644
index 000000000000..74b4b6aff8cd
--- /dev/null
+++ b/devel/p5-Tickit/Makefile
@@ -0,0 +1,32 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	Tickit
+PORTVERSION=	0.71
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:PEVANS
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Terminal Interface Construction KIT
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	libtickit>=0.4.0:devel/libtickit \
+		p5-Module-Build-Using-PkgConfig>=0:devel/p5-Module-Build-Using-PkgConfig \
+		${RUN_DEPENDS}
+LIB_DEPENDS=	libtickit.so:devel/libtickit
+RUN_DEPENDS=	p5-Struct-Dumb>=0.04:devel/p5-Struct-Dumb
+TEST_DEPENDS=	p5-Test-Fatal>=0:devel/p5-Test-Fatal \
+		p5-Test-HexString>=0:devel/p5-Test-HexString \
+		p5-Test-Refcount>=0:devel/p5-Test-Refcount
+
+USES=		perl5
+USE_PERL5=	modbuild
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Tickit/Tickit.so
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Tickit/distinfo b/devel/p5-Tickit/distinfo
new file mode 100644
index 000000000000..ca502f70bfe0
--- /dev/null
+++ b/devel/p5-Tickit/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1619569395
+SHA256 (Tickit-0.71.tar.gz) = b309dd514abae7408bee9dd218ed5041e0dbe1578eca9608eadb84dec0717808
+SIZE (Tickit-0.71.tar.gz) = 121617
diff --git a/devel/p5-Tickit/files/patch-Build.PL b/devel/p5-Tickit/files/patch-Build.PL
new file mode 100644
index 000000000000..1461a4014a71
--- /dev/null
+++ b/devel/p5-Tickit/files/patch-Build.PL
@@ -0,0 +1,11 @@
+--- Build.PL.orig	2020-05-25 11:01:56 UTC
++++ Build.PL
+@@ -27,8 +27,6 @@ my $build = Module::Build::Using::PkgConfig->new(
+ 
+ $build->use_pkgconfig( "tickit",
+    atleast_version => "0.4.0",
+-   alien         => "Alien::libtickit",
+-   alien_version => "0.09",
+ );
+ 
+ $build->create_build_script;
diff --git a/devel/p5-Tickit/pkg-descr b/devel/p5-Tickit/pkg-descr
new file mode 100644
index 000000000000..f2e431a6ff49
--- /dev/null
+++ b/devel/p5-Tickit/pkg-descr
@@ -0,0 +1,12 @@
+Tickit is a high-level toolkit for creating full-screen terminal-based
+interactive programs. It allows programs to be written in an abstracted way,
+working with a tree of widget objects, to represent the layout of the interface
+and implement its behaviours.
+
+Its supported terminal features includes a rich set of rendering attributes
+(bold, underline, italic, 256-colours, etc), support for mouse including wheel
+and position events above the 224th column and arbitrary modified key input via
+libtermkey (all of these will require a supporting terminal as well). It also
+supports having multiple instances and non-blocking or asynchronous control.
+
+WWW: https://metacpan.org/release/Tickit
diff --git a/devel/p5-Tickit/pkg-plist b/devel/p5-Tickit/pkg-plist
new file mode 100644
index 000000000000..039065861979
--- /dev/null
+++ b/devel/p5-Tickit/pkg-plist
@@ -0,0 +1,26 @@
+%%SITE_ARCH%%/Tickit.pm
+%%SITE_ARCH%%/Tickit/Debug.pm
+%%SITE_ARCH%%/Tickit/Event.pm
+%%SITE_ARCH%%/Tickit/Pen.pm
+%%SITE_ARCH%%/Tickit/Rect.pm
+%%SITE_ARCH%%/Tickit/RectSet.pm
+%%SITE_ARCH%%/Tickit/RenderBuffer.pm
+%%SITE_ARCH%%/Tickit/StringPos.pm
+%%SITE_ARCH%%/Tickit/Term.pm
+%%SITE_ARCH%%/Tickit/Test.pm
+%%SITE_ARCH%%/Tickit/Test/MockTerm.pm
+%%SITE_ARCH%%/Tickit/Utils.pm
+%%SITE_ARCH%%/Tickit/Window.pm
+%%SITE_ARCH%%/auto/Tickit/Tickit.so
+%%PERL5_MAN3%%/Tickit.3.gz
+%%PERL5_MAN3%%/Tickit::Debug.3.gz
+%%PERL5_MAN3%%/Tickit::Event.3.gz
+%%PERL5_MAN3%%/Tickit::Pen.3.gz
+%%PERL5_MAN3%%/Tickit::Rect.3.gz
+%%PERL5_MAN3%%/Tickit::RectSet.3.gz
+%%PERL5_MAN3%%/Tickit::RenderBuffer.3.gz
+%%PERL5_MAN3%%/Tickit::StringPos.3.gz
+%%PERL5_MAN3%%/Tickit::Term.3.gz
+%%PERL5_MAN3%%/Tickit::Test.3.gz
+%%PERL5_MAN3%%/Tickit::Utils.3.gz
+%%PERL5_MAN3%%/Tickit::Window.3.gz



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