summaryrefslogtreecommitdiff
path: root/security/ruby-digest/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/ruby-digest/Makefile')
-rw-r--r--security/ruby-digest/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/security/ruby-digest/Makefile b/security/ruby-digest/Makefile
new file mode 100644
index 00000000000..94be071b614
--- /dev/null
+++ b/security/ruby-digest/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/12/30 15:57:58 taca Exp $
+#
+
+DISTNAME= ${RUBY_DISTNAME}
+PKGNAME= ${RUBY_PKGNAMEPREFIX}digest-${RUBY_VERSION}
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_RUBY}
+
+MAINTAINER= taca@netbsd.org
+HOMEPAGE= http://www.ruby-lang.org/en/
+COMMENT= Ruby extension to message digest library
+
+CONFLICTS= ${RUBY_PKGNAMEPREFIX}md5-[0-9]*
+
+DISTINFO_FILE= ${RUBY_DISTINFO}
+WRKSRC= ${RUBY_WRKSRC}/ext/digest
+
+DIST_SUBDIR= ruby
+EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/digest
+USE_RUBY_EXTCONF= yes
+RUBY_EXTCONF_SUBDIRS= . md5 rmd160 sha1 sha2
+REPLACE_RUBY= test.rb
+RUBY_DOCS= digest.txt digest.txt.ja
+
+post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/digest
+.for file in ${RUBY_DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${RUBY_DOCDIR}/digest
+.endfor
+
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"