summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-06-21 11:37:30 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-06-21 11:37:30 +0000
commit3c243e1e620973568dcb4a93735b809e8f670306 (patch)
tree1f3549555b0fc0bddbdc2811fb65f0d6ea76f9ac /security
parentUpdate to 3.25. (diff)
Add ruby-mcrypt, a Ruby interface to the mcrypt library.
Notes
Notes: svn path=/head/; revision=44271
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/ruby-mcrypt/Makefile39
-rw-r--r--security/ruby-mcrypt/distinfo1
-rw-r--r--security/ruby-mcrypt/pkg-comment1
-rw-r--r--security/ruby-mcrypt/pkg-descr4
-rw-r--r--security/ruby-mcrypt/pkg-plist7
6 files changed, 53 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 5b92ff28cb3a..c3cb447c0ffb 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -142,6 +142,7 @@
SUBDIR += rsaref
SUBDIR += ruby-acl
SUBDIR += ruby-blowfish
+ SUBDIR += ruby-mcrypt
SUBDIR += ruby-pam
SUBDIR += ruby-sha1
SUBDIR += ruby-ssl
diff --git a/security/ruby-mcrypt/Makefile b/security/ruby-mcrypt/Makefile
new file mode 100644
index 000000000000..e284b92ce20d
--- /dev/null
+++ b/security/ruby-mcrypt/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: Ruby/MCrypt
+# Date created: 20 June 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mcrypt
+PORTVERSION= 0.2
+CATEGORIES= security ruby
+MASTER_SITES= http://www.rubylinks.de/download/ \
+ ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= knu
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+LIB_DEPENDS= mcrypt.6:${PORTSDIR}/security/libmcrypt/
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+INSTALL_TARGET= site-install
+
+DOCS_EN= ChangeLog README TODO
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/testmcrypt.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/security/ruby-mcrypt/distinfo b/security/ruby-mcrypt/distinfo
new file mode 100644
index 000000000000..d2cfc55ef563
--- /dev/null
+++ b/security/ruby-mcrypt/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-mcrypt-0.2.tar.gz) = 20cc4596e91bb73cd962eec783e7139d
diff --git a/security/ruby-mcrypt/pkg-comment b/security/ruby-mcrypt/pkg-comment
new file mode 100644
index 000000000000..be8b5dc7329b
--- /dev/null
+++ b/security/ruby-mcrypt/pkg-comment
@@ -0,0 +1 @@
+A Ruby interface to the mcrypt library
diff --git a/security/ruby-mcrypt/pkg-descr b/security/ruby-mcrypt/pkg-descr
new file mode 100644
index 000000000000..a35be62e9afd
--- /dev/null
+++ b/security/ruby-mcrypt/pkg-descr
@@ -0,0 +1,4 @@
+Ruby/MCrypt is an interface to the mcrypt library.
+
+WWW: http://www.rubylinks.de/
+Author: Hans-Dieter Stich <hd@rubylinks.de>
diff --git a/security/ruby-mcrypt/pkg-plist b/security/ruby-mcrypt/pkg-plist
new file mode 100644
index 000000000000..c6e3206ba072
--- /dev/null
+++ b/security/ruby-mcrypt/pkg-plist
@@ -0,0 +1,7 @@
+%%RUBY_SITEARCHLIBDIR%%/MCrypt.so
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mcrypt/testmcrypt.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/mcrypt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/mcrypt/ChangeLog
+%%PORTDOCS%%%%RUBY_DOCDIR%%/mcrypt/README
+%%PORTDOCS%%%%RUBY_DOCDIR%%/mcrypt/TODO
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/mcrypt