aboutsummaryrefslogtreecommitdiff
path: root/security/l0phtcrack
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-11-19 07:42:41 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-11-19 07:42:41 +0000
commit36be6c7cc4283ec34f88ce4725fa4438be7765ac (patch)
treebc51861eca74afe2aa615c07a66f7c51f3b3f8cc /security/l0phtcrack
parent15fad87b64361a59c7fe9614971ec516b06821d9 (diff)
downloadports-36be6c7cc4283ec34f88ce4725fa4438be7765ac.tar.gz
ports-36be6c7cc4283ec34f88ce4725fa4438be7765ac.zip
Convert from USE_DOS2UNIX to USES=dos2unix
While here: - support stage, - use bsdtar to extract when supported. - Cleanup
Notes
Notes: svn path=/head/; revision=334286
Diffstat (limited to 'security/l0phtcrack')
-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>