summaryrefslogtreecommitdiff
path: root/devel/bingrep/Makefile
blob: e10aa3ddfb1190d64d2f5039c29104710409bcd9 (plain)
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
PORTNAME=	bingrep
DISTVERSIONPREFIX=	v
DISTVERSION=	0.10.1
PORTREVISION=	3
CATEGORIES=	devel

MAINTAINER=	eduardo@FreeBSD.org
COMMENT=	Grep through binaries
WWW=		https://github.com/m4b/bingrep

LICENSE=	MIT

USES=		cargo cpe
CPE_VENDOR=	bingrep_project
USE_GITHUB=	yes
GH_ACCOUNT=	m4b

PLIST_FILES=	bin/bingrep

PORTDOCS=	README.md
PORTEXAMPLES=	*.png

OPTIONS_DEFINE=	DOCS EXAMPLES

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}

do-install-EXAMPLES-on:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	(cd ${WRKSRC}/etc && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>