Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jan 2011 18:00:31 GMT
From:      Eric Freeman <freebsdports@chillibear.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/153822: New port: sysutils/tty-clock (ncurses console clock)
Message-ID:  <201101091800.p09I0VTN002185@red.freebsd.org>
Resent-Message-ID: <201101091810.p09IA7Hp073479@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         153822
>Category:       ports
>Synopsis:       New port: sysutils/tty-clock  (ncurses console clock)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 09 18:10:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Eric Freeman
>Release:        7.2
>Organization:
>Environment:
>Description:
Nice little ncurses based terminal clock.

I've noticed it seems to currently coredump on FreeBSD 9, I'll see if I can fix that with a future patch, but I'm happily using it on my 7 and 8 boxes with no problems so would like to get it in the system now.


>How-To-Repeat:
na
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	tty-clock/
#	tty-clock/distinfo
#	tty-clock/Makefile
#	tty-clock/pkg-descr
#
echo c - tty-clock/
mkdir -p tty-clock/ > /dev/null 2>&1
echo x - tty-clock/distinfo
sed 's/^X//' >tty-clock/distinfo << '6b30acf0f55616f6f9ebd2abc785abb6'
XSHA256 (a82fd71) = 80fb9df9d257c73669c9363bc84823d9c42033e39f499d52abd74a698a4e5866
XSIZE (a82fd71) = 5033
6b30acf0f55616f6f9ebd2abc785abb6
echo x - tty-clock/Makefile
sed 's/^X//' >tty-clock/Makefile << 'cc867306958d95ba86628351a47079e1'
X# Ports collection makefile for:	tty-clock
X# Date created:				15 July 2010
X# Whom:					Eric Freeman <freebsdports@chillibear.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		tty-clock
XPORTVERSION=		2.0.0
XCATEGORIES=		sysutils
XMASTER_SITES=		http://github.com/xorg62/${PORTNAME}/tarball/
XDISTNAME=		a82fd71
XEXTRACT_SUFX=		# none
X
XMAINTAINER=		freebsdports@chillibear.com
XCOMMENT=		Terminal based clock
X
XFETCH_ARGS=		-pRr
XWRKSRC=			"${WRKDIR}/xorg62-${PORTNAME}-${DISTNAME}"
XPLIST_FILES=		bin/tty-clock
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|/usr/local/|${PREFIX}/|' ${WRKSRC}/Makefile
X	@${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS \+=|' ${WRKSRC}/Makefile
X	@${REINPLACE_CMD} -e 's|LDFLAGS =|LDFLAGS \+=|' ${WRKSRC}/Makefile
X
Xdo-build:
X	cd ${WRKSRC} && ${MAKE}
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/tty-clock ${PREFIX}/bin
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} > 900007
XBROKEN=	Core dumps on FreeBSD 9+
X.endif
X
X.include <bsd.port.post.mk>
cc867306958d95ba86628351a47079e1
echo x - tty-clock/pkg-descr
sed 's/^X//' >tty-clock/pkg-descr << '4cea0106a6c8c4d139b692e1f877a1cb'
XTerminal based clock using ncurses.
X
XAUTHOR: Martin Duquesnoy
XWWW: http://github.com/xorg62/tty-clock/
4cea0106a6c8c4d139b692e1f877a1cb
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



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