| @@ -1,34 +1,35 @@ | | | @@ -1,34 +1,35 @@ |
1 | # $NetBSD: Makefile,v 1.14 2006/01/03 15:07:29 taca Exp $ | | 1 | # $NetBSD: Makefile,v 1.15 2008/06/19 14:53:34 taca Exp $ |
2 | | | 2 | |
3 | DISTNAME= ruby-tcpwrap-0.6 | | 3 | DISTNAME= ruby-tcpwrap-0.6 |
4 | PKGNAME= ${RUBY_PKGPREFIX}-tcpwrap-0.6 | | 4 | PKGNAME= ${RUBY_PKGPREFIX}-tcpwrap-0.6 |
5 | PKGREVISION= 4 | | 5 | PKGREVISION= 5 |
6 | CATEGORIES= security ruby | | 6 | CATEGORIES= security ruby |
7 | MASTER_SITES= http://www.shugo.net/archive/ruby-tcpwrap/ | | 7 | MASTER_SITES= http://www.shugo.net/archive/ruby-tcpwrap/ |
8 | | | 8 | |
9 | MAINTAINER= taca@NetBSD.org | | 9 | MAINTAINER= taca@NetBSD.org |
10 | HOMEPAGE= # not available | | 10 | HOMEPAGE= # not available |
11 | COMMENT= TCP wrappers library for Ruby | | 11 | COMMENT= TCP wrappers library for Ruby |
12 | | | 12 | |
13 | RUBY_HAS_ARCHLIB= yes | | 13 | RUBY_HAS_ARCHLIB= yes |
14 | USE_RUBY_EXTCONF= yes | | 14 | USE_RUBY_EXTCONF= yes |
15 | WRKSRC= ${WRKDIR}/ruby-tcpwrap | | 15 | WRKSRC= ${WRKDIR}/ruby-tcpwrap |
16 | INSTALL_TARGET= site-install | | 16 | INSTALL_TARGET= site-install |
17 | DOCS_EN= README.en doc/tcpwrap.html.en | | 17 | DOCS_EN= README.en doc/tcpwrap.html.en |
18 | DOCS_JA= README.ja doc/tcpwrap.html.ja | | 18 | DOCS_JA= README.ja doc/tcpwrap.html.ja |
19 | | | 19 | |
| | | 20 | INSTALLATION_DIRS= ${RUBY_DOC}/tcpwrap/ja ${RUBY_EG}/tcpwrap |
| | | 21 | |
20 | post-install: | | 22 | post-install: |
21 | ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/tcpwrap | | 23 | ${INSTALL_DATA} ${WRKSRC}/sample/echod.rb \ |
22 | ${INSTALL_DATA} ${WRKSRC}/sample/echod.rb ${RUBY_EXAMPLESDIR}/tcpwrap | | 24 | ${DESTDIR}${PREFIX}/${RUBY_EG}/tcpwrap |
23 | ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/tcpwrap/ja | | | |
24 | .for f in ${DOCS_EN} | | 25 | .for f in ${DOCS_EN} |
25 | ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/tcpwrap | | 26 | ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/tcpwrap |
26 | .endfor | | 27 | .endfor |
27 | .for f in ${DOCS_JA} | | 28 | .for f in ${DOCS_JA} |
28 | ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/tcpwrap/ja | | 29 | ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/tcpwrap/ja |
29 | .endfor | | 30 | .endfor |
30 | | | 31 | |
31 | .include "../../lang/ruby/modules.mk" | | 32 | .include "../../lang/ruby/modules.mk" |
32 | .include "../../security/libident/buildlink3.mk" | | 33 | .include "../../security/libident/buildlink3.mk" |
33 | .include "../../security/tcp_wrappers/buildlink3.mk" | | 34 | .include "../../security/tcp_wrappers/buildlink3.mk" |
34 | .include "../../mk/bsd.pkg.mk" | | 35 | .include "../../mk/bsd.pkg.mk" |