aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ptools
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-05-18 19:39:55 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-05-18 19:39:55 +0000
commite10775c29a80d6dcdfa73e512fbf096a09c80752 (patch)
tree6502c47ab065daf69e058dfb0ba58bbe24d197eb /sysutils/ptools
parente9b21c4e4735e06df654d2e7290c3c64afa2d206 (diff)
Notes
Diffstat (limited to 'sysutils/ptools')
-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/