blob: a39fadc237ebd9899b25a6724cd426ee9a6f34e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.21 2005/04/11 21:47:18 tv Exp $
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGPREFIX}-openssl-${RUBY_VERSION}
PKGREVISION= 1
CATEGORIES= security ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
MAINTAINER= taca@NetBSD.org
HOMEPAGE= ${RUBY_HOMEPAGE}
COMMENT= OpenSSL interface module for Ruby
RUBY_HAS_ARCHLIB= yes
RUBY_VERSION_SUPPORTED= 18
USE_RUBY_EXTCONF= yes
WRKSRC= ${RUBY_WRKSRC}/ext/openssl
EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/openssl \
${RUBY_DISTNAME}/sample/openssl
CONFIGURE_ARGS= --with-ssl-include="${BUILDLINK_PREFIX.openssl}/include" \
--with-ssl-lib="${BUILDLINK_PREFIX.openssl}/lib"
EXAMPLES= c_rehash.rb cert2text.rb cert_store_view.rb certstore.rb \
cipher.rb crlstore.rb echo_cli.rb echo_svr.rb gen_csr.rb \
smime_read.rb smime_write.rb wget.rb
post-install:
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/openssl
.for f in ${EXAMPLES}
${INSTALL_DATA} ${RUBY_WRKSRC}/sample/openssl/${f} \
${RUBY_EXAMPLESDIR}/openssl
.endfor
.include "../../lang/ruby/modules.mk"
.include "../../lang/ruby/Makefile.common"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|