# $OpenBSD: Makefile,v 1.1.1.1 2010/12/23 12:39:14 stephan Exp $ COMMENT-main = penetration testing resources COMMENT-mysql = penetration testing resources (mysql backend) COMMENT-pgsql = penetration testing resources (postgres backend) CATEGORIES = security V = 3.5.0 PKGNAME-main = metasploit-${V} PKGNAME-mysql = metasploit-mysql-${V} PKGNAME-pgsql = metasploit-pgssql-${V} DISTNAME = framework-${V} EXTRACT_SUFX = .tar.bz2 HOMEPAGE = http://www.metasploit.com/ MASTER_SITES = ${HOMEPAGE}/releases/ MAINTAINER = Stephan A. Rickauer # 3-clause BSD PERMIT_PACKAGE_CDROM = Yes PERMIT_PACKAGE_FTP = Yes PERMIT_DISTFILES_CDROM =Yes PERMIT_DISTFILES_FTP = Yes MODULES = lang/ruby PKG_ARCH = * NO_BUILD = Yes NO_REGRESS = Yes MULTI_PACKAGES =-main -mysql -pgsql RUN_DEPENDS-main = ${MODRUBY_ICONV_DEPENDS} \ devel/ruby-gems \ devel/nasm \ net/nmap \ net/ruby-pcaprub-msf RUN_DEPENDS-mysql = databases/ruby-mysql \ security/metasploit RUN_DEPENDS-pgsql = databases/ruby-postgres \ security/metasploit SCRIPTS = msfcli msfconsole msfd msfelfscan msfencode \ msfmachscan msfopcode msfpayload msfpescan WRKDIST = ${WRKDIR}/msf3 SHAREDIR = ${PREFIX}/share/metasploit DOCDIR = ${PREFIX}/share/doc/metasploit do-install: ${INSTALL_SCRIPT_DIR} ${SHAREDIR} .for s in ${SCRIPTS} ${MODRUBY_RUBY_ADJ} ${WRKDIST}/$s ${INSTALL_SCRIPT} ${WRKDIST}/$s ${SHAREDIR} @ln -s ../share/metasploit/$s ${PREFIX}/bin/$s .endfor .for i in tools data lib modules plugins @cp -R ${WRKDIST}/$i ${SHAREDIR} .endfor @cp -R ${WRKDIST}/documentation ${DOCDIR} @find ${SHAREDIR} ${DOCDIR} -type d -name ".svn" | xargs rm -R .include