aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/p5-Tk-CursorControl
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-10 11:52:22 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-10 11:52:22 +0000
commita571c2b564491bd46f03f4fe7b9b3d32a44ad48a (patch)
treed9f9fc9d40e632b95a43e2d1543a4b2c37641060 /x11-toolkits/p5-Tk-CursorControl
parent787339faeb8df5e5693581cc53f477d85bed3434 (diff)
downloadports-a571c2b564491bd46f03f4fe7b9b3d32a44ad48a.tar.gz
ports-a571c2b564491bd46f03f4fe7b9b3d32a44ad48a.zip
- 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/
Notes
Notes: svn path=/head/; revision=283326
Diffstat (limited to 'x11-toolkits/p5-Tk-CursorControl')
-rw-r--r--x11-toolkits/p5-Tk-CursorControl/Makefile30
-rw-r--r--x11-toolkits/p5-Tk-CursorControl/distinfo2
-rw-r--r--x11-toolkits/p5-Tk-CursorControl/pkg-descr5
-rw-r--r--x11-toolkits/p5-Tk-CursorControl/pkg-plist10
4 files changed, 47 insertions, 0 deletions
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 <sunpoet@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
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