freebsd-ports/net-mgmt/cowpatty/Makefile
John Marino f2e3555560 net-mgmt/cowpatty: sed in SSL flags (CFLAGS/LDFLAGS not honored)
While here, unsupress installation command

Approved by:	SSL blanket
2016-09-10 22:08:49 +00:00

33 lines
746 B
Makefile

# Created by: Dennis Herrmann <adox@mcx2.org>
# $FreeBSD$
PORTNAME= cowpatty
PORTVERSION= 4.6
CATEGORIES= net-mgmt security
MASTER_SITES= http://www.willhackforsushi.com/code/cowpatty/${PORTVERSION}/ \
http://mcx2.org/files/
EXTRACT_SUFX= .tgz
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Brute-force dictionary attack against WPA-PSK
LICENSE= GPLv2
USES= ssl
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:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>