aboutsummaryrefslogtreecommitdiff
path: root/security/xorsearch/Makefile
blob: 9801d2cc923c2b489f2fcf665590ccdae21262b6 (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
PORTNAME=	xorsearch
DISTVERSION=	1_11_1
CATEGORIES=	security textproc
MASTER_SITES=	http://www.didierstevens.com/files/software/
DISTNAME=	XORSearch_V${DISTVERSION}

MAINTAINER=	anastasios@mageirias.com
COMMENT=	Search for a given string in an XOR or ROL encoded binary file

LICENSE=	PD

USES=		dos2unix zip
DOS2UNIX_GLOB=	*.c
NO_WRKSUBDIR=	yes

PLIST_FILES=	bin/xorsearch

do-build:
	${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/XORSearch ${WRKSRC}/XORSearch.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/XORSearch ${STAGEDIR}${PREFIX}/bin/xorsearch

.include <bsd.port.mk>