mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
5ab98479cd
Get rid of NOPORTDATA Convert USE_GMAKE ->USES = gmake Do not include the license file for a well known license
35 lines
848 B
Makefile
35 lines
848 B
Makefile
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= truecrack
|
|
PORTVERSION= 0.1
|
|
CATEGORIES= security
|
|
MASTER_SITES= https://truecrack.googlecode.com/files/ \
|
|
http://mirrors.rit.edu/zi/
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
MAINTAINER= zi@FreeBSD.org
|
|
COMMENT= Password cracker for TrueCrypt volumes
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USES= gmake
|
|
CFLAGS+= -DTC_BSD
|
|
PLIST_FILES= bin/truecrack
|
|
|
|
DICTIONARIES= dictionary_100k.txt dictionary_10k.txt dictionary.txt
|
|
PORTDATA= ${DICTIONARIES}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's/CFLAGS =/CFLAGS +=/g' ${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -e 's/return ;/return 0;/g' ${WRKSRC}/Main/Utils.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/truecrack ${STAGEDIR}${PREFIX}/bin
|
|
.for dict in ${DICTIONARIES}
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${dict} ${STAGEDIR}${DATADIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|