freebsd-ports/security/pkcrack/Makefile
2015-01-06 09:40:02 +00:00

35 lines
877 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/ \
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>