aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2014-01-11 07:06:09 +0800
committerjgh <jgh@FreeBSD.org>2014-01-11 07:06:09 +0800
commit162b2789dcb59eb92a1ca9535c08024fb644b5a8 (patch)
treeb36133fa24c7ac2ac988883394fffcb57144fc46 /sysutils
parent8d953c5d5affa6932bfac3650de1cf279ad620f4 (diff)
downloadfreebsd-ports-gnome-162b2789dcb59eb92a1ca9535c08024fb644b5a8.tar.gz
freebsd-ports-gnome-162b2789dcb59eb92a1ca9535c08024fb644b5a8.tar.zst
freebsd-ports-gnome-162b2789dcb59eb92a1ca9535c08024fb644b5a8.zip
- 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
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/ptools/Makefile18
-rw-r--r--sysutils/ptools/distinfo4
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