summaryrefslogtreecommitdiff
path: root/devel/ruby-ncurses
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-02-06 22:36:19 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-02-06 22:36:19 +0000
commit5ffc8523e2b4f73672f5629671022a527c23a266 (patch)
tree12b1c15de68681786ff829313701bb1386888513 /devel/ruby-ncurses
parentAdd ruby-webrick, an HTTP server toolkit for Ruby. You can write your (diff)
Add ruby-ncurses, a Ruby interface to ncurses.
Notes
Notes: svn path=/head/; revision=54272
Diffstat (limited to 'devel/ruby-ncurses')
-rw-r--r--devel/ruby-ncurses/Makefile40
-rw-r--r--devel/ruby-ncurses/distinfo1
-rw-r--r--devel/ruby-ncurses/pkg-comment1
-rw-r--r--devel/ruby-ncurses/pkg-descr4
-rw-r--r--devel/ruby-ncurses/pkg-plist5
5 files changed, 51 insertions, 0 deletions
diff --git a/devel/ruby-ncurses/Makefile b/devel/ruby-ncurses/Makefile
new file mode 100644
index 000000000000..6c89b4f10904
--- /dev/null
+++ b/devel/ruby-ncurses/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: ncurses-ruby
+# Date created: 7 February 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ncurses
+PORTVERSION= 0.1
+CATEGORIES= devel ruby
+MASTER_SITES= http://download.berlios.de/ncurses-ruby/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
+EXTRACT_SUFX= .tar.bz
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_BZIP2= yes
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+INSTALL_TARGET= site-install
+
+DOCS= README TODO
+
+post-extract:
+ ${MKDIR} ${WRKSRC}/lib
+ ${MV} ${WRKSRC}/ncurses.rb ${WRKSRC}/lib/
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/ruby-ncurses/distinfo b/devel/ruby-ncurses/distinfo
new file mode 100644
index 000000000000..f8dc50af0513
--- /dev/null
+++ b/devel/ruby-ncurses/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ncurses-ruby-0.1.tar.bz) = 26af561aee73eba42c59abd31d1d7d48
diff --git a/devel/ruby-ncurses/pkg-comment b/devel/ruby-ncurses/pkg-comment
new file mode 100644
index 000000000000..2878f432ad25
--- /dev/null
+++ b/devel/ruby-ncurses/pkg-comment
@@ -0,0 +1 @@
+A Ruby interface to ncurses
diff --git a/devel/ruby-ncurses/pkg-descr b/devel/ruby-ncurses/pkg-descr
new file mode 100644
index 000000000000..d26897e6a0f8
--- /dev/null
+++ b/devel/ruby-ncurses/pkg-descr
@@ -0,0 +1,4 @@
+This is a Ruby interface to ncurses.
+
+Author: Tobias Peters <t-peters@berlios.de>
+WWW: http://ncurses-ruby.berlios.de/
diff --git a/devel/ruby-ncurses/pkg-plist b/devel/ruby-ncurses/pkg-plist
new file mode 100644
index 000000000000..401432b406d2
--- /dev/null
+++ b/devel/ruby-ncurses/pkg-plist
@@ -0,0 +1,5 @@
+%%RUBY_SITEARCHLIBDIR%%/ncurses.so
+%%RUBY_SITELIBDIR%%/ncurses.rb
+%%PORTDOCS%%%%RUBY_DOCDIR%%/ncurses/README
+%%PORTDOCS%%%%RUBY_DOCDIR%%/ncurses/TODO
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/ncurses