aboutsummaryrefslogblamecommitdiff
path: root/security/fcrackzip/Makefile
blob: 051a4417bc1b00640bd538acc8a4a2fe12953b5c (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                  
           

                         
                   
                 
                                  

                                                          
 
                                  
                                                                   

                   

                     
















                                                                            
# 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
.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>