| @@ -1,21 +1,24 @@ | | | @@ -1,21 +1,24 @@ |
1 | # $NetBSD: Makefile,v 1.7 2021/02/14 13:24:29 taca Exp $ | | 1 | # $NetBSD: Makefile,v 1.8 2021/02/14 15:04:30 taca Exp $ |
2 | | | 2 | |
3 | DISTNAME= rex-exploitation-0.1.27 | | 3 | DISTNAME= rex-exploitation-0.1.27 |
4 | CATEGORIES= security | | 4 | CATEGORIES= security |
5 | | | 5 | |
6 | MAINTAINER= minskim@NetBSD.org | | 6 | MAINTAINER= minskim@NetBSD.org |
7 | HOMEPAGE= https://github.com/rapid7/rex-exploitation | | 7 | HOMEPAGE= https://github.com/rapid7/rex-exploitation |
8 | COMMENT= Rex library for various exploitation helpers | | 8 | COMMENT= Rex library for various exploitation helpers |
9 | LICENSE= modified-bsd | | 9 | LICENSE= modified-bsd |
10 | | | 10 | |
11 | DEPENDS+= ${RUBY_PKGPREFIX}-jsobfu-[0-9]*:../../security/ruby-jsobfu | | 11 | DEPENDS+= ${RUBY_PKGPREFIX}-jsobfu-[0-9]*:../../security/ruby-jsobfu |
12 | DEPENDS+= ${RUBY_PKGPREFIX}-metasm-[0-9]*:../../devel/ruby-metasm | | 12 | DEPENDS+= ${RUBY_PKGPREFIX}-metasm-[0-9]*:../../devel/ruby-metasm |
13 | DEPENDS+= ${RUBY_PKGPREFIX}-rex-arch-[0-9]*:../../security/ruby-rex-arch | | 13 | DEPENDS+= ${RUBY_PKGPREFIX}-rex-arch-[0-9]*:../../security/ruby-rex-arch |
14 | DEPENDS+= ${RUBY_PKGPREFIX}-rex-encoder-[0-9]*:../../security/ruby-rex-encoder | | 14 | DEPENDS+= ${RUBY_PKGPREFIX}-rex-encoder-[0-9]*:../../security/ruby-rex-encoder |
15 | DEPENDS+= ${RUBY_PKGPREFIX}-rex-text-[0-9]*:../../security/ruby-rex-text | | 15 | DEPENDS+= ${RUBY_PKGPREFIX}-rex-text-[0-9]*:../../security/ruby-rex-text |
16 | #DEPENDS+= ${RUBY_PKGPREFIX}-rexml-[0-9]*:../../textproc/ruby-rexml | | | |
17 | | | 16 | |
18 | USE_LANGUAGES= # none | | 17 | USE_LANGUAGES= # none |
19 | | | 18 | |
| | | 19 | .include "../../lang/ruby/rubyversion.mk" |
| | | 20 | .if empty(RUBY_VER:M2[0-9]) |
| | | 21 | DEPENDS+= ${RUBY_PKGPREFIX}-rexml-[0-9]*:../../textproc/ruby-rexml |
| | | 22 | .endif |
20 | .include "../../lang/ruby/gem.mk" | | 23 | .include "../../lang/ruby/gem.mk" |
21 | .include "../../mk/bsd.pkg.mk" | | 24 | .include "../../mk/bsd.pkg.mk" |