aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-05-19 03:39:55 +0800
committerantoine <antoine@FreeBSD.org>2014-05-19 03:39:55 +0800
commit6cb353a9fc5d1dc48c22b9778a0d90605de83f78 (patch)
tree6502c47ab065daf69e058dfb0ba58bbe24d197eb /sysutils
parent383be58ee29c2795848fb46e41667b19740adf2f (diff)
downloadfreebsd-ports-gnome-6cb353a9fc5d1dc48c22b9778a0d90605de83f78.tar.gz
freebsd-ports-gnome-6cb353a9fc5d1dc48c22b9778a0d90605de83f78.tar.zst
freebsd-ports-gnome-6cb353a9fc5d1dc48c22b9778a0d90605de83f78.zip
Resurect ptools, it was removed by mistake
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/ptools/Makefile27
-rw-r--r--sysutils/ptools/distinfo2
-rw-r--r--sysutils/ptools/pkg-descr9
3 files changed, 38 insertions, 0 deletions
diff --git a/sysutils/ptools/Makefile b/sysutils/ptools/Makefile
new file mode 100644
index 000000000000..8494a69cecd2
--- /dev/null
+++ b/sysutils/ptools/Makefile
@@ -0,0 +1,27 @@
+# Created by: Tomasz Walaszek <tmwalaszek@gmail.com>
+# $FreeBSD$
+
+PORTNAME= ptools
+PORTVERSION= 0.5
+CATEGORIES= sysutils
+MASTER_SITES= http://shewolf.com.pl/ptools/
+PKGNAMESUFFIX= 2
+
+MAINTAINER= tmwalaszek@gmail.com
+COMMENT= Toolset based on Solaris ptools functionality
+
+LICENSE= BSD4CLAUSE
+
+PLIST_FILES= bin/pargs \
+ bin/pwdx \
+ bin/pldd \
+ bin/ptree
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local/bin|${STAGEDIR}${PREFIX}/bin|g ; \
+ s|gcc|$${CC}|g ; \
+ s|555|755|g ; \
+ s|-o root -g wheel|${STRIP}|g' \
+ ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>
diff --git a/sysutils/ptools/distinfo b/sysutils/ptools/distinfo
new file mode 100644
index 000000000000..c4c45c950148
--- /dev/null
+++ b/sysutils/ptools/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ptools-0.5.tar.gz) = 3b35e59be64f97a4e78e1ae43bc3a3a0c3d8ed334a26de244de1476fc737a7d7
+SIZE (ptools-0.5.tar.gz) = 3923
diff --git a/sysutils/ptools/pkg-descr b/sysutils/ptools/pkg-descr
new file mode 100644
index 000000000000..1f9b0993cc27
--- /dev/null
+++ b/sysutils/ptools/pkg-descr
@@ -0,0 +1,9 @@
+Ptools is a toolset based on Solaris ptools functionality.
+
+At this time, four tools are provided:
+* pargs - Display process arguments
+* pldd - Display dynamic linker dependencies
+* pwdx - Display process working directory
+* ptree - Display process hierarchy as tree (with jail option -j)
+
+WWW: http://shewolf.com.pl/ptools/