diff options
author | obache <obache@pkgsrc.org> | 2010-08-15 09:07:11 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-08-15 09:07:11 +0000 |
commit | f11051c66cb8440c21d28501bec894945da8fe3b (patch) | |
tree | ac1ae8c202571aa10d8fe08163c4b4f5fc4fe8a8 /sysutils | |
parent | f969f8dc6c3533ca0d44349e53d69edcfd71cc53 (diff) | |
download | pkgsrc-f11051c66cb8440c21d28501bec894945da8fe3b.tar.gz |
Import dtpstree-1.0.3 as sysutils/dtpstree.
Based on PR#43661 by Douglas William Thrift.
DT PS Tree shows running processes as a tree. It is a reimplementation of
pstree from PSmisc for FreeBSD, NetBSD, OpenBSD, DragonFly BSD, and possibly
other modern BSD variants. It also works without /proc and will show the full
set of processes in a jail even if init is not present.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/dtpstree/DESCR | 4 | ||||
-rw-r--r-- | sysutils/dtpstree/Makefile | 26 | ||||
-rw-r--r-- | sysutils/dtpstree/PLIST | 3 | ||||
-rw-r--r-- | sysutils/dtpstree/distinfo | 5 | ||||
-rw-r--r-- | sysutils/dtpstree/options.mk | 21 |
5 files changed, 59 insertions, 0 deletions
diff --git a/sysutils/dtpstree/DESCR b/sysutils/dtpstree/DESCR new file mode 100644 index 00000000000..ae98e94faea --- /dev/null +++ b/sysutils/dtpstree/DESCR @@ -0,0 +1,4 @@ +DT PS Tree shows running processes as a tree. It is a reimplementation of +pstree from PSmisc for FreeBSD, NetBSD, OpenBSD, DragonFly BSD, and possibly +other modern BSD variants. It also works without /proc and will show the full +set of processes in a jail even if init is not present. diff --git a/sysutils/dtpstree/Makefile b/sysutils/dtpstree/Makefile new file mode 100644 index 00000000000..88f78ba8c2b --- /dev/null +++ b/sysutils/dtpstree/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/08/15 09:07:11 obache Exp $ +# + +DISTNAME= dtpstree-1.0.3 +CATEGORIES= sysutils +MASTER_SITES= http://code.douglasthrift.net/files/dtpstree/ \ + http://apt.douglasthrift.net/files/dtpstree/ +EXTRACT_SUFX= .tar.xz + +MAINTAINER= douglas@douglasthrift.net +HOMEPAGE= http://code.douglasthrift.net/trac/dtpstree +COMMENT= Display a tree of processes +LICENSE= apache-2.0 + +PKG_DESTDIR_SUPPORT= user-destdir + +ONLY_FOR_PLATFORM= DragonFly-*-* FreeBSD-*-* NetBSD-*-* OpenBSD-*-* + +GNU_CONFIGURE= yes +USE_LANGUAGES= c c++ +USE_TOOLS+= gmake +MAKE_FILE= GNUmakefile + +.include "options.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/dtpstree/PLIST b/sysutils/dtpstree/PLIST new file mode 100644 index 00000000000..5953f4f2fd5 --- /dev/null +++ b/sysutils/dtpstree/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/08/15 09:07:11 obache Exp $ +bin/dtpstree +man/man1/dtpstree.1 diff --git a/sysutils/dtpstree/distinfo b/sysutils/dtpstree/distinfo new file mode 100644 index 00000000000..c83368a452e --- /dev/null +++ b/sysutils/dtpstree/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/08/15 09:07:11 obache Exp $ + +SHA1 (dtpstree-1.0.3.tar.xz) = 0faf99b3220247f3656282ac6f059478a4210a75 +RMD160 (dtpstree-1.0.3.tar.xz) = 37ff4213515400a9a70725366c4783de863f6f05 +Size (dtpstree-1.0.3.tar.xz) = 47784 bytes diff --git a/sysutils/dtpstree/options.mk b/sysutils/dtpstree/options.mk new file mode 100644 index 00000000000..b3406a185e9 --- /dev/null +++ b/sysutils/dtpstree/options.mk @@ -0,0 +1,21 @@ +# $NetBSD: options.mk,v 1.1.1.1 2010/08/15 09:07:11 obache Exp $ +# + +PKG_OPTIONS_VAR= PKG_OPTIONS.dtpstree +PKG_SUPPORTED_OPTIONS= terminfo + +CHECK_BUILTIN.terminfo:= yes +.include "../../mk/terminfo.builtin.mk" +CHECK_BUILTIN.terminfo:= no +.if !empty(CHECK_BUILTIN.terminfo:M[yY][eE][sS]) +PKG_SUGGESTED_OPTIONS= terminfo +.endif + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mterminfo) +.include "../../mk/terminfo.buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-terminfo +.include "../../mk/termcap.buildlink3.mk" +.endif |