aboutsummaryrefslogtreecommitdiff
path: root/security/fcrackzip/Makefile
blob: 6fa7b7dff0c7cce0875a4c6e963af342eb6ee5e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Stefan Walter <sw@gegenunendlich.de>
# $FreeBSD$

PORTNAME=	fcrackzip
PORTVERSION=	1.0
PORTREVISION=	1
CATEGORIES=	security archivers
MASTER_SITES=	http://oldhome.schmorp.de/data/marc/ \
		http://distfiles.macports.org/${PORTNAME}/

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	Portable, fast, and featureful ZIP password cracker

LICENSE=	GPLv2

GNU_CONFIGURE=	yes
USES=		perl5
USE_PERL5=	build

PLIST_FILES=	bin/fcrackzip bin/fcrackzipinfo man/man1/fcrackzip.1.gz

post-patch:
	@${REINPLACE_CMD} -e 's/zipinfo/fcrackzipinfo/g' ${WRKSRC}/zipinfo.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/fcrackzip ${STAGEDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/zipinfo \
		${STAGEDIR}${PREFIX}/bin/fcrackzipinfo
	${INSTALL_MAN} ${WRKSRC}/fcrackzip.1 ${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>