aboutsummaryrefslogtreecommitdiffstats
path: root/security/binwalk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/binwalk/Makefile')
-rw-r--r--security/binwalk/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/security/binwalk/Makefile b/security/binwalk/Makefile
index 196b973a85ee..430c6bbcb67b 100644
--- a/security/binwalk/Makefile
+++ b/security/binwalk/Makefile
@@ -1,11 +1,7 @@
-# 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
+PORTVERSION= 0.4.5
CATEGORIES= security
MASTER_SITES= GOOGLE_CODE
@@ -14,25 +10,26 @@ COMMENT= Search binary images for embedded files and executable code
LICENSE= MIT
-LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
+LIB_DEPENDS= curl:${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
+CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/docs/README ${DOCSDIR}
.endif