blob: 67da4978b561d90c23e6e16ad897fe8bcdab896e (
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
37
|
PORTNAME= bingrep
DISTVERSIONPREFIX= v
DISTVERSION= 0.11.0
PORTREVISION= 4
CATEGORIES= devel
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Grep through binaries
WWW= https://github.com/m4b/bingrep
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
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>
|