aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/cowpatty
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-09-11 06:08:49 +0800
committermarino <marino@FreeBSD.org>2016-09-11 06:08:49 +0800
commit3fdf686a6b3b091c5920ebc8e14f9a9a5a1bafe9 (patch)
treed19e412b4b479e1edf57cdfc34859e719180b543 /net-mgmt/cowpatty
parentdb4e81f2e6322a306d0f07217bcd964f1c19d78e (diff)
downloadfreebsd-ports-gnome-3fdf686a6b3b091c5920ebc8e14f9a9a5a1bafe9.tar.gz
freebsd-ports-gnome-3fdf686a6b3b091c5920ebc8e14f9a9a5a1bafe9.tar.zst
freebsd-ports-gnome-3fdf686a6b3b091c5920ebc8e14f9a9a5a1bafe9.zip
net-mgmt/cowpatty: sed in SSL flags (CFLAGS/LDFLAGS not honored)
While here, unsupress installation command Approved by: SSL blanket
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>