aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-ncurses
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-02-07 06:36:19 +0800
committerknu <knu@FreeBSD.org>2002-02-07 06:36:19 +0800
commitea78c126cc102565e0cead343ee95aa715bffcd2 (patch)
tree162669e9b470808fc13a86136106ac65d228506c /devel/ruby-ncurses
parent94b403e815e7d6d9ee48ec9ddd85a60ffc952ac2 (diff)
downloadfreebsd-ports-graphics-ea78c126cc102565e0cead343ee95aa715bffcd2.tar.gz
freebsd-ports-graphics-ea78c126cc102565e0cead343ee95aa715bffcd2.tar.zst
freebsd-ports-graphics-ea78c126cc102565e0cead343ee95aa715bffcd2.zip
Add ruby-ncurses, a Ruby interface to ncurses.
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 00000000000..6c89b4f1090
--- /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 00000000000..f8dc50af051
--- /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 00000000000..2878f432ad2
--- /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 00000000000..d26897e6a0f
--- /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 00000000000..401432b406d
--- /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