aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pstree/Makefile
blob: 14a604e9f003a1dbca8f8839cc475fad56b70efd (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
27
PORTNAME=	pstree
DISTVERSIONPREFIX=	v
DISTVERSION=	2.40
CATEGORIES=	sysutils
MASTER_SITES=	https://github.com/FredHucht/${PORTNAME}/files/9119465/

MAINTAINER=	jgh@FreeBSD.org
COMMENT=	List processes as a tree
WWW=		https://github.com/FredHucht/pstree

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=	zip

CONFLICTS=	psmisc

PLIST_FILES=	bin/pstree man/man1/pstree.1.gz

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

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/pstree ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/pstree.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/

.include <bsd.port.mk>