2006-07-14 01:17:18 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2006/07/14 05:17:18 steven Exp $
|
2001-05-30 10:07:15 -04:00
|
|
|
|
|
|
|
COMMENT= "list processes as a tree"
|
2006-07-14 01:17:18 -04:00
|
|
|
DISTNAME= pstree-2.27
|
2001-05-30 10:07:15 -04:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-20 05:35:34 -05:00
|
|
|
WANTLIB= c
|
2001-05-30 10:07:15 -04:00
|
|
|
|
2006-07-14 01:17:18 -04:00
|
|
|
MASTER_SITES= http://fresh.t-systems-sfr.com/unix/src/misc/
|
2001-05-30 10:07:15 -04:00
|
|
|
|
2001-11-10 10:44:57 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2001-05-30 10:07:15 -04:00
|
|
|
WRKDIST= ${WRKDIR}
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKBUILD} && ${CC} ${CFLAGS} -o pstree pstree.c
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/pstree ${PREFIX}/bin/pstree
|
2002-06-20 09:32:04 -04:00
|
|
|
${INSTALL_MAN} ${FILESDIR}/pstree.1 ${PREFIX}/man/man1
|
2001-05-30 10:07:15 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|