# New ports collection makefile for: ophcrack # Date created: 14 Mar 2008 # Whom: Alexey Dokuchaev # # $FreeBSD$ # PORTNAME= ophcrack PORTVERSION= 3.4.0 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF MAINTAINER= danfe@FreeBSD.org COMMENT= Windows password cracker based on rainbow tables LICENSE= GPLv2 USE_BZIP2= yes GNU_CONFIGURE= yes USE_GMAKE= yes USE_OPENSSL= yes PLIST_FILES= bin/ophcrack PORTDOCS= * OPTIONS= GUI "Build GUI frontend (Qt4 based)" on \ GRAPH "Enable graph rendering with Qwt" on \ DEBUG "Make debug build" off .include .if defined(WITH_GUI) || defined(WITH_GRAPH) USE_QT4= moc_build qmake_build rcc_build uic_build corelib gui .else CONFIGURE_ARGS+= --disable-gui .endif .if defined(WITH_GRAPH) LIB_DEPENDS= qwt.5:${PORTSDIR}/x11-toolkits/qwt5 .else CONFIGURE_ARGS+= --disable-graph .endif .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug .endif post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README ${DOCSDIR} .endif .include .if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" BROKEN= Does not compile on ia64, powerpc, or sparc64 .endif .include