diff options
| author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2012-03-10 20:53:18 +0000 |
|---|---|---|
| committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2012-03-10 20:53:18 +0000 |
| commit | 5f1c5315866e68d28b1477ade4da2ed5fe8c9aa9 (patch) | |
| tree | 24c692e122ff861fe9c671b9d8194b53b7d79331 /security/sqlmap/Makefile | |
| parent | 20458e371512be7399d979125db88533a2cbfa26 (diff) | |
Notes
Diffstat (limited to 'security/sqlmap/Makefile')
| -rw-r--r-- | security/sqlmap/Makefile | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/security/sqlmap/Makefile b/security/sqlmap/Makefile index a5d80e8daa6c..2b395003a1ed 100644 --- a/security/sqlmap/Makefile +++ b/security/sqlmap/Makefile @@ -6,31 +6,28 @@ # PORTNAME= sqlmap -PORTVERSION= 0.8 +PORTVERSION= 0.9 CATEGORIES= security python MASTER_SITES= SF MAINTAINER= rm@FreeBSD.org COMMENT= An automatic SQL injection tool -USE_PYTHON= 2.5+ -USE_BZIP2= YES +LICENSE= GPLv2 + +USE_PYTHON= -2.7 WRKSRC= ${WRKDIR}/${PORTNAME} SUB_FILES= ${PORTNAME}.sh SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \ PATH=${PYTHONPREFIX_SITELIBDIR}/${PORTNAME} -OPTIONS= MSF "Enable Metasploit Framework integration" off \ - PSY "Enable Psyco optimizer (recommended)" on +OPTIONS= MSF "Enable Metasploit Framework integration" off .include <bsd.port.options.mk> .if defined(WITH_MSF) RUN_DEPENDS+= ${LOCALBASE}/bin/msfcli:${PORTSDIR}/security/metasploit .endif -.if defined(WITH_PSY) -RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psyco/core.py:${PORTSDIR}/devel/py-psyco -.endif post-patch: (cd ${WRKSRC} && ${RM} -rf `${FIND} . -type d -name .svn`) @@ -43,16 +40,16 @@ do-build: @${PYTHON_CMD} -O -m compileall ${WRKSRC} ${MKDIR} ${WRKDIR}/build/extra/ ${MV} ${WRKSRC}/doc/ ${WRKDIR}/build/ -. for F in msfauxmod runcmd udfhack - ${MV} ${WRKSRC}/extra/${F} ${WRKDIR}/build/extra/${F} -. endfor +.for F in msfauxmod runcmd udfhack + ${MV} ${WRKSRC}/extra/${F} ${WRKDIR}/build/extra/${F} +.endfor do-install: -. if !defined(NOPORTDOCS) +.if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} -. for F in AUTHORS COPYING ChangeLog README.html README.pdf THANKS - ${INSTALL_DATA} ${WRKDIR}/build/doc/${F} ${DOCSDIR}/ -. endfor +.for F in AUTHORS ChangeLog README.html README.pdf THANKS + ${INSTALL_DATA} ${WRKDIR}/build/doc/${F} ${DOCSDIR}/ +.endfor .endif ${MKDIR} ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/extra |
