1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/sysutils/ptools/Makefile
Jason Helfman 6985d0fff6 - 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
2014-01-10 23:06:09 +00:00

34 lines
675 B
Makefile

# Created by: Tomasz Walaszek <tmwalaszek@gmail.com>
# $FreeBSD$
PORTNAME= ptools
PORTVERSION= 0.4
CATEGORIES= sysutils
MASTER_SITES= http://shewolf.com.pl/ptools/
PKGNAMESUFFIX= 2
MAINTAINER= tmwalaszek@gmail.com
COMMENT= Toolset based on Solaris ptools functionality
LICENSE= BSD4CLAUSE
PLIST_FILES= bin/pargs \
bin/pwdx \
bin/pldd \
bin/ptree
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>