Skip to content

Commit

Permalink
New port: devel/libbacktrace: C library that produces symbolic backtr…
Browse files Browse the repository at this point in the history
…aces in C/C++ programs
  • Loading branch information
yurivict committed May 3, 2021
1 parent 103ffb5 commit e54f515
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -1110,6 +1110,7 @@
SUBDIR += libaura
SUBDIR += libavl
SUBDIR += libb2
SUBDIR += libbacktrace
SUBDIR += libbde
SUBDIR += libbegemot
SUBDIR += libbfd
Expand Down
30 changes: 30 additions & 0 deletions devel/libbacktrace/Makefile
@@ -0,0 +1,30 @@
PORTNAME= libbacktrace
DISTVERSION= 1.0
CATEGORIES= devel

MAINTAINER= yuri@FreeBSD.org
COMMENT= C library that produces symbolic backtraces in C/C++ programs

LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE

USES= gmake libtool
USE_LDCONFIG= yes

USE_GITHUB= yes
GH_ACCOUNT= ianlancetaylor
GH_TAGNAME= 4f57c99

GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared

INSTALL_TARGET= install-strip

PLIST_FILES= include/backtrace-supported.h \
include/backtrace.h \
lib/libbacktrace.a \
lib/libbacktrace.so \
lib/libbacktrace.so.0 \
lib/libbacktrace.so.0.0.0

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/libbacktrace/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1620061382
SHA256 (ianlancetaylor-libbacktrace-1.0-4f57c99_GH0.tar.gz) = 428938b5f9b1330f1bb20cd4d3b867c1c68c5f21e054620423e2cfc3a35e95d7
SIZE (ianlancetaylor-libbacktrace-1.0-4f57c99_GH0.tar.gz) = 664774
4 changes: 4 additions & 0 deletions devel/libbacktrace/pkg-descr
@@ -0,0 +1,4 @@
libbacktrace is a C library that may be linked into a C/C++ program to produce
symbolic backtraces.

WWW: https://github.com/ianlancetaylor/libbacktrace

0 comments on commit e54f515

Please sign in to comment.