summaryrefslogtreecommitdiff
path: root/security/ruby-openssl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/ruby-openssl/Makefile')
-rw-r--r--security/ruby-openssl/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/security/ruby-openssl/Makefile b/security/ruby-openssl/Makefile
new file mode 100644
index 00000000000..54007b6409e
--- /dev/null
+++ b/security/ruby-openssl/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.9 2003/07/22 17:42:31 taca Exp $
+
+DISTNAME= ossl-0.1.4a
+PKGNAME= ${RUBY_PKGNAMEPREFIX}openssl-0.1.4.1
+WRKSRC= ${WRKDIR}/ossl
+CATEGORIES= security
+MASTER_SITES= http://freesoftware.fsf.org/download/rubypki/
+
+MAINTAINER= taca@NetBSD.org
+HOMEPAGE= http://www.freesoftware.fsf.org/rubypki/
+COMMENT= OpenSSL interface module for Ruby
+
+DIST_SUBDIR= ruby
+USE_RUBY_EXTCONF= yes
+RUBY_REQD= 1.6.4
+USE_BUILDLINK2= # defined
+USE_OPENSSL_VERSION= ${OPENSSL_VERSION_096}
+CONFLICTS= ruby-ossl-*
+
+CONFIGURE_ARGS= --with-ssl-include="${BUILDLINK_PREFIX.openssl}/include" \
+ --with-ssl-lib="${BUILDLINK_PREFIX.openssl}/lib"
+INSTALL_TARGET= site-install
+DOCS= ChangeLog README
+
+post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/openssl
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/$f ${RUBY_DOCDIR}/openssl
+.endfor
+
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby-base/buildlink2.mk"
+.include "../../security/openssl/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"