pkgsrc/sysutils/pstree/Makefile
reed 84e2b0dfb9 Bump PKGREVISION for pstree, because it packaged before but didn't work
(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).
2008-02-05 14:07:05 +00:00

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"