aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/pstree/Makefile
blob: b5681a143ea2e4d41cf4560ab7a314ddfbc39b20 (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
# 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

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

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

.include <bsd.port.mk>