summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2001-06-30 08:17:03 +0000
committertaca <taca@pkgsrc.org>2001-06-30 08:17:03 +0000
commit1969ab4860a3b74835f5ab4b33bdf9156af2ab81 (patch)
tree74d56eeb82da6fccbc6db831b2ce8e03fd2a3ba1 /security
parentbbbc42c7ce9dcf0f0d9e3ac9f6937492d0032420 (diff)
downloadpkgsrc-1969ab4860a3b74835f5ab4b33bdf9156af2ab81.tar.gz
Importing Ruby extension to MD5 library.
This will be part of ruby meta-package.
Diffstat (limited to 'security')
-rw-r--r--security/ruby-md5/Makefile26
-rw-r--r--security/ruby-md5/pkg/DESCR2
-rw-r--r--security/ruby-md5/pkg/PLIST6
3 files changed, 34 insertions, 0 deletions
diff --git a/security/ruby-md5/Makefile b/security/ruby-md5/Makefile
new file mode 100644
index 00000000000..94a6e307e46
--- /dev/null
+++ b/security/ruby-md5/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/06/30 08:17:03 taca Exp $
+#
+
+DISTNAME= ${RUBY_DISTNAME}
+PKGNAME= ${RUBY_PKGNAMEPREFIX}md5-${RUBY_VERSION}
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_RUBY}
+
+MAINTAINER= taca@netbsd.org
+HOMEPAGE= http://www.ruby-lang.org/en/
+COMMENT= Ruby extension to MD5 library
+
+DISTINFO_FILE= ${RUBY_DISTINFO}
+WRKSRC= ${RUBY_WRKSRC}/ext/md5
+
+DIST_SUBDIR= ruby
+EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/md5
+USE_RUBY_EXTCONF= yes
+
+post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/md5/ja
+ ${INSTALL_DATA} ${WRKSRC}/md5.txt ${RUBY_DOCDIR}/md5
+ ${INSTALL_DATA} ${WRKSRC}/md5.txt.jp ${RUBY_DOCDIR}/md5/ja/md5.txt.ja
+
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/ruby-md5/pkg/DESCR b/security/ruby-md5/pkg/DESCR
new file mode 100644
index 00000000000..6b668e32721
--- /dev/null
+++ b/security/ruby-md5/pkg/DESCR
@@ -0,0 +1,2 @@
+This is a Ruby extension to MD5 library, which is actually a part of
+the Ruby distribution.
diff --git a/security/ruby-md5/pkg/PLIST b/security/ruby-md5/pkg/PLIST
new file mode 100644
index 00000000000..90d7ac0380a
--- /dev/null
+++ b/security/ruby-md5/pkg/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/06/30 08:17:03 taca Exp $
+${RUBY_ARCHLIBDIR}/md5.so
+${RUBY_DOCDIR}/md5/md5.txt
+${RUBY_DOCDIR}/md5/ja/md5.txt.ja
+@dirrm ${RUBY_DOCDIR}/md5/ja
+@dirrm ${RUBY_DOCDIR}/md5