openbsd-ports/sysutils/pstree/Makefile
semarie 6571766baa pledge sysutils/pstree
initial patch from steve latif

ok sthen@
2016-04-21 08:56:07 +00:00

29 lines
591 B
Makefile

# $OpenBSD: Makefile,v 1.23 2016/04/21 08:56:07 semarie Exp $
COMMENT = list processes as a tree
DISTNAME = pstree-2.39
CATEGORIES = sysutils
HOMEPAGE = http://www.thp.uni-duisburg.de/pstree/
REVISION = 0
# GPL
PERMIT_PACKAGE_CDROM = Yes
# uses pledge()
WANTLIB = c
MASTER_SITES = ftp://ftp.thp.uni-duisburg.de/pub/source/
NO_TEST = Yes
WRKDIST = ${WRKDIR}
do-build:
cd ${WRKBUILD} && ${CC} ${CFLAGS} -o pstree pstree.c
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/pstree ${PREFIX}/bin/pstree
${INSTALL_MAN} ${WRKBUILD}/pstree.1 ${PREFIX}/man/man1
.include <bsd.port.mk>