Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 2014 05:25:43 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356038 - head/sysutils/wmcpuload
Message-ID:  <201406010525.s515PhJG049671@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Sun Jun  1 05:25:42 2014
New Revision: 356038
URL: http://svnweb.freebsd.org/changeset/ports/356038
QAT: https://qat.redports.org/buildarchive/r356038/

Log:
  - Stage support

Modified:
  head/sysutils/wmcpuload/Makefile

Modified: head/sysutils/wmcpuload/Makefile
==============================================================================
--- head/sysutils/wmcpuload/Makefile	Sun Jun  1 05:25:29 2014	(r356037)
+++ head/sysutils/wmcpuload/Makefile	Sun Jun  1 05:25:42 2014	(r356038)
@@ -10,25 +10,26 @@ MASTER_SITES=	http://seiichisato.jp/dock
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406010525.s515PhJG049671>