blob: baa6c00f9fbcd265a6820f3fc882c79966bfb27e (
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
47
48
49
|
PORTNAME= babeltrace
PORTVERSION= 1.5.7
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= pizzamig@FreeBSD.org
COMMENT= Tool and library to read, write and convert execution traces
# license is complicated
LICENSE= MIT GPLv2 LGPL21
LICENSE_COMB= multi
LICENSE_FILE_MIT= ${WRKSRC}/mit-license.txt
LICENSE_FILE_GPLv2= ${WRKSRC}/gpl-2.0.txt
LICENSE_FILE_LGPL21= ${WRKSRC}/lgpl-2.1.txt
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libpopt.so:devel/popt \
libuuid.so:misc/e2fsprogs-libuuid
USES= autoreconf:build bison compiler:c11 gmake gnome libtool \
pathfix pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= efficios
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug-info
CONFIGURE_ENV= YACC="bison -y"
USE_GNOME= glib20
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
PORTDOCS= ChangeLog std-ext-lib.txt API.txt lttng-live.txt
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|LICENSE mit-license.txt gpl-2.0.txt||' \
${WRKSRC}/Makefile.am
@${REINPLACE_CMD} -e 's|machine\/endian|sys\/endian|' \
${WRKSRC}/include/babeltrace/endian.h
pre-configure:
(cd ${WRKSRC}; ./bootstrap )
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libbabeltrace*so.1.0.0
.include <bsd.port.mk>
|