mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
- 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>
This commit is contained in:
parent
8c39ca03b5
commit
3750d2b399
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336751
@ -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
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
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/
|
||||
|
||||
@${ECHO_MSG} ""
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG} ""
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -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
|
||||
|
11
sysutils/ttyload/files/patch-ttyload.h
Normal file
11
sysutils/ttyload/files/patch-ttyload.h
Normal file
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user