1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

net-mgmt/cowpatty: sed in SSL flags (CFLAGS/LDFLAGS not honored)

While here, unsupress installation command

Approved by:	SSL blanket
This commit is contained in:
John Marino 2016-09-10 22:08:49 +00:00
parent ee1ab2e434
commit f2e3555560
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421751

View File

@ -13,17 +13,21 @@ 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
USE_OPENSSL= yes
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}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>