1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Terminal based clock using ncurses.

WWW: http://github.com/xorg62/tty-clock/

PR:		ports/153822
Submitted by:	Eric Freeman <freebsdports@chillibear.com>
This commit is contained in:
Wen Heping 2011-01-10 02:17:16 +00:00
parent 71626d8804
commit 11299de94a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=267564
4 changed files with 45 additions and 0 deletions

View File

@ -888,6 +888,7 @@
SUBDIR += tren
SUBDIR += ts
SUBDIR += tss
SUBDIR += tty-clock
SUBDIR += ttyload
SUBDIR += tw_cli
SUBDIR += ua

View File

@ -0,0 +1,39 @@
# Ports collection makefile for: tty-clock
# Date created: 15 July 2010
# Whom: Eric Freeman <freebsdports@chillibear.com>
#
# $FreeBSD$
#
PORTNAME= tty-clock
PORTVERSION= 2.0.0
CATEGORIES= sysutils
MASTER_SITES= http://github.com/xorg62/${PORTNAME}/tarball/
DISTNAME= a82fd71
EXTRACT_SUFX= # none
MAINTAINER= freebsdports@chillibear.com
COMMENT= Terminal based clock
FETCH_ARGS= -pRr
WRKSRC= "${WRKDIR}/xorg62-${PORTNAME}-${DISTNAME}"
PLIST_FILES= bin/tty-clock
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/|${PREFIX}/|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS \+=|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|LDFLAGS =|LDFLAGS \+=|' ${WRKSRC}/Makefile
do-build:
cd ${WRKSRC} && ${MAKE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tty-clock ${PREFIX}/bin
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 900007
BROKEN= Core dumps on FreeBSD 9+
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
SHA256 (a82fd71) = 80fb9df9d257c73669c9363bc84823d9c42033e39f499d52abd74a698a4e5866
SIZE (a82fd71) = 5033

View File

@ -0,0 +1,3 @@
Terminal based clock using ncurses.
WWW: http://github.com/xorg62/tty-clock/