summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-11-02 19:16:43 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-11-02 19:16:43 +0000
commit81f7460293e342ac161fa46bd65fde34b373dc9e (patch)
tree01ebd66b1dee3a3a749552084164db141fa005fb /converters
parentUpdate to 0.1.1. (diff)
Add ruby-sha1, a Ruby interface to the SHA-1 Secure Hash Algorithm.
Notes
Notes: svn path=/head/; revision=34661
Diffstat (limited to 'converters')
-rw-r--r--converters/Makefile1
-rw-r--r--converters/ruby-sha1/Makefile29
-rw-r--r--converters/ruby-sha1/distinfo1
-rw-r--r--converters/ruby-sha1/pkg-comment1
-rw-r--r--converters/ruby-sha1/pkg-descr8
-rw-r--r--converters/ruby-sha1/pkg-plist3
6 files changed, 43 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile
index a04eab6439a5..159c25e545dd 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -28,6 +28,7 @@
SUBDIR += p5-Unicode-String
SUBDIR += recode
SUBDIR += ruby-iconv
+ SUBDIR += ruby-sha1
SUBDIR += tcs
SUBDIR += tnef
SUBDIR += trans
diff --git a/converters/ruby-sha1/Makefile b/converters/ruby-sha1/Makefile
new file mode 100644
index 000000000000..ed5ffba03d64
--- /dev/null
+++ b/converters/ruby-sha1/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: ruby-sha1
+# Date created: 3 Nov 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sha1
+PORTVERSION= 2000.11.03
+CATEGORIES= converters ruby
+MASTER_SITES= http://www.omcl.org/~spcoltri/ruby/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+INSTALL_TARGET= site-install
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_DOCDIR}/sha1
+ ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/sha1/
+.endif
+
+.include <bsd.port.mk>
diff --git a/converters/ruby-sha1/distinfo b/converters/ruby-sha1/distinfo
new file mode 100644
index 000000000000..c15d3532629d
--- /dev/null
+++ b/converters/ruby-sha1/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-sha1.tar.gz) = 031aa13a823972e05c7a3cb0727ebda7
diff --git a/converters/ruby-sha1/pkg-comment b/converters/ruby-sha1/pkg-comment
new file mode 100644
index 000000000000..0f98a1bcd897
--- /dev/null
+++ b/converters/ruby-sha1/pkg-comment
@@ -0,0 +1 @@
+Ruby interface to the SHA-1 Secure Hash Algorithm
diff --git a/converters/ruby-sha1/pkg-descr b/converters/ruby-sha1/pkg-descr
new file mode 100644
index 000000000000..168dda166d3f
--- /dev/null
+++ b/converters/ruby-sha1/pkg-descr
@@ -0,0 +1,8 @@
+ruby-sha1 - A Ruby interface to the SHA-1 Secure Hash Algorithm
+
+This is a Ruby extension which implements the SHA-1 Secure Hash
+Algorithm by NIST (the US' National Institute of Standards and
+Technology), described in FIPS PUB 180-1.
+
+Author: Steve Coltrin <spcoltri@omcl.org>
+WWW: http://www.omcl.org/~spcoltri/ruby/ruby-sha1.html
diff --git a/converters/ruby-sha1/pkg-plist b/converters/ruby-sha1/pkg-plist
new file mode 100644
index 000000000000..f27f14968c24
--- /dev/null
+++ b/converters/ruby-sha1/pkg-plist
@@ -0,0 +1,3 @@
+%%RUBY_SITEARCHLIBDIR%%/sha1.so
+%%RUBY_DOCDIR%%/sha1/README
+@dirrm %%RUBY_DOCDIR%%/sha1