aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-10-10 19:52:22 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-10-10 19:52:22 +0800
commitcffd8d139ee1959ca253fdcec11d1ccb060b111f (patch)
tree634b65f30c2e7e3c555d2af00aec87e5aad35078 /x11-toolkits
parent84e2d3d27a61d16afe95e53bc71568a7ea500cb5 (diff)
downloadfreebsd-ports-gnome-cffd8d139ee1959ca253fdcec11d1ccb060b111f.tar.gz
freebsd-ports-gnome-cffd8d139ee1959ca253fdcec11d1ccb060b111f.tar.zst
freebsd-ports-gnome-cffd8d139ee1959ca253fdcec11d1ccb060b111f.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/
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/Makefile1
-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
5 files changed, 48 insertions, 0 deletions
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 <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