1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/security/ophcrack/Makefile
Felix Palmen ddae4e92d8 Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.

Document in CHANGES.

PR:			266034
Exp-run by:		antoine
Approved by:		tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D36349
2022-09-11 12:20:14 +02:00

45 lines
1.1 KiB
Makefile

PORTNAME= ophcrack
PORTVERSION= 3.8.0
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF
MAINTAINER= danfe@FreeBSD.org
COMMENT= Windows password cracker based on rainbow tables
WWW= http://ophcrack.sourceforge.net/
LICENSE= APACHE20 GPLv2
LICENSE_COMB= multi
LIB_DEPENDS= libexpat.so:textproc/expat2
USES= compiler:c++11-lang gmake localbase ssl tar:bzip2
GNU_CONFIGURE= yes
PLIST_FILES= bin/ophcrack
PORTDOCS= AUTHORS ChangeLog README.md
OPTIONS_DEFINE= X11 DOCS
OPTIONS_DEFAULT= X11
X11_DESC= Build with Qt 5 GUI frontend
X11_USES= pkgconfig qt:5
X11_USE= QT=buildtools:build,qmake:build,charts,core,gui,widgets
X11_CONFIGURE_OFF= --disable-gui
post-patch:
@${REINPLACE_CMD} -E '/#include <byteswap\.h>/d ; \
/#include/s,"bswap\.h",<machine/endian.h>, ; \
s,bswap_([[:digit:]]+),bswap\1, ' \
${WRKSRC}/src/samdump2/bkhive.c \
${WRKSRC}/src/samdump2/hive.c \
${WRKSRC}/src/samdump2/samdump2.c \
${WRKSRC}/src/core/misc.h
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>