aboutsummaryrefslogtreecommitdiffstats
path: root/security/fcrackzip/Makefile
blob: 78d4a13ed98c744f315fbc348e1dea766e09f1e3 (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
# 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= stefan@FreeBSD.org
COMMENT=    Portable, fast, and featureful ZIP password cracker

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>