- 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
This commit is contained in:
Jason Helfman 2014-01-10 23:06:09 +00:00
parent cf8b938045
commit 6985d0fff6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339390
2 changed files with 17 additions and 5 deletions

View file

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

View file

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