summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/ltrace/Makefile30
-rw-r--r--sysutils/ltrace/distinfo1
-rw-r--r--sysutils/ltrace/pkg-comment1
-rw-r--r--sysutils/ltrace/pkg-descr4
-rw-r--r--sysutils/ltrace/pkg-plist2
6 files changed, 39 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 91e28bbc2b74..0d8ce534ec23 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -85,6 +85,7 @@
SUBDIR += logtool
SUBDIR += lsmlib
SUBDIR += lsof
+ SUBDIR += ltrace
SUBDIR += maint
SUBDIR += manck
SUBDIR += medusa
diff --git a/sysutils/ltrace/Makefile b/sysutils/ltrace/Makefile
new file mode 100644
index 000000000000..90e7c5f17c5f
--- /dev/null
+++ b/sysutils/ltrace/Makefile
@@ -0,0 +1,30 @@
+# ex:ts=8
+# Ports collection makefile for: ltrace
+# Date created: Mon Oct 15, 2001
+# Whom: David O'Brien (obrien@NUXI.com)
+#
+# $FreeBSD$
+#
+
+PORTNAME= ltrace
+PORTVERSION= 0.3.6
+CATEGORIES= sysutils
+MASTER_SITES= http://utopia.knoware.nl/users/driehuis/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-fbsd
+
+MAINTAINER= obrien@FreeBSD.org
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+MAN1= ltrace.1
+
+post-patch:
+ ${PERL} -pi.bak \
+ -e 's|"/etc/ltrace.conf"|"${PREFIX}/etc/ltrace.conf"|g' \
+ ${WRKSRC}/ltrace.c
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ltrace ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/etc/ltrace.conf ${PREFIX}/etc
+
+.include <bsd.port.mk>
diff --git a/sysutils/ltrace/distinfo b/sysutils/ltrace/distinfo
new file mode 100644
index 000000000000..d42fd9eeaaa5
--- /dev/null
+++ b/sysutils/ltrace/distinfo
@@ -0,0 +1 @@
+MD5 (ltrace-0.3.6-fbsd.tar.gz) = 305157fa70baaa10e917f5537ce47d1f
diff --git a/sysutils/ltrace/pkg-comment b/sysutils/ltrace/pkg-comment
new file mode 100644
index 000000000000..9f0813f10a0b
--- /dev/null
+++ b/sysutils/ltrace/pkg-comment
@@ -0,0 +1 @@
+Dynamic Library Tracer -- similar to strace, but it traces library calls
diff --git a/sysutils/ltrace/pkg-descr b/sysutils/ltrace/pkg-descr
new file mode 100644
index 000000000000..89eead99556c
--- /dev/null
+++ b/sysutils/ltrace/pkg-descr
@@ -0,0 +1,4 @@
+ltrace is a dynamic library tracer. ltrace is a debugging tool, similar to
+strace, but it traces library calls instead of system calls.
+
+WWW: http://utopia.knoware.nl/users/driehuis/
diff --git a/sysutils/ltrace/pkg-plist b/sysutils/ltrace/pkg-plist
new file mode 100644
index 000000000000..56b5a6acd0ea
--- /dev/null
+++ b/sysutils/ltrace/pkg-plist
@@ -0,0 +1,2 @@
+@comment $FreeBSD$
+bin/ltrace