aboutsummaryrefslogtreecommitdiff
path: root/sysutils/tty-clock
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2011-01-10 02:17:16 +0000
committerWen Heping <wen@FreeBSD.org>2011-01-10 02:17:16 +0000
commit11299de94ab896752e64591a162a5a2cbe54fed0 (patch)
tree2d417e162f999f6671729de177e81072e8553b9f /sysutils/tty-clock
parent71626d880462d3e3a7c9d66ba7e32e56fdc06c77 (diff)
downloadports-11299de94ab896752e64591a162a5a2cbe54fed0.tar.gz
ports-11299de94ab896752e64591a162a5a2cbe54fed0.zip
Terminal based clock using ncurses.
WWW: http://github.com/xorg62/tty-clock/ PR: ports/153822 Submitted by: Eric Freeman <freebsdports@chillibear.com>
Notes
Notes: svn path=/head/; revision=267564
Diffstat (limited to 'sysutils/tty-clock')
-rw-r--r--sysutils/tty-clock/Makefile39
-rw-r--r--sysutils/tty-clock/distinfo2
-rw-r--r--sysutils/tty-clock/pkg-descr3
3 files changed, 44 insertions, 0 deletions
diff --git a/sysutils/tty-clock/Makefile b/sysutils/tty-clock/Makefile
new file mode 100644
index 000000000000..d4397753b1fe
--- /dev/null
+++ b/sysutils/tty-clock/Makefile
@@ -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>
diff --git a/sysutils/tty-clock/distinfo b/sysutils/tty-clock/distinfo
new file mode 100644
index 000000000000..9b6e9b353968
--- /dev/null
+++ b/sysutils/tty-clock/distinfo
@@ -0,0 +1,2 @@
+SHA256 (a82fd71) = 80fb9df9d257c73669c9363bc84823d9c42033e39f499d52abd74a698a4e5866
+SIZE (a82fd71) = 5033
diff --git a/sysutils/tty-clock/pkg-descr b/sysutils/tty-clock/pkg-descr
new file mode 100644
index 000000000000..68e387b000ef
--- /dev/null
+++ b/sysutils/tty-clock/pkg-descr
@@ -0,0 +1,3 @@
+Terminal based clock using ncurses.
+
+WWW: http://github.com/xorg62/tty-clock/