aboutsummaryrefslogtreecommitdiffstats
path: root/security/l0phtcrack
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-11-19 15:42:41 +0800
committerbapt <bapt@FreeBSD.org>2013-11-19 15:42:41 +0800
commitde9200bc01cd9ef17feb7767e7d37d75fab80f84 (patch)
treebc51861eca74afe2aa615c07a66f7c51f3b3f8cc /security/l0phtcrack
parentf08079d3dd06953166a1808bde1ce483da32c485 (diff)
downloadfreebsd-ports-gnome-de9200bc01cd9ef17feb7767e7d37d75fab80f84.tar.gz
freebsd-ports-gnome-de9200bc01cd9ef17feb7767e7d37d75fab80f84.tar.zst
freebsd-ports-gnome-de9200bc01cd9ef17feb7767e7d37d75fab80f84.zip
Convert from USE_DOS2UNIX to USES=dos2unix
While here: - support stage, - use bsdtar to extract when supported. - Cleanup
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>