aboutsummaryrefslogtreecommitdiff
path: root/security/l0phtcrack/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/l0phtcrack/Makefile')
-rw-r--r--security/l0phtcrack/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/security/l0phtcrack/Makefile b/security/l0phtcrack/Makefile
index df5e1ae773e2..0ba8e3587d0e 100644
--- a/security/l0phtcrack/Makefile
+++ b/security/l0phtcrack/Makefile
@@ -8,23 +8,20 @@ MASTER_SITES= http://www.mavetju.org/download/adopted/ \
http://www.cotse.com/sw/WinNT/
DISTNAME= lcsrc
DIST_SUBDIR= ${PORTNAME}
+EXTRACT_SUFX= .zip
MAINTAINER= ports@FreeBSD.org
COMMENT= Cracks SAMBA or Windows NT passwords
-USES= perl5
+USES= dos2unix perl5
DOCDIR= share/doc/${PORTNAME}
RESTRICTED= uses GNU getopt with BSDish-licensed code from OpenSSL
NO_WRKSUBDIR= yes
PLIST= ${WRKDIR}/pkg-plist
USE_PERL5= build
-USE_ZIP= yes
-USE_DOS2UNIX= yes
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-extract:
${RM} ${WRKDIR}/*exe
${REINPLACE_CMD} -i '' -e 's|ommited|omitted|' ${WRKDIR}/util.c
@@ -34,18 +31,14 @@ do-build:
pre-install:
${ECHO_CMD} bin/lc_CLI > ${PLIST}
-.if ! ${PORT_OPTIONS:MDOCS}
for i in `${FIND} ${WRKDIR} -name '*txt'`; \
do ${ECHO_CMD} ${DOCDIR}/`${BASENAME} $${i}` >> ${PLIST}; \
done
${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST}
-.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lc_CLI ${STAGEDIR}${PREFIX}/bin
-.if ! ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${PREFIX}/${DOCDIR}
cd ${WRKSRC} && ${PAX} -r -w *txt ${STAGEDIR}${PREFIX}/${DOCDIR}
-.endif
.include <bsd.port.mk>