Date: Tue, 17 Dec 2013 18:30:48 +0000 (UTC) From: Dennis Herrmann <dhn@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336751 - in head/sysutils/ttyload: . files Message-ID: <201312171830.rBHIUmdR090597@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dhn Date: Tue Dec 17 18:30:47 2013 New Revision: 336751 URL: http://svnweb.freebsd.org/changeset/ports/336751 Log: - Update to 0.5.3 - Add manual - Add stage support of ports - Minor changes of Makefile PR: ports/184261 Submitted by: Hung-Yi Chen <gaod@hychen.org> Added: head/sysutils/ttyload/files/patch-ttyload.h (contents, props changed) Modified: head/sysutils/ttyload/Makefile head/sysutils/ttyload/distinfo Modified: head/sysutils/ttyload/Makefile ============================================================================== --- head/sysutils/ttyload/Makefile Tue Dec 17 18:19:46 2013 (r336750) +++ head/sysutils/ttyload/Makefile Tue Dec 17 18:30:47 2013 (r336751) @@ -2,11 +2,9 @@ # $FreeBSD$ PORTNAME= ttyload -PORTVERSION= 0.5.2 -PORTREVISION= 1 +PORTVERSION= 0.5.3 CATEGORIES= sysutils -MASTER_SITES= http://www.daveltd.com/src/util/ttyload/ \ - http://mirror.mcx2.org/ +MASTER_SITES= http://www.daveltd.com/src/util/ttyload/ MAINTAINER= dhn@FreeBSD.org COMMENT= Give a color-coded graph of load averages over time @@ -15,20 +13,17 @@ ALL_TARGET= default USE_BZIP2= yes PLIST_FILES= bin/ttyload -PORTDOCS= * -SUB_FILES= pkg-message +MAN1= ttyload.1 -NO_STAGE= yes -post-install: -.if !defined(NOPORTDOCS) - @${ECHO_MSG} "Installing additional documentation to ${DOCSDIR}" - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README - ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}/LICENSE -.endif +.include <bsd.port.pre.mk> - @${ECHO_MSG} "" - @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} "" +do-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/README + ${INSTALL_DATA} ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR}/LICENSE +.endif + ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${STAGEDIR}${MANPREFIX}/man/man1/ + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ -.include <bsd.port.mk> +.include <bsd.port.post.mk> Modified: head/sysutils/ttyload/distinfo ============================================================================== --- head/sysutils/ttyload/distinfo Tue Dec 17 18:19:46 2013 (r336750) +++ head/sysutils/ttyload/distinfo Tue Dec 17 18:30:47 2013 (r336751) @@ -1,2 +1,2 @@ -SHA256 (ttyload-0.5.2.tar.bz2) = 4783f6f44a59e554b0f31ab7940b9112123e8eef71b85d2cbad5d4275ba8dd44 -SIZE (ttyload-0.5.2.tar.bz2) = 14649 +SHA256 (ttyload-0.5.3.tar.bz2) = 7d3147b22530e6de865279aaad8b9e0348575379413ed1a2d410257baf92d783 +SIZE (ttyload-0.5.3.tar.bz2) = 15039 Added: head/sysutils/ttyload/files/patch-ttyload.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/ttyload/files/patch-ttyload.h Tue Dec 17 18:30:47 2013 (r336751) @@ -0,0 +1,11 @@ +--- ttyload.h.orig 2013-11-24 00:51:20.729533285 +0800 ++++ ttyload.h 2013-11-24 00:51:29.900534853 +0800 +@@ -8,6 +8,8 @@ + * + */ + ++#include <time.h> ++ + #define MIN(a,b) (((a)<(b))?(a):(b)) + #define MAX(a,b) (((a)>(b))?(a):(b)) +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312171830.rBHIUmdR090597>