aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2003-08-10 23:07:26 +0800
committersobomax <sobomax@FreeBSD.org>2003-08-10 23:07:26 +0800
commit0bca369a8cefa34d58349aecaef0efe05219ea26 (patch)
tree4ac294b092c628b65d5f11d9cb0e83cfde8f0ba0 /devel
parent9b84d2b43d9a7fc0accdb3fe41e9953ad7809d8e (diff)
downloadfreebsd-ports-gnome-0bca369a8cefa34d58349aecaef0efe05219ea26.tar.gz
freebsd-ports-gnome-0bca369a8cefa34d58349aecaef0efe05219ea26.tar.zst
freebsd-ports-gnome-0bca369a8cefa34d58349aecaef0efe05219ea26.zip
Add libexecinfo 1.0, a library for inspecting program's backtrace.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/libexecinfo/Makefile25
-rw-r--r--devel/libexecinfo/distinfo1
-rw-r--r--devel/libexecinfo/files/patch-Makefile14
-rw-r--r--devel/libexecinfo/pkg-descr6
-rw-r--r--devel/libexecinfo/pkg-plist5
6 files changed, 52 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index ce2cb8df7163..3f3124a4ff8b 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -314,6 +314,7 @@
SUBDIR += libedit
SUBDIR += libelf
SUBDIR += libevent
+ SUBDIR += libexecinfo
SUBDIR += libffi
SUBDIR += libformat
SUBDIR += libfs++
diff --git a/devel/libexecinfo/Makefile b/devel/libexecinfo/Makefile
new file mode 100644
index 000000000000..6b2b2df0b281
--- /dev/null
+++ b/devel/libexecinfo/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: libexecinfo
+# Date created: 10 August 2003
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libexecinfo
+PORTVERSION= 1.0
+CATEGORIES= devel
+MASTER_SITES= https://demo.portaone.com/~sobomax/freestuff/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A library for inspecting program's backtrace
+
+USE_BZIP2= yes
+INSTALLS_SHLIB= yes
+MAKE_FLAGS= LIBDIR=${PREFIX}/lib \
+ INCLUDEDIR=${PREFIX}/include
+
+post-install:
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/devel/libexecinfo/distinfo b/devel/libexecinfo/distinfo
new file mode 100644
index 000000000000..c8357419b5d7
--- /dev/null
+++ b/devel/libexecinfo/distinfo
@@ -0,0 +1 @@
+MD5 (libexecinfo-1.0.tar.bz2) = 745579b7705227c5c79cd7af391a005b
diff --git a/devel/libexecinfo/files/patch-Makefile b/devel/libexecinfo/files/patch-Makefile
new file mode 100644
index 000000000000..693544c52748
--- /dev/null
+++ b/devel/libexecinfo/files/patch-Makefile
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- Makefile 2003/08/10 05:00:23 1.1
++++ Makefile 2003/08/10 05:00:34
+@@ -28,6 +28,8 @@
+
+ SRCS= stacktraverse.c stacktraverse.h execinfo.c execinfo.h
+
++INCS= execinfo.h
++
+ SHLIB_MAJOR= 1
+ SHLIB_MINOR= 0
+
diff --git a/devel/libexecinfo/pkg-descr b/devel/libexecinfo/pkg-descr
new file mode 100644
index 000000000000..30af30956be2
--- /dev/null
+++ b/devel/libexecinfo/pkg-descr
@@ -0,0 +1,6 @@
+This is a quick-n-dirty BSD licensed clone of backtrace facility found
+in the GNU libc, mainly intended for porting linuxish code to BSD
+platforms, however it can be used at any platform which has a gcc
+compiler.
+
+WWW: http://www.gnu.org/manual/glibc-2.2.3/html_chapter/libc_33.html
diff --git a/devel/libexecinfo/pkg-plist b/devel/libexecinfo/pkg-plist
new file mode 100644
index 000000000000..dfdb2ee4386a
--- /dev/null
+++ b/devel/libexecinfo/pkg-plist
@@ -0,0 +1,5 @@
+include/execinfo.h
+lib/libexecinfo.a
+lib/libexecinfo.so
+lib/libexecinfo.so.1
+share/doc/libexecinfo/README