svn commit: r339390 - head/sysutils/ptools
Jason Helfman
jgh at FreeBSD.org
Fri Jan 10 23:06:10 UTC 2014
Author: jgh
Date: Fri Jan 10 23:06:09 2014
New Revision: 339390
URL: http://svnweb.freebsd.org/changeset/ports/339390
Log:
- 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 at gmail.com
Modified:
head/sysutils/ptools/Makefile
head/sysutils/ptools/distinfo
Modified: head/sysutils/ptools/Makefile
==============================================================================
--- head/sysutils/ptools/Makefile Fri Jan 10 23:04:07 2014 (r339389)
+++ head/sysutils/ptools/Makefile Fri Jan 10 23:06:09 2014 (r339390)
@@ -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 at 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>
Modified: head/sysutils/ptools/distinfo
==============================================================================
--- head/sysutils/ptools/distinfo Fri Jan 10 23:04:07 2014 (r339389)
+++ head/sysutils/ptools/distinfo Fri Jan 10 23:06:09 2014 (r339390)
@@ -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
More information about the svn-ports-all
mailing list