diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2008-04-06 08:58:21 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2008-04-06 08:58:21 +0000 |
commit | fae8e0f615b1dfcff35249a7a11ebfba7391bc56 (patch) | |
tree | cbba292aa57c0d2e7bb423ca0366362b198eec85 /security | |
parent | 090dbb7b77d15ec9d072089f51c17e73d6e22f59 (diff) |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/metasploit/Makefile | 5 | ||||
-rw-r--r-- | security/rubygem-net-sftp/Makefile | 7 | ||||
-rw-r--r-- | security/rubygem-net-ssh/Makefile | 2 |
3 files changed, 9 insertions, 5 deletions
diff --git a/security/metasploit/Makefile b/security/metasploit/Makefile index 429fa97a9c4f..b15c6890baad 100644 --- a/security/metasploit/Makefile +++ b/security/metasploit/Makefile @@ -15,7 +15,6 @@ MAINTAINER= onatan@gmail.com COMMENT= Exploit-Framework for Penetration-Testing RUN_DEPENDS= ${LOCALBASE}/bin/svn:${PORTSDIR}/devel/subversion \ - ${LOCALBASE}/bin/gem:${PORTSDIR}/devel/ruby-gems \ ${LOCALBASE}/lib/ruby/gems/1.8/specifications/activerecord-1.15.6.gemspec:${PORTSDIR}/databases/rubygem-activerecord SCRIPTS= msfcli msfconsole msfd msfencode msflicense msfopcode \ @@ -28,6 +27,10 @@ USE_RUBY= yes .include <bsd.port.pre.mk> +.if ${RUBY_VER} == 1.9 +RUN_DEPENDS+= ${LOCALBASE}/bin/gem:${PORTSDIR}/devel/ruby-gems +.endif + .if defined(WITH_MSFGUI) RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/wxruby.so:${PORTSDIR}/x11-toolkits/ruby-wx SCRIPTS+= msfgui diff --git a/security/rubygem-net-sftp/Makefile b/security/rubygem-net-sftp/Makefile index b6a529ac989a..e7c0b95f8f4f 100644 --- a/security/rubygem-net-sftp/Makefile +++ b/security/rubygem-net-sftp/Makefile @@ -17,6 +17,7 @@ COMMENT= Implementation of the SFTP client protocol RUN_DEPENDS= ${LOCALBASE}/${SPEC_DIR}/net-ssh-1.1.2.gemspec:${PORTSDIR}/security/rubygem-net-ssh -.include <bsd.port.pre.mk> -.include "${PORTSDIR}/devel/ruby-gems/Makefile.common" -.include <bsd.port.post.mk> +USE_RUBY= yes +USE_RUBYGEMS= yes + +.include <bsd.port.mk> diff --git a/security/rubygem-net-ssh/Makefile b/security/rubygem-net-ssh/Makefile index 7efa8d45e247..ed4a9f1d4b4b 100644 --- a/security/rubygem-net-ssh/Makefile +++ b/security/rubygem-net-ssh/Makefile @@ -21,6 +21,7 @@ OPTIONSFILE?= ${PORT_DBDIR}/rubygem-${PORTNAME}/options # to get RUBY_SITEARCHLIBDIR USE_RUBY= yes +USE_RUBYGEMS= yes .include <bsd.port.pre.mk> @@ -28,5 +29,4 @@ USE_RUBY= yes RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/termios.so:${PORTSDIR}/comms/ruby-termios .endif -.include "${PORTSDIR}/devel/ruby-gems/Makefile.common" .include <bsd.port.post.mk> |