aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/cowpatty
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-09-10 22:08:49 +0000
committerJohn Marino <marino@FreeBSD.org>2016-09-10 22:08:49 +0000
commitf2e35555605de8fc55be3787a63406a0eb96c1ac (patch)
treed19e412b4b479e1edf57cdfc34859e719180b543 /net-mgmt/cowpatty
parentee1ab2e434a11467926ad032220d09513a8e1505 (diff)
downloadports-f2e35555605de8fc55be3787a63406a0eb96c1ac.tar.gz
ports-f2e35555605de8fc55be3787a63406a0eb96c1ac.zip
Notes
Diffstat (limited to 'net-mgmt/cowpatty')
-rw-r--r--net-mgmt/cowpatty/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/net-mgmt/cowpatty/Makefile b/net-mgmt/cowpatty/Makefile
index 8d9eb80300dd..2a8ef002b067 100644
--- a/net-mgmt/cowpatty/Makefile
+++ b/net-mgmt/cowpatty/Makefile
@@ -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>