ports/security/sqlmap/Makefile

34 lines
679 B
Makefile
Raw Permalink Normal View History

2024-08-03 16:59:18 +00:00
COMMENT = penetration testing tool to detect/exploit SQL injection
2023-08-16 22:26:55 +00:00
GH_ACCOUNT = sqlmapproject
GH_PROJECT = sqlmap
2025-02-07 09:02:41 +00:00
GH_TAGNAME = 1.9.2
2023-08-16 22:26:55 +00:00
CATEGORIES = security
2024-08-04 12:14:00 +00:00
HOMEPAGE = https://sqlmap.org/
2023-08-16 22:26:55 +00:00
# GPLv2
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_ADJ_FILES = sqlmap.py
# NO_BUILD but needs ${MODPY_LIBDIR}/compileall.py
BUILD_DEPENDS += ${_MODPY_BUILD_DEPENDS}
NO_BUILD = Yes
NO_TEST = Yes
INSTDIR = ${PREFIX}/share/sqlmap
do-install:
cp -r ${WRKDIST} ${INSTDIR}
rm ${INSTDIR}/{.{gitattributes,gitignore},README.md}
rm -rf ${INSTDIR}/doc
ln -s ${TRUEPREFIX}/share/sqlmap/sqlmap.py ${PREFIX}/bin/sqlmap
2024-08-03 16:59:18 +00:00
${MODPY_COMPILEALL} ${INSTDIR}
2023-08-16 22:26:55 +00:00
.include <bsd.port.mk>