mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
d16f7bfb92
PR. Thanks for contributing. Since the acroread7 port is a somewhat important port for our users, I will hand it over to emulation@ if no _active_ *committer* takes it before the ports freeze. While I'm here: - fix a little nit in the csound port (I think the intention was to create no backup file instead of creating one with a "-e" extension) - set ARCH to i386 in the amd64 case for the acroread7 port. This is a work-around to be able to install everything when a dependency is not already installed (ARCH is read-only in sub-makes, so the dependencies can't change it). This should be removed when the dependencies are fixed or converted to use bsd.linux-rpm.mk. [1] Not objected to by: portmgr (explicit: krion; silence: rest) Maintainer timeout: ~4 months Submitted by: Sangwoo Shim <sangwoos@gmail.com> [1] PR: 87985 [1]
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# New ports collection makefile for: l0phtcrack
|
|
# Date created: 2000-10-31
|
|
# Whom: Trevor Johnson
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= l0phtcrack
|
|
PORTVERSION= 1.5
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.mavetju.org/download/adopted/ \
|
|
http://www.cotse.com/sw/WinNT/
|
|
DISTNAME= lcsrc
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Cracks SAMBA or Windows NT passwords
|
|
|
|
DOCDIR= share/doc/${PORTNAME}
|
|
NO_PACKAGE= "uses GNU getopt with BSDish-licensed code from OpenSSL"
|
|
NO_WRKSUBDIR= yes
|
|
PLIST= ${WRKDIR}/pkg-plist
|
|
USE_PERL5_BUILD=yes
|
|
USE_ZIP= yes
|
|
|
|
post-extract:
|
|
${RM} ${WRKDIR}/*exe
|
|
${PERL} -pi -e "s:\r::g" ${WRKDIR}/*
|
|
${PERL} -pi -e "s:ommited:omitted:g" ${WRKDIR}/util.c
|
|
|
|
do-build:
|
|
cd ${WRKDIR} && ${CC} ${CFLAGS} -DMPU8086 *.c -o lc_CLI
|
|
|
|
pre-install:
|
|
${ECHO_CMD} bin/lc_CLI > ${PLIST}
|
|
.if !defined(NOPORTDOCS)
|
|
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 ${PREFIX}/bin
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/${DOCDIR}
|
|
cd ${WRKSRC} && ${PAX} -r -w *txt ${PREFIX}/${DOCDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|