freebsd-ports/sysutils/wmtop/Makefile
Niclas Zeising 428fac4e1c Add USES=xorg USES=gl, ports categories s
Add USES=xorg and USES=gl to ports in categories starting with 's'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-07 17:17:53 +00:00

36 lines
868 B
Makefile

# Created by: Dan Piponi <wmtop@tanelorn.demon.co.uk>
# $FreeBSD$
PORTNAME= wmtop
PORTVERSION= 0.84
PORTREVISION= 3
CATEGORIES= sysutils windowmaker
MASTER_SITES= SF
MAINTAINER= uqs@FreeBSD.org
COMMENT= Dockapp to display top three CPU consuming processes
LICENSE= GPLv2
USES= gmake xorg # gmake is needed for -jX builds
USE_XORG= xpm x11
USE_CSTD= gnu89
ALL_TARGET= freebsd
PORTDOCS= BUGS CHANGES README TODO
PLIST_FILES= bin/wmtop \
man/man1/wmtop.1.gz
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's/^\(LIBS.*\)/\1 -lkvm/ ; \
s/^\(FLAGS.*\)/\1 -DNO_PROCFS/' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmtop ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/wmtop.1 ${STAGEDIR}${MANPREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>