Resurect ptools, it was removed by mistake

This commit is contained in:
Antoine Brodin 2014-05-18 19:39:55 +00:00
parent e9b21c4e47
commit e10775c29a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354462
3 changed files with 38 additions and 0 deletions

27
sysutils/ptools/Makefile Normal file
View file

@ -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>

2
sysutils/ptools/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (ptools-0.5.tar.gz) = 3b35e59be64f97a4e78e1ae43bc3a3a0c3d8ed334a26de244de1476fc737a7d7
SIZE (ptools-0.5.tar.gz) = 3923

View file

@ -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/