diff options
author | dhn <dhn@FreeBSD.org> | 2013-12-18 02:30:47 +0800 |
---|---|---|
committer | dhn <dhn@FreeBSD.org> | 2013-12-18 02:30:47 +0800 |
commit | 7eb2b072a565817db1bd5930dff23251f156bf95 (patch) | |
tree | 53f14d9ac6e0082faa67aacecaa030b36951dbd3 /sysutils | |
parent | 04a02f960b0bd069a7f44f1d581a63bf55a74516 (diff) | |
download | freebsd-ports-gnome-7eb2b072a565817db1bd5930dff23251f156bf95.tar.gz freebsd-ports-gnome-7eb2b072a565817db1bd5930dff23251f156bf95.tar.zst freebsd-ports-gnome-7eb2b072a565817db1bd5930dff23251f156bf95.zip |
- 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>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/ttyload/Makefile | 31 | ||||
-rw-r--r-- | sysutils/ttyload/distinfo | 4 | ||||
-rw-r--r-- | sysutils/ttyload/files/patch-ttyload.h | 11 |
3 files changed, 26 insertions, 20 deletions
diff --git a/sysutils/ttyload/Makefile b/sysutils/ttyload/Makefile index 7d37d2506842..4f8a67b270d8 100644 --- a/sysutils/ttyload/Makefile +++ b/sysutils/ttyload/Makefile @@ -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> diff --git a/sysutils/ttyload/distinfo b/sysutils/ttyload/distinfo index c9b8b5091f4a..ad784b9cceba 100644 --- a/sysutils/ttyload/distinfo +++ b/sysutils/ttyload/distinfo @@ -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 diff --git a/sysutils/ttyload/files/patch-ttyload.h b/sysutils/ttyload/files/patch-ttyload.h new file mode 100644 index 000000000000..5d2b817f9fc8 --- /dev/null +++ b/sysutils/ttyload/files/patch-ttyload.h @@ -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)) + |