mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
ffb7170399
With hat: portmgr
42 lines
858 B
Makefile
42 lines
858 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= binwalk
|
|
PORTVERSION= 0.5.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= security
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
MAINTAINER= pi@FreeBSD.org
|
|
COMMENT= Search binary images for embedded files and executable code
|
|
|
|
LICENSE= MIT
|
|
|
|
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
|
|
|
|
PLIST_FILES= bin/binwalk \
|
|
etc/binwalk/extract.conf \
|
|
etc/binwalk/magic.binarch \
|
|
etc/binwalk/magic.bincast \
|
|
etc/binwalk/magic.binwalk
|
|
PLIST_DIRS= etc/binwalk
|
|
|
|
PORTDOCS= README
|
|
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/docs/README \
|
|
${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|