aboutsummaryrefslogtreecommitdiff
path: root/devel/ruby-sexp
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2008-03-24 19:04:54 +0000
committerStanislav Sedov <stas@FreeBSD.org>2008-03-24 19:04:54 +0000
commit93ecb72dce2827840c4e6fcfd79b526e541df95b (patch)
tree702717918041976e5f3e43e723565d6bac61f880 /devel/ruby-sexp
parent1d671942f064111b2bbd0cf080bb13e9bc028012 (diff)
Notes
Diffstat (limited to 'devel/ruby-sexp')
-rw-r--r--devel/ruby-sexp/Makefile37
-rw-r--r--devel/ruby-sexp/distinfo3
-rw-r--r--devel/ruby-sexp/pkg-descr6
-rw-r--r--devel/ruby-sexp/pkg-plist3
4 files changed, 49 insertions, 0 deletions
diff --git a/devel/ruby-sexp/Makefile b/devel/ruby-sexp/Makefile
new file mode 100644
index 000000000000..1697b0ee9d5b
--- /dev/null
+++ b/devel/ruby-sexp/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: ruby-sexp
+# Date created: 24 Marth 2008
+# Whom: Stanislav Sedov <stas@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sexp
+PORTVERSION= 0.1
+CATEGORIES= devel ruby
+MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= stas@FreeBSD.org
+COMMENT= A ruby library to work with s-expressions
+
+RUN_DEPENDS= ${SADIR}/multi.rb:${PORTSDIR}/devel/ruby-multi
+
+USE_RUBY= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+NO_BUILD= yes
+
+SADIR= ${RUBY_SITELIBDIR}
+
+EXAMPLES= sexp_example.rb
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/sexp.rb ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ ${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/,} ${RUBY_MODEXAMPLESDIR}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/ruby-sexp/distinfo b/devel/ruby-sexp/distinfo
new file mode 100644
index 000000000000..ab445d8562a5
--- /dev/null
+++ b/devel/ruby-sexp/distinfo
@@ -0,0 +1,3 @@
+MD5 (ruby/sexp-0.1.tar.gz) = 45879d47e4964e773dfce2835a555529
+SHA256 (ruby/sexp-0.1.tar.gz) = fa3e600fe9056fd5263c7c91e32630b5634fa2db36af706bcb024354e9bf348f
+SIZE (ruby/sexp-0.1.tar.gz) = 1246
diff --git a/devel/ruby-sexp/pkg-descr b/devel/ruby-sexp/pkg-descr
new file mode 100644
index 000000000000..cabb12e235ad
--- /dev/null
+++ b/devel/ruby-sexp/pkg-descr
@@ -0,0 +1,6 @@
+S-Expression is a pure Ruby library to parse strings
+of Lisp style s-expressions into native Ruby style
+s-expressions and back again.
+
+Author: Topher Cyll <christophercyll@gmail.com>
+WWW: http://sexp.rubyforge.org/
diff --git a/devel/ruby-sexp/pkg-plist b/devel/ruby-sexp/pkg-plist
new file mode 100644
index 000000000000..363003b61a30
--- /dev/null
+++ b/devel/ruby-sexp/pkg-plist
@@ -0,0 +1,3 @@
+%%RUBY_SITELIBDIR%%/sexp.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sexp_example.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%