mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
41 lines
916 B
Makefile
41 lines
916 B
Makefile
# Created by: trevor
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= l0phtcrack
|
|
PORTVERSION= 1.5
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.mavetju.org/download/adopted/ \
|
|
http://mirror.amdmi3.ru/distfiles/${DIST_SUBDIR}/
|
|
# http://www.cotse.com/sw/WinNT/
|
|
DISTNAME= lcsrc
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Cracks SAMBA or Windows NT passwords
|
|
|
|
USES= dos2unix perl5 zip
|
|
USE_PERL5= build
|
|
RESTRICTED= uses GNU getopt with BSDish-licensed code from OpenSSL
|
|
NO_WRKSUBDIR= yes
|
|
|
|
PLIST_FILES= bin/lc_CLI
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-extract:
|
|
@${RM} ${WRKSRC}/*exe
|
|
@${REINPLACE_CMD} -e 's|ommited|omitted|' ${WRKSRC}/util.c
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} -DMPU8086 *.c -o lc_CLI
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lc_CLI ${STAGEDIR}${PREFIX}/bin
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|