From owner-dev-commits-ports-main@freebsd.org Thu Apr 29 14:35:28 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 844C162A82C; Thu, 29 Apr 2021 14:35:28 +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 4FWJ280QRSz4jDn; Thu, 29 Apr 2021 14:35:27 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 C22F61CFA7; Thu, 29 Apr 2021 14:35:27 +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 13TEZRA0050654; Thu, 29 Apr 2021 14:35:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13TEZR8V050653; Thu, 29 Apr 2021 14:35:27 GMT (envelope-from git) Date: Thu, 29 Apr 2021 14:35:27 GMT Message-Id: <202104291435.13TEZR8V050653@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: e4228f0bacd9 - main - devel/p5-Tickit: Add p5-Tickit 0.71 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: e4228f0bacd9b557bb85eab3cd2026ed730b3a5c Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2021 14:35:28 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e4228f0bacd9b557bb85eab3cd2026ed730b3a5c commit e4228f0bacd9b557bb85eab3cd2026ed730b3a5c Author: Po-Chuan Hsieh AuthorDate: 2021-04-29 14:10:04 +0000 Commit: Po-Chuan Hsieh 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 + +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 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