From a571c2b564491bd46f03f4fe7b9b3d32a44ad48a Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Mon, 10 Oct 2011 11:52:22 +0000 Subject: [PATCH] - Add p5-Tk-CursorControl 0.4 Tk::CursorControl is-NOT-a Tk::Widget. Rather, it uses Tk and encompasses a collection of methods used to manipulate the cursor (aka pointer) programmatically from a Tk program. WWW: http://search.cpan.org/dist/Tk-CursorControl/ --- x11-toolkits/Makefile | 1 + x11-toolkits/p5-Tk-CursorControl/Makefile | 30 ++++++++++++++++++++++ x11-toolkits/p5-Tk-CursorControl/distinfo | 2 ++ x11-toolkits/p5-Tk-CursorControl/pkg-descr | 5 ++++ x11-toolkits/p5-Tk-CursorControl/pkg-plist | 10 ++++++++ 5 files changed, 48 insertions(+) create mode 100644 x11-toolkits/p5-Tk-CursorControl/Makefile create mode 100644 x11-toolkits/p5-Tk-CursorControl/distinfo create mode 100644 x11-toolkits/p5-Tk-CursorControl/pkg-descr create mode 100644 x11-toolkits/p5-Tk-CursorControl/pkg-plist diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index a98b3ebb8fd0..b366bb1843b7 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -166,6 +166,7 @@ SUBDIR += p5-Tk-Autoscroll SUBDIR += p5-Tk-ColourChooser SUBDIR += p5-Tk-Contrib + SUBDIR += p5-Tk-CursorControl SUBDIR += p5-Tk-DKW SUBDIR += p5-Tk-Date SUBDIR += p5-Tk-DynaTabFrame diff --git a/x11-toolkits/p5-Tk-CursorControl/Makefile b/x11-toolkits/p5-Tk-CursorControl/Makefile new file mode 100644 index 000000000000..28245e41e83b --- /dev/null +++ b/x11-toolkits/p5-Tk-CursorControl/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: p5-Tk-CursorControl +# Date created: 2011-10-10 +# Whom: Sunpoet Po-Chuan Hsieh +# +# $FreeBSD$ +# + +PORTNAME= Tk-CursorControl +PORTVERSION= 0.4 +CATEGORIES= x11-toolkits tk perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Manipulate the mouse cursor programmatically + +BUILD_DEPENDS= p5-Tk>=800.015:${PORTSDIR}/x11-toolkits/p5-Tk +RUN_DEPENDS= p5-Tk>=800.015:${PORTSDIR}/x11-toolkits/p5-Tk + +PERL_CONFIGURE= yes +ALL_TARGETS= pure_install + +MAN3= Tk::CursorControl.3 + +post-patch: + @${REINPLACE_CMD} -e \ + '/Tk\/demos\/widtrib\/cursor.pl/ s|cursor.pl|cursorcontrol.pl|' \ + ${WRKSRC}/Makefile.PL + +.include diff --git a/x11-toolkits/p5-Tk-CursorControl/distinfo b/x11-toolkits/p5-Tk-CursorControl/distinfo new file mode 100644 index 000000000000..1fc72bd946df --- /dev/null +++ b/x11-toolkits/p5-Tk-CursorControl/distinfo @@ -0,0 +1,2 @@ +SHA256 (Tk-CursorControl-0.4.tar.gz) = 60559acecebf707afce0f6250f32a8e17c24b2d13c01ffd26f9dc28860fccd9d +SIZE (Tk-CursorControl-0.4.tar.gz) = 12847 diff --git a/x11-toolkits/p5-Tk-CursorControl/pkg-descr b/x11-toolkits/p5-Tk-CursorControl/pkg-descr new file mode 100644 index 000000000000..e42afa8e855b --- /dev/null +++ b/x11-toolkits/p5-Tk-CursorControl/pkg-descr @@ -0,0 +1,5 @@ +Tk::CursorControl is-NOT-a Tk::Widget. Rather, it uses Tk and encompasses a +collection of methods used to manipulate the cursor (aka pointer) +programmatically from a Tk program. + +WWW: http://search.cpan.org/dist/Tk-CursorControl/ diff --git a/x11-toolkits/p5-Tk-CursorControl/pkg-plist b/x11-toolkits/p5-Tk-CursorControl/pkg-plist new file mode 100644 index 000000000000..2f23d15eb326 --- /dev/null +++ b/x11-toolkits/p5-Tk-CursorControl/pkg-plist @@ -0,0 +1,10 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/Tk/CursorControl.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Tk/demos/widtrib/cursorcontrol.pl +%%SITE_PERL%%/%%PERL_ARCH%%/Tk/trans_cur.mask +%%SITE_PERL%%/%%PERL_ARCH%%/Tk/trans_cur.xbm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tk/CursorControl/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tk/CursorControl +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tk +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Tk/demos/widtrib +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Tk/demos +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Tk