aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-dialogs
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-03-02 18:32:38 +0800
committerknu <knu@FreeBSD.org>2001-03-02 18:32:38 +0800
commit98ecfd474ab70790a926c373eb96033643a2eaf6 (patch)
tree72c26f386a0d1c70e7269c9bc1cfbc62a5fbbea9 /devel/ruby-dialogs
parent3e04eee854d087cfc5a0254ac99356019eb94b0f (diff)
downloadfreebsd-ports-gnome-98ecfd474ab70790a926c373eb96033643a2eaf6.tar.gz
freebsd-ports-gnome-98ecfd474ab70790a926c373eb96033643a2eaf6.tar.zst
freebsd-ports-gnome-98ecfd474ab70790a926c373eb96033643a2eaf6.zip
Add ruby-dialogs, a simple Ruby interface to dialog(1).
Diffstat (limited to 'devel/ruby-dialogs')
-rw-r--r--devel/ruby-dialogs/Makefile34
-rw-r--r--devel/ruby-dialogs/distinfo2
-rw-r--r--devel/ruby-dialogs/files/patch-dialogs.rb11
-rw-r--r--devel/ruby-dialogs/pkg-comment1
-rw-r--r--devel/ruby-dialogs/pkg-descr7
-rw-r--r--devel/ruby-dialogs/pkg-plist3
6 files changed, 58 insertions, 0 deletions
diff --git a/devel/ruby-dialogs/Makefile b/devel/ruby-dialogs/Makefile
new file mode 100644
index 000000000000..81b5afd76445
--- /dev/null
+++ b/devel/ruby-dialogs/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: rubyDialogs
+# Date created: 2 March 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dialogs
+PORTVERSION= 1.1
+CATEGORIES= devel ruby
+MASTER_SITES= http://bluesine.com/archives/software/ruby/rubyDialogs/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTFILES= ${PORTNAME}.rb ${PORTNAME}.html
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+RUBY_NO_BUILD_DEPENDS= yes
+
+EXTRACT_CMD= ${CP}
+EXTRACT_BEFORE_ARGS= # none
+EXTRACT_AFTER_ARGS= ${WRKDIR}
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+
+do-install:
+ ${INSTALL_DATA} ${WRKDIR}/dialogs.rb ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_DOCDIR}/dialogs
+ ${INSTALL_DATA} ${WRKDIR}/dialogs.html ${RUBY_DOCDIR}/dialogs/
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/ruby-dialogs/distinfo b/devel/ruby-dialogs/distinfo
new file mode 100644
index 000000000000..16338a0b6018
--- /dev/null
+++ b/devel/ruby-dialogs/distinfo
@@ -0,0 +1,2 @@
+MD5 (ruby/dialogs.rb) = 7349d8acf4ea0852e33226f6bd692d72
+MD5 (ruby/dialogs.html) = 03fa5b05028ac9a3f7893295d896a6a2
diff --git a/devel/ruby-dialogs/files/patch-dialogs.rb b/devel/ruby-dialogs/files/patch-dialogs.rb
new file mode 100644
index 000000000000..9fd6bfcdb7fe
--- /dev/null
+++ b/devel/ruby-dialogs/files/patch-dialogs.rb
@@ -0,0 +1,11 @@
+--- dialogs.rb.orig Fri Mar 2 18:19:37 2001
++++ dialogs.rb Fri Mar 2 19:15:11 2001
+@@ -73,7 +73,7 @@
+ class Dialog
+
+ def perform(cmd)
+- options = "--backtitle '#{@title}'"
++ options = if /^--title / =~ cmd then "" else "--title '#{@title}'" end
+ tf=Tempfile.new("dialog")
+ torun=@DIALOG+' '+options+' '+cmd+" 2> #{tf.path}"
+ system(torun)
diff --git a/devel/ruby-dialogs/pkg-comment b/devel/ruby-dialogs/pkg-comment
new file mode 100644
index 000000000000..842a71b3ba49
--- /dev/null
+++ b/devel/ruby-dialogs/pkg-comment
@@ -0,0 +1 @@
+A simple Ruby interface to dialog(1)
diff --git a/devel/ruby-dialogs/pkg-descr b/devel/ruby-dialogs/pkg-descr
new file mode 100644
index 000000000000..ede325d37c88
--- /dev/null
+++ b/devel/ruby-dialogs/pkg-descr
@@ -0,0 +1,7 @@
+rubyDialogs is a simple interface to dialog(1).
+
+This software is distributed under the Bluesine public license, which
+is a variant of the BSD license. (See: http://bluesine.com/license/)
+
+Author: Jeff Clement <jeff@bluesine.com>
+WWW: http://bluesine.com/archives/software/ruby/rubyDialogs/
diff --git a/devel/ruby-dialogs/pkg-plist b/devel/ruby-dialogs/pkg-plist
new file mode 100644
index 000000000000..f9b17ced665f
--- /dev/null
+++ b/devel/ruby-dialogs/pkg-plist
@@ -0,0 +1,3 @@
+%%RUBY_SITELIBDIR%%/dialogs.rb
+%%PORTDOCS%%%%RUBY_DOCDIR%%/dialogs/dialogs.html
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/dialogs