svn commit: r356038 - head/sysutils/wmcpuload

Martin Wilke miwi at FreeBSD.org
Sun Jun 1 05:25:43 UTC 2014


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 at 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>


More information about the svn-ports-all mailing list