PORTNAME=	exploit-pattern
DISTVERSION=	g20230527
CATEGORIES=	security

MAINTAINER=	tiga@FreeBSD.org
COMMENT=	Generate and search pattern string for exploit development
WWW=		https://github.com/${GH_ACCOUNT}/${PORTNAME}

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE.md

USES=		python:run shebangfix
USE_GITHUB=	yes
GH_ACCOUNT=	Svenito
GH_TAGNAME=	59bb0c5

SHEBANG_FILES=	pattern.py

NO_ARCH=	yes
NO_BUILD=	yes

PLIST_FILES=	bin/pattern

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/pattern.py ${STAGEDIR}${PREFIX}/bin/pattern

.include <bsd.port.mk>
