2013-03-11 05:04:11 +01:00
|
|
|
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
2008-03-14 16:47:59 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ophcrack
|
2013-06-08 15:32:23 +02:00
|
|
|
PORTVERSION= 3.6.0
|
2008-03-14 16:47:59 +01:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= SF
|
|
|
|
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
|
|
COMMENT= Windows password cracker based on rainbow tables
|
|
|
|
|
2013-12-30 21:55:18 +01:00
|
|
|
LICENSE= APACHE20 GPLv2
|
2013-03-11 05:04:11 +01:00
|
|
|
LICENSE_COMB= multi
|
2011-08-11 16:18:57 +02:00
|
|
|
|
2013-05-16 05:56:29 +02:00
|
|
|
LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2
|
|
|
|
|
2010-06-22 11:03:13 +02:00
|
|
|
USE_BZIP2= yes
|
2008-03-14 16:47:59 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2010-06-22 11:03:13 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
|
2013-05-16 05:56:29 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
2010-06-22 11:03:13 +02:00
|
|
|
PLIST_FILES= bin/ophcrack
|
2008-03-14 16:47:59 +01:00
|
|
|
PORTDOCS= *
|
|
|
|
|
2013-03-11 05:04:11 +01:00
|
|
|
OPTIONS_DEFINE= X11 GRAPH DOCS
|
|
|
|
OPTIONS_DEFAULT= X11 GRAPH
|
|
|
|
|
2013-06-08 15:32:23 +02:00
|
|
|
X11_DESC= Build Qt 4 GUI frontend
|
|
|
|
GRAPH_DESC= Enable graph rendering via Qwt
|
2010-06-22 11:03:13 +02:00
|
|
|
|
2013-09-21 00:55:24 +02:00
|
|
|
NO_STAGE= yes
|
2010-06-22 11:03:13 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2008-03-14 16:47:59 +01:00
|
|
|
|
2013-03-11 05:04:11 +01:00
|
|
|
.if ${PORT_OPTIONS:MX11} || ${PORT_OPTIONS:MGRAPH}
|
2012-06-06 08:44:37 +02:00
|
|
|
USE_QT4= moc_build qmake_build rcc_build uic_build corelib gui
|
2010-06-22 11:03:13 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gui
|
|
|
|
.endif
|
|
|
|
|
2013-03-11 05:04:11 +01:00
|
|
|
.if ${PORT_OPTIONS:MGRAPH}
|
2013-05-16 05:56:29 +02:00
|
|
|
LIB_DEPENDS+= qwt:${PORTSDIR}/x11-toolkits/qwt5
|
2010-06-22 11:03:13 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-graph
|
|
|
|
.endif
|
2008-03-14 16:47:59 +01:00
|
|
|
|
|
|
|
post-install:
|
2013-03-11 05:04:11 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2008-03-14 16:47:59 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
2013-06-08 15:32:23 +02:00
|
|
|
@${ECHO_MSG} ; ${CAT} ${PKGMESSAGE} ; ${ECHO_MSG}
|
2008-03-14 16:47:59 +01:00
|
|
|
|
2012-09-04 08:57:36 +02:00
|
|
|
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
|
|
|
|
BROKEN= Does not compile on ia64, powerpc, or sparc64
|
|
|
|
.endif
|
|
|
|
|
2013-03-11 05:04:11 +01:00
|
|
|
.include <bsd.port.mk>
|