1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/security/ophcrack/Makefile
2012-06-01 05:26:28 +00:00

57 lines
1.1 KiB
Makefile

# New ports collection makefile for: ophcrack
# Date created: 14 Mar 2008
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $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 <bsd.port.options.mk>
.if defined(WITH_GUI) || defined(WITH_GRAPH)
USE_QT_VER= 4
QT_COMPONENTS= 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 <bsd.port.mk>