summaryrefslogtreecommitdiff
path: root/sysutils/pstree/Makefile
blob: 5b888ec4c82d5bfd5152df518f1ef352e1426d19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Created by: Kris Kennaway <kris@FreeBSD.org>
# $FreeBSD$

PORTNAME=	pstree
PORTVERSION=	2.36
CATEGORIES=	sysutils
MASTER_SITES=	ftp://ftp.thp.uni-due.de/pub/source/ \
		LOCAL/jgh/sysutils/${PORTNAME}/

MAINTAINER=	jgh@FreeBSD.org
COMMENT=	List processes as a tree

NO_WRKSUBDIR=	yes

CONFLICTS=	psmisc-[0-9]*

PLIST_FILES=	bin/pstree

NO_STAGE=	yes
do-build:
	cd ${WRKDIR} && ${CC} ${CFLAGS} -o pstree pstree.c

do-install:
	${INSTALL_PROGRAM} ${WRKDIR}/pstree ${PREFIX}/bin

.include <bsd.port.mk>