Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2016 16:22:29 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412060 - in head/misc: . binclock binclock/files
Message-ID:  <201603281622.u2SGMTA6030703@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Mon Mar 28 16:22:29 2016
New Revision: 412060
URL: https://svnweb.freebsd.org/changeset/ports/412060

Log:
  Add new port: misc/binclock: A small CLI binary clock
  
  PR:		207406
  Submitted by:	dereckson@espace-win.org (maintainer)
  Reviewed by:	riggs

Added:
  head/misc/binclock/
  head/misc/binclock/Makefile   (contents, props changed)
  head/misc/binclock/distinfo   (contents, props changed)
  head/misc/binclock/files/
  head/misc/binclock/files/patch-Makefile   (contents, props changed)
  head/misc/binclock/pkg-descr   (contents, props changed)
Modified:
  head/misc/Makefile

Modified: head/misc/Makefile
==============================================================================
--- head/misc/Makefile	Mon Mar 28 16:17:48 2016	(r412059)
+++ head/misc/Makefile	Mon Mar 28 16:22:29 2016	(r412060)
@@ -23,6 +23,7 @@
     SUBDIR += bestfit
     SUBDIR += bibletime
     SUBDIR += biblical-curse
+    SUBDIR += binclock
     SUBDIR += biosfont-demos
     SUBDIR += birthday
     SUBDIR += bogosort

Added: head/misc/binclock/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/binclock/Makefile	Mon Mar 28 16:22:29 2016	(r412060)
@@ -0,0 +1,30 @@
+# Created by: Dereckson <dereckson@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	binclock
+DISTVERSION=	1.5
+CATEGORIES=	misc
+MASTER_SITES=	http://www.ngolde.de/download/
+
+MAINTAINER=	dereckson@gmail.com
+COMMENT=	CLI binary clock
+
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+PORTDOCS=	README
+PLIST_FILES=	bin/binclock etc/binclockrc man/man1/binclock.1.gz
+
+OPTIONS_DEFINE=	DOCS
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/binclock ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/binclockrc ${STAGEDIR}${PREFIX}/etc
+	${INSTALL_MAN} ${WRKSRC}/doc/binclock.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/binclock
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/misc/binclock/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/binclock/distinfo	Mon Mar 28 16:22:29 2016	(r412060)
@@ -0,0 +1,2 @@
+SHA256 (binclock-1.5.tar.gz) = 3b34033aef01771235e87848ddc92ef23dc2c989902f2ea1cb652b91e43f3df5
+SIZE (binclock-1.5.tar.gz) = 12301

Added: head/misc/binclock/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/binclock/files/patch-Makefile	Mon Mar 28 16:22:29 2016	(r412060)
@@ -0,0 +1,19 @@
+--- Makefile.orig	2004-07-24 16:13:19 UTC
++++ Makefile
+@@ -18,8 +18,6 @@
+ # Boston, MA  02111-1307, USA
+ #
+ 
+-CC = gcc
+-CFLAGS = -O2 -Wall --pedantic
+ BIN = binclock
+ SRC = ./src/binclock.c
+ INSPATH = /usr/local/bin/
+@@ -29,7 +27,6 @@ CONF = /etc/
+ 
+ all : $(MAINSRC)
+ 	$(CC) $(CFLAGS) -o $(BIN) $(SRC)
+-	strip $(SOURCEPATH)$(BIN)
+ 
+ install :
+ 

Added: head/misc/binclock/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/binclock/pkg-descr	Mon Mar 28 16:22:29 2016	(r412060)
@@ -0,0 +1,6 @@
+Binary clock to display time in binary format.
+
+It supports showing the time with eight different colors,
+and it can run a loop that prints the time every second.
+
+WWW: http://www.ngolde.de/binclock.html



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