blob: 196b973a85eeaedc1e35dd6b1baf4734ce6f6773 (
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
37
38
39
40
|
# New ports collection makefile for: binwalk
# Date created: 6 February 2012
# Whom: Kurt Jaeger <fbsd-ports@opsec.eu>
#
# $FreeBSD$
PORTNAME= binwalk
PORTVERSION= 0.4.3
CATEGORIES= security
MASTER_SITES= GOOGLE_CODE
MAINTAINER= fbsd-ports@opsec.eu
COMMENT= Search binary images for embedded files and executable code
LICENSE= MIT
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
PLIST_FILES= bin/binwalk \
etc/binwalk/magic.binarch \
etc/binwalk/magic.bincast \
etc/binwalk/magic.binwalk \
etc/binwalk/magic.o
PLIST_DIRS= etc/binwalk
PORTDOCS= README
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/docs/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
|