Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2014 23:06:09 +0000 (UTC)
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339390 - head/sysutils/ptools
Message-ID:  <201401102306.s0AN697W035768@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401102306.s0AN697W035768>