freebsd-ports/security/mdcrack/Makefile
Dmitry Marakasov 4cae4c46b1 - Fix build with clang < 3.6 (which doesn't recognize -fforce-addr option)
- Strip binary

PR:		200035
Submitted by:	amdmi3
Approved by:	maintainer timeout (lasg@lasg.dk, 2 weeks)
2015-05-26 16:00:41 +00:00

28 lines
590 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= mdcrack
PORTVERSION= 1.2
PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://membres.lycos.fr/mdcrack/download/
MAINTAINER= lasg@lasg.dk
COMMENT= Bruteforce password MD5 hashes
ALL_TARGET= little
PLIST_FILES= bin/mdcrack
USES= compiler:features
.include <bsd.port.pre.mk>
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 36
post-patch:
@${REINPLACE_CMD} -e 's|-fforce-addr||' ${WRKSRC}/Makefile
.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.post.mk>