blob: 15fea1db997ef674e0b6bdc7452b77c463d3a45f (
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
38
39
40
41
42
43
44
45
46
|
PORTNAME= bbparse
PORTVERSION= 0.1.0
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= olivier@FreeBSD.org
COMMENT= Library to parse Blackbox-created PCAPng files
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le
USE_GITHUB= yes
GH_ACCOUNT= Netflix
PLIST_FILES= lib/libbbparse.a \
lib/libbbparse_p.a \
include/bbparse.h \
man/man3/libbbparse.3.gz
MANPAGE_LINKS= bbr_get_next bbr_get_stackname bbr_get_tlh bbr_init_fd bbr_init_file bbr_fini
.for l in ${MANPAGE_LINKS}
PLIST_FILES+= man/man3/${l}.3.gz
.endfor
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300076
IGNORE= builds only on FreeBSD 13-head with minimum revision 356414
.endif
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib
${MKDIR} ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/libbbparse.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/libbbparse_p.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/bbparse.h ${STAGEDIR}${PREFIX}/include
${INSTALL_MAN} ${WRKSRC}/libbbparse.3.gz ${STAGEDIR}${PREFIX}/man/man3
.for l in ${MANPAGE_LINKS}
${RLN} ${STAGEDIR}${PREFIX}/man/man3/libbbparse.3.gz ${STAGEDIR}${PREFIX}/man/man3/${l}.3.gz
.endfor
.include <bsd.port.mk>
|