aboutsummaryrefslogtreecommitdiffstats
path: root/security/fcrackzip/Makefile
blob: 5f8650278b0f0ba9fd2ce91fbbb19aaeb601536b (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=${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>