34 lines
1 KiB
Makefile
34 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.14 2006/01/03 15:07:29 taca Exp $
|
|
|
|
DISTNAME= ruby-tcpwrap-0.6
|
|
PKGNAME= ${RUBY_PKGPREFIX}-tcpwrap-0.6
|
|
PKGREVISION= 4
|
|
CATEGORIES= security ruby
|
|
MASTER_SITES= http://www.shugo.net/archive/ruby-tcpwrap/
|
|
|
|
MAINTAINER= taca@NetBSD.org
|
|
HOMEPAGE= # not available
|
|
COMMENT= TCP wrappers library for Ruby
|
|
|
|
RUBY_HAS_ARCHLIB= yes
|
|
USE_RUBY_EXTCONF= yes
|
|
WRKSRC= ${WRKDIR}/ruby-tcpwrap
|
|
INSTALL_TARGET= site-install
|
|
DOCS_EN= README.en doc/tcpwrap.html.en
|
|
DOCS_JA= README.ja doc/tcpwrap.html.ja
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/tcpwrap
|
|
${INSTALL_DATA} ${WRKSRC}/sample/echod.rb ${RUBY_EXAMPLESDIR}/tcpwrap
|
|
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/tcpwrap/ja
|
|
.for f in ${DOCS_EN}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/tcpwrap
|
|
.endfor
|
|
.for f in ${DOCS_JA}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/tcpwrap/ja
|
|
.endfor
|
|
|
|
.include "../../lang/ruby/modules.mk"
|
|
.include "../../security/libident/buildlink3.mk"
|
|
.include "../../security/tcp_wrappers/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|