freebsd-ports/sysutils/wmcpuload/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
873 B
Makefile

# Created by: Soeren Boll Overgaard <boll@tolkien.dk>
# $FreeBSD$
PORTNAME= wmcpuload
PORTVERSION= 1.0.1
PORTREVISION= 4
CATEGORIES= sysutils windowmaker
MASTER_SITES= http://seiichisato.jp/dockapps/src/
MAINTAINER= xride@FreeBSD.org
COMMENT= "lcd" dockapp for windowmaker, which displays the current cpuload
BROKEN= unfetchable
USES= tar:bzip2 xorg
USE_XORG= xpm
GNU_CONFIGURE= yes
PORTDOCS= ChangeLog README
PLIST_FILES= "@(,kmem,2555) bin/wmcpuload" \
man/man1/wmcpuload.1.gz
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/^DEFS/s|-I\.\.$$|-I.. -I../libdockapp/|g ; \
/^CFLAGS/s|-I../libdockapp/||g' ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} '/SETGID_FLAGS=/d' ${WRKSRC}/configure
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>