66b622cbe9
Pkgsrc changes: - Added support for installation to DESTDIR. Changes since version 2.27: =========================== * Revision 2.32 2007-10-26 21:39:50+02 fred * Added option -l provided by Michael E. White <mewhite AT us.ibm.com> * Revision 2.31 2007-06-08 17:45:23+02 fred * Fixed problem with users with long login name (Reported by Oleg A. Mamontov) * Revision 2.30 2007-05-10 23:13:04+02 fred * *** empty log message *** * Revision 2.29 2007-05-10 22:37:13+02 fred * Added fix for Solaris Zone and bug fix from Philippe Torche * Revision 2.28 2007-05-10 22:01:07+02 fred * Added new determination of window width
29 lines
735 B
Makefile
29 lines
735 B
Makefile
# $NetBSD: Makefile,v 1.21 2008/01/05 20:33:17 heinz Exp $
|
|
#
|
|
|
|
DISTNAME= pstree-2.32
|
|
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"
|