aboutsummaryrefslogtreecommitdiff
path: root/sysutils/wmcpuload
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-06-01 05:25:42 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-06-01 05:25:42 +0000
commit3b7496c23f59a3b4cdce0e0569ed0b7c1c0208a1 (patch)
tree686bf1d398900a03d5142f173637cb901f0ff734 /sysutils/wmcpuload
parentb0fe6f94485d907b460f73cce650f35e2ce15b1f (diff)
Notes
Diffstat (limited to 'sysutils/wmcpuload')
-rw-r--r--sysutils/wmcpuload/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/sysutils/wmcpuload/Makefile b/sysutils/wmcpuload/Makefile
index 3d73e235ba6a..3c4956092388 100644
--- a/sysutils/wmcpuload/Makefile
+++ b/sysutils/wmcpuload/Makefile
@@ -10,25 +10,26 @@ 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
+USES= tar:bzip2
USE_XORG= xpm
GNU_CONFIGURE= yes
-MAN1= wmcpuload.1
PORTDOCS= ChangeLog README
-PLIST_FILES= bin/wmcpuload
+PLIST_FILES= bin/wmcpuload \
+ man/man1/wmcpuload.1.gz
+
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
-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}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif # !NOPORTDOCS
.include <bsd.port.mk>