mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
Add ruby-dialogs, a simple Ruby interface to dialog(1).
This commit is contained in:
parent
b9f823ab2b
commit
bafc92f059
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38970
@ -351,6 +351,7 @@
|
||||
SUBDIR += ruby-amstd
|
||||
SUBDIR += ruby-byaccr
|
||||
SUBDIR += ruby-date2
|
||||
SUBDIR += ruby-dialogs
|
||||
SUBDIR += ruby-filelock
|
||||
SUBDIR += ruby-gemfinder
|
||||
SUBDIR += ruby-intl
|
||||
|
34
devel/ruby-dialogs/Makefile
Normal file
34
devel/ruby-dialogs/Makefile
Normal file
@ -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>
|
2
devel/ruby-dialogs/distinfo
Normal file
2
devel/ruby-dialogs/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (ruby/dialogs.rb) = 7349d8acf4ea0852e33226f6bd692d72
|
||||
MD5 (ruby/dialogs.html) = 03fa5b05028ac9a3f7893295d896a6a2
|
11
devel/ruby-dialogs/files/patch-dialogs.rb
Normal file
11
devel/ruby-dialogs/files/patch-dialogs.rb
Normal file
@ -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)
|
1
devel/ruby-dialogs/pkg-comment
Normal file
1
devel/ruby-dialogs/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A simple Ruby interface to dialog(1)
|
7
devel/ruby-dialogs/pkg-descr
Normal file
7
devel/ruby-dialogs/pkg-descr
Normal file
@ -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/
|
3
devel/ruby-dialogs/pkg-plist
Normal file
3
devel/ruby-dialogs/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
%%RUBY_SITELIBDIR%%/dialogs.rb
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/dialogs/dialogs.html
|
||||
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/dialogs
|
Loading…
Reference in New Issue
Block a user