aboutsummaryrefslogtreecommitdiff
path: root/security/fcrackzip/Makefile
blob: 8f7d8a747435ea3e2f5c8d18a68210bfcbef68e7 (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
32
33
34
35
36
37
# New ports collection makefile for:	fcrackzip
# Date created:				16 Jul 2004
# Whom:					Stefan Walter <sw@gegenunendlich.de>
#
# $FreeBSD$
#

PORTNAME=	fcrackzip
PORTVERSION=	0.3
CATEGORIES=	security archivers
MASTER_SITES=	http://www.goof.com/pcg/marc/data/

MAINTAINER=	sw@gegenunendlich.de
COMMENT=	Portable, fast and featureful ZIP password cracker

GNU_CONFIGURE=	yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GETOPT_LONG=yes
USE_PERL5_BUILD=yes
USE_REINPLACE=	yes

PLIST_FILES=	bin/fcrackzip bin/fcrackzipinfo
.if !defined(NOPORTDOCS)
MAN1=		fcrackzip.1
.endif

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

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/fcrackzip ${PREFIX}/bin/
	@${INSTALL_PROGRAM} ${WRKSRC}/zipinfo ${PREFIX}/bin/fcrackzipinfo
.if !defined(NOPORTDOCS)
	@${INSTALL_MAN} ${WRKSRC}/fcrackzip.1 ${PREFIX}/man/man1/
.endif

.include <bsd.port.mk>