84e2b0dfb9
(on DragonFly). Fix DragonFly support. This is for PR #35832. Thank you, fuyuki, for the patch. I didn't commit the other bug fix, because it was already fixed (even though I didn't see in the change log at end of source).
30 lines
749 B
Makefile
30 lines
749 B
Makefile
# $NetBSD: Makefile,v 1.22 2008/02/05 14:07:05 reed Exp $
|
|
#
|
|
|
|
DISTNAME= pstree-2.32
|
|
PKGREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ftp://ftp.thp.uni-duisburg.de/pub/source/
|
|
# http://fresh.t-systems-sfr.com/unix/src/misc/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Display processes in a tree
|
|
HOMEPAGE= http://www.thp.uni-duisburg.de/pstree/
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-build:
|
|
cd ${WRKSRC}; ${CC} ${CFLAGS} -o pstree pstree.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pstree \
|
|
${DESTDIR}${PREFIX}/bin/proctree
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/proctree
|
|
${INSTALL_DATA} ${WRKSRC}/README \
|
|
${DESTDIR}${PREFIX}/share/doc/proctree
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|