mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
34 lines
865 B
Makefile
34 lines
865 B
Makefile
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
|
|
|
PORTNAME= pkcrack
|
|
PORTVERSION= 1.2.2
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.unix-ag.uni-kl.de/~conrad/krypto/pkcrack/ \
|
|
LOCAL/ehaupt
|
|
|
|
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>
|