1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/net-mgmt/cowpatty/Makefile
Dmitry Marakasov c3f5e9904a - Add LICENSE_FILE
- Switch to options helpers
- Update WWW

Approved by:	portmgr blanket
2019-08-16 09:02:33 +00:00

36 lines
709 B
Makefile

# Created by: Dennis Herrmann <adox@mcx2.org>
# $FreeBSD$
PORTNAME= cowpatty
PORTVERSION= 4.8
CATEGORIES= net-mgmt security
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Brute-force dictionary attack against WPA-PSK
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
USES= ssl
USE_GITHUB= YES
GH_ACCOUNT= joswr1ght
PORTDOCS= FAQ README
SUB_FILES= pkg-message
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= DOCS
PLIST_FILES= bin/cowpatty bin/genpmk
post-patch:
${REINPLACE_CMD} \
-e "s|\(-DOPENSSL\)|\1 -I${OPENSSLINC} -L${OPENSSLLIB} |g" \
${WRKSRC}/Makefile
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>