diff options
author | riggs <riggs@FreeBSD.org> | 2016-03-29 00:22:29 +0800 |
---|---|---|
committer | riggs <riggs@FreeBSD.org> | 2016-03-29 00:22:29 +0800 |
commit | bb074ad7adcd69887d530215f488029130222b1a (patch) | |
tree | 3d164ed63727427147b9ccbe2d001fbcba367e34 /misc/binclock | |
parent | 5884f389bc84f95428e3323a075ed9ed37769509 (diff) | |
download | freebsd-ports-gnome-bb074ad7adcd69887d530215f488029130222b1a.tar.gz freebsd-ports-gnome-bb074ad7adcd69887d530215f488029130222b1a.tar.zst freebsd-ports-gnome-bb074ad7adcd69887d530215f488029130222b1a.zip |
Add new port: misc/binclock: A small CLI binary clock
PR: 207406
Submitted by: dereckson@espace-win.org (maintainer)
Reviewed by: riggs
Diffstat (limited to 'misc/binclock')
-rw-r--r-- | misc/binclock/Makefile | 30 | ||||
-rw-r--r-- | misc/binclock/distinfo | 2 | ||||
-rw-r--r-- | misc/binclock/files/patch-Makefile | 19 | ||||
-rw-r--r-- | misc/binclock/pkg-descr | 6 |
4 files changed, 57 insertions, 0 deletions
diff --git a/misc/binclock/Makefile b/misc/binclock/Makefile new file mode 100644 index 000000000000..735cd7d1f7bb --- /dev/null +++ b/misc/binclock/Makefile @@ -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> diff --git a/misc/binclock/distinfo b/misc/binclock/distinfo new file mode 100644 index 000000000000..53e248281dfc --- /dev/null +++ b/misc/binclock/distinfo @@ -0,0 +1,2 @@ +SHA256 (binclock-1.5.tar.gz) = 3b34033aef01771235e87848ddc92ef23dc2c989902f2ea1cb652b91e43f3df5 +SIZE (binclock-1.5.tar.gz) = 12301 diff --git a/misc/binclock/files/patch-Makefile b/misc/binclock/files/patch-Makefile new file mode 100644 index 000000000000..b04c59765fbf --- /dev/null +++ b/misc/binclock/files/patch-Makefile @@ -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 : + diff --git a/misc/binclock/pkg-descr b/misc/binclock/pkg-descr new file mode 100644 index 000000000000..657cbd4e556d --- /dev/null +++ b/misc/binclock/pkg-descr @@ -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 |