2000-05-07 21:06:13 +00:00
|
|
|
# New ports collection makefile for: wmtop
|
|
|
|
# Date created: 07 May 2000
|
|
|
|
# Whom: Dan Piponi <wmtop@tanelorn.demon.co.uk>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= wmtop
|
2001-06-09 19:39:02 +00:00
|
|
|
PORTVERSION= 0.84
|
2008-03-25 22:44:48 +00:00
|
|
|
PORTREVISION= 3
|
2001-06-09 19:39:02 +00:00
|
|
|
CATEGORIES= sysutils windowmaker
|
2005-09-14 08:47:18 +00:00
|
|
|
MASTER_SITES= http://ftp1.sourceforge.net/wmtop/ \
|
2009-08-22 00:35:32 +00:00
|
|
|
SF
|
|
|
|
|
2010-05-31 08:03:53 +00:00
|
|
|
MAINTAINER= uqs@FreeBSD.org
|
2003-02-21 13:28:59 +00:00
|
|
|
COMMENT= Windowmaker dock app to display top 3 CPU consuming processes
|
2000-05-07 21:06:13 +00:00
|
|
|
|
2008-03-25 22:44:48 +00:00
|
|
|
USE_XORG= xpm x11
|
2000-05-07 21:06:13 +00:00
|
|
|
ALL_TARGET= freebsd
|
|
|
|
|
|
|
|
MAN1= wmtop.1
|
2005-03-14 17:36:06 +00:00
|
|
|
PLIST_FILES= bin/wmtop
|
2000-05-07 21:06:13 +00:00
|
|
|
|
2005-03-03 16:05:22 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= BUGS CHANGES COPYING README TODO
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's/^\(LIBS.*\)/\1 -lkvm/' ${WRKSRC}/Makefile
|
|
|
|
${REINPLACE_CMD} -e 's/^\(FLAGS.*\)/\1 -DNO_PROCFS/' ${WRKSRC}/Makefile
|
|
|
|
|
2000-05-07 21:06:13 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wmtop ${PREFIX}/bin/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/wmtop.1 ${PREFIX}/man/man1
|
2005-03-03 16:05:22 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-06-09 19:39:02 +00:00
|
|
|
@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 \
|
|
|
|
${PREFIX}/share/doc/${PORTNAME}
|
|
|
|
.for file in BUGS CHANGES COPYING README TODO
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${file} \
|
|
|
|
${PREFIX}/share/doc/${PORTNAME}
|
|
|
|
.endfor
|
|
|
|
.endif # !NOPORTDOCS
|
2000-05-07 21:06:13 +00:00
|
|
|
|
2007-04-20 15:12:29 +00:00
|
|
|
.include <bsd.port.mk>
|