diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2014-01-10 23:06:09 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2014-01-10 23:06:09 +0000 |
commit | 6985d0fff6d561647943784af50d12e9c54cf94c (patch) | |
tree | b36133fa24c7ac2ac988883394fffcb57144fc46 /sysutils | |
parent | - Update to 3.8.7 [1] (diff) |
- update to 0.4
Fix bug in ptree where duplicated processes were in output
- while here update for staging support, respect ${CC}, fix license clause
PR: 185635
Submitted by: maintainer, tmwalaszek@gmail.com
Notes
Notes:
svn path=/head/; revision=339390
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/ptools/Makefile | 18 | ||||
-rw-r--r-- | sysutils/ptools/distinfo | 4 |
2 files changed, 17 insertions, 5 deletions
diff --git a/sysutils/ptools/Makefile b/sysutils/ptools/Makefile index e7015015bcb3..08e3f8f84dba 100644 --- a/sysutils/ptools/Makefile +++ b/sysutils/ptools/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= ptools -PORTVERSION= 0.3 +PORTVERSION= 0.4 CATEGORIES= sysutils MASTER_SITES= http://shewolf.com.pl/ptools/ PKGNAMESUFFIX= 2 @@ -10,12 +10,24 @@ PKGNAMESUFFIX= 2 MAINTAINER= tmwalaszek@gmail.com COMMENT= Toolset based on Solaris ptools functionality -LICENSE= BSD +LICENSE= BSD4CLAUSE PLIST_FILES= bin/pargs \ bin/pwdx \ bin/pldd \ bin/ptree -NO_STAGE= yes +NEED_ROOT= yes + +post-patch-script: + @${REINPLACE_CMD} -e 's|/usr/local/bin|${STAGEDIR}${PREFIX}/bin|g' \ + ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|gcc|$${CC}|g' \ + ${WRKSRC}/Makefile + +post-install: +.for file in pargs pwdx pldd ptree + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file} +.endfor + .include <bsd.port.mk> diff --git a/sysutils/ptools/distinfo b/sysutils/ptools/distinfo index 13ea725c5911..fe6f151ec928 100644 --- a/sysutils/ptools/distinfo +++ b/sysutils/ptools/distinfo @@ -1,2 +1,2 @@ -SHA256 (ptools-0.3.tar.gz) = 7fcf2177a277f40d320a44548809ce2e22bdacab1eacc95955f33046348101c8 -SIZE (ptools-0.3.tar.gz) = 3769 +SHA256 (ptools-0.4.tar.gz) = fb931551aed23ee96497e7495ae53194c47218919cc02de5a07eb526ec53dafa +SIZE (ptools-0.4.tar.gz) = 3841 |