aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-04-17 11:16:12 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-04-17 11:16:12 +0000
commit404e62e8c13e3b6090f8fa69dd095f62cfc46242 (patch)
tree6679c4ec333368dc1b0e1a298a599a57fd42ac0a /x11-toolkits
parentf0d1b502ee338497bbe7824cc4ea9beed524326c (diff)
downloadports-404e62e8c13e3b6090f8fa69dd095f62cfc46242.tar.gz
ports-404e62e8c13e3b6090f8fa69dd095f62cfc46242.zip
Add port x11-toolkits/p5-Tk-FontDialog:
Tk::FontDialog implements a font dialog widget. The dialog is displayed by calling the Show method. The returned value is either the selected font (if the dialog was closed with the Ok button) or undef (otherwise). The exact type of the return value is either a Tk::Font object (in Tk800) or a font name string (usually something like font1). Both can be used as values in Tk -font options. WWW: http://search.cpan.org/dist/Tk-FontDialog/ Author: Slaven Rezic <slaven@rezic.de>
Notes
Notes: svn path=/head/; revision=190177
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/p5-Tk-FontDialog/Makefile23
-rw-r--r--x11-toolkits/p5-Tk-FontDialog/distinfo3
-rw-r--r--x11-toolkits/p5-Tk-FontDialog/pkg-descr10
-rw-r--r--x11-toolkits/p5-Tk-FontDialog/pkg-plist5
5 files changed, 42 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index 615172966f03..56565e80b1dc 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -157,6 +157,7 @@
SUBDIR += p5-Tk-DynaTabFrame
SUBDIR += p5-Tk-Enscript
SUBDIR += p5-Tk-FileDialog
+ SUBDIR += p5-Tk-FontDialog
SUBDIR += p5-Tk-GBARR
SUBDIR += p5-Tk-Getopt
SUBDIR += p5-Tk-HistEntry
diff --git a/x11-toolkits/p5-Tk-FontDialog/Makefile b/x11-toolkits/p5-Tk-FontDialog/Makefile
new file mode 100644
index 000000000000..75949ac416b7
--- /dev/null
+++ b/x11-toolkits/p5-Tk-FontDialog/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: p5-Tk-FontDialog
+# Date created: 16 April 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Tk-FontDialog
+PORTVERSION= 0.13
+CATEGORIES= x11-toolkits perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Font dialog widget
+
+BUILD_DEPENDS= p5-Tk>=804:${PORTSDIR}/x11-toolkits/p5-Tk
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+MAN3= ${PORTNAME:S/-/::/g}.3
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/p5-Tk-FontDialog/distinfo b/x11-toolkits/p5-Tk-FontDialog/distinfo
new file mode 100644
index 000000000000..5fb54cc2eb7a
--- /dev/null
+++ b/x11-toolkits/p5-Tk-FontDialog/distinfo
@@ -0,0 +1,3 @@
+MD5 (Tk-FontDialog-0.13.tar.gz) = 3afff352f84a32372a72f7064ab6a69f
+SHA256 (Tk-FontDialog-0.13.tar.gz) = 302a3e5ab199204ba6321ffa6a56a1c3c77cb5ac993c5d63bcc38e7206431eaf
+SIZE (Tk-FontDialog-0.13.tar.gz) = 10380
diff --git a/x11-toolkits/p5-Tk-FontDialog/pkg-descr b/x11-toolkits/p5-Tk-FontDialog/pkg-descr
new file mode 100644
index 000000000000..7087e549f91c
--- /dev/null
+++ b/x11-toolkits/p5-Tk-FontDialog/pkg-descr
@@ -0,0 +1,10 @@
+Tk::FontDialog implements a font dialog widget.
+
+The dialog is displayed by calling the Show method. The returned value
+is either the selected font (if the dialog was closed with the Ok
+button) or undef (otherwise). The exact type of the return value is
+either a Tk::Font object (in Tk800) or a font name string (usually
+something like font1). Both can be used as values in Tk -font options.
+
+WWW: http://search.cpan.org/dist/Tk-FontDialog/
+Author: Slaven Rezic <slaven@rezic.de>
diff --git a/x11-toolkits/p5-Tk-FontDialog/pkg-plist b/x11-toolkits/p5-Tk-FontDialog/pkg-plist
new file mode 100644
index 000000000000..7cc79db409cb
--- /dev/null
+++ b/x11-toolkits/p5-Tk-FontDialog/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tk/FontDialog/.packlist
+%%SITE_PERL%%/Tk/FontDialog.pm
+@dirrmtry %%SITE_PERL%%/Tk
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tk/FontDialog
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tk