mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
35 lines
780 B
Makefile
35 lines
780 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= An "lcd" dockapp for windowmaker, which displays the current cpuload
|
|
|
|
USE_BZIP2= yes
|
|
USE_XORG= xpm
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAN1= wmcpuload.1
|
|
PORTDOCS= ChangeLog README
|
|
PLIST_FILES= bin/wmcpuload
|
|
|
|
NO_STAGE= yes
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^DEFS/s|-I\.\.$$|-I.. -I../libdockapp/|g ; \
|
|
/^CFLAGS/s|-I../libdockapp/||g' ${WRKSRC}/src/Makefile.in
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif # !NOPORTDOCS
|
|
|
|
.include <bsd.port.mk>
|