aboutsummaryrefslogtreecommitdiffstats
path: root/security/fcrackzip/Makefile
blob: e9f91a7fdf311924656c91d0dc82629acf72b5ed (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
# New ports collection makefile for:    fcrackzip
# Date created:             16 Jul 2004
# Whom:                 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= stefan@FreeBSD.org
COMMENT=    Portable, fast and featureful ZIP password cracker

GNU_CONFIGURE=  yes
USE_PERL5_BUILD=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>