mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
35 lines
873 B
Makefile
35 lines
873 B
Makefile
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pkcrack
|
|
PORTVERSION= 1.2.2
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.unix-ag.uni-kl.de/~conrad/krypto/pkcrack/ \
|
|
CRITICAL
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= Utility for breaking pkzip encryption
|
|
|
|
USES= gmake
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
PLIST_FILES= bin/pkextract bin/pkfindkey bin/pkmakekey bin/pkcrack bin/zipdecrypt
|
|
PORTDOCS= README pkzip.ps.gz
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
.for f in pkcrack zipdecrypt
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
|
|
.endfor
|
|
# these file names are too generic
|
|
.for f in extract findkey makekey
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin/pk${f}
|
|
.endfor
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/${f} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|