Lines 10-19
MAINTAINER= clutton@zoho.com
Link Here
|
10 |
COMMENT= Multi-threaded, multi-platform web server audit tool |
10 |
COMMENT= Multi-threaded, multi-platform web server audit tool |
11 |
|
11 |
|
12 |
LICENSE= GPLv3 |
12 |
LICENSE= GPLv3 |
|
|
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
13 |
|
14 |
|
14 |
USES= python:2.7 dos2unix |
15 |
USES= python:2.7 dos2unix shebangfix |
15 |
USE_PYTHON=distutils |
16 |
USE_PYTHON= distutils |
16 |
PYSETUP= setup.linux.py |
17 |
PYSETUP= setup.linux.py |
|
|
18 |
SHEBANG_FILES= webshag_cli.py webshag_gui.py |
17 |
|
19 |
|
18 |
NO_WRKSUBDIR= yes |
20 |
NO_WRKSUBDIR= yes |
19 |
|
21 |
|
Lines 25-30
OPTIONS_SUB= yes
Link Here
|
25 |
|
27 |
|
26 |
.if ${PORT_OPTIONS:MNMAP} |
28 |
.if ${PORT_OPTIONS:MNMAP} |
27 |
BUILD_DEPENDS+= ${LOCALBASE}/bin/nmap:${PORTSDIR}/security/nmap |
29 |
BUILD_DEPENDS+= ${LOCALBASE}/bin/nmap:${PORTSDIR}/security/nmap |
|
|
30 |
RUN_DEPENDS+= ${LOCALBASE}/bin/nmap:${PORTSDIR}/security/nmap |
28 |
.endif |
31 |
.endif |
29 |
|
32 |
|
30 |
.if ${PORT_OPTIONS:MWXGTK} |
33 |
.if ${PORT_OPTIONS:MWXGTK} |
Lines 34-43
WX_COMPS= python:run
Link Here
|
34 |
|
37 |
|
35 |
post-patch: |
38 |
post-patch: |
36 |
@${MV} ${WRKSRC}/config ${WRKSRC}/etc |
39 |
@${MV} ${WRKSRC}/config ${WRKSRC}/etc |
37 |
@${REINPLACE_CMD} -e 's|#!/usr/bin/python|#!/usr/bin/env python|g' \ |
|
|
38 |
${WRKSRC}/webshag_cli.py |
39 |
@${REINPLACE_CMD} -e 's|#!/usr/bin/python|#!/usr/bin/env python|g' \ |
40 |
${WRKSRC}/webshag_gui.py |
41 |
|
40 |
|
42 |
do-install: |
41 |
do-install: |
43 |
.if ${PORT_OPTIONS:MWXGTK} |
42 |
.if ${PORT_OPTIONS:MWXGTK} |