2547246fcb
Bump PORTREVISION PR: 76593 Submitted by: Yonatan <onatan@gmail.com>
38 lines
1,006 B
Makefile
38 lines
1,006 B
Makefile
# Ports collection makefile for: metasploit
|
|
# Date created: 18 Nov 2004
|
|
# Whom: Yonatan <onatan@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= metasploit
|
|
PORTVERSION= 2.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.metasploit.org/tools/
|
|
DISTNAME= framework-${PORTVERSION}
|
|
|
|
MAINTAINER= onatan@gmail.com
|
|
COMMENT= Exploit-Framework for Penetration-Testing
|
|
|
|
RUN_DEPENDS= ${SITE_PERL}/mach/Term/ReadLine/Gnu.pm:${PORTSDIR}/devel/p5-ReadLine-Gnu \
|
|
${SITE_PERL}/mach/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay \
|
|
${LOCALBASE}/bin/nasm:${PORTSDIR}/devel/nasm
|
|
|
|
NO_BUILD= yes
|
|
USE_PERL5_RUN= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
|
IGNORE= "This port requires perl version 5.6.0 or higher."
|
|
.endif
|
|
|
|
do-install:
|
|
${MKDIR} ${DATADIR}
|
|
${CP} -Rp ${WRKSRC}/ ${DATADIR}
|
|
. for i in msfcli msfconsole msfdldebug msfelfscan msfencode msflogdump msfpayload msfpayload.cgi msfpescan msfupdate msfweb
|
|
${LN} -s ${DATADIR}/$i ${PREFIX}/bin/
|
|
. endfor
|
|
|
|
.include <bsd.port.post.mk>
|