dclock port - X11 digital clock with alarm

This commit is contained in:
dugsong 1999-11-08 14:14:42 +00:00
parent 759e905db6
commit 7236512ab5
6 changed files with 63 additions and 0 deletions

36
x11/dclock/Makefile Normal file
View File

@ -0,0 +1,36 @@
# Makefile for: dclock
# Version required: pl4
# Date created: 15 Aug 1996
# Whom: David Leonard <leonard@dstc.edu.au>
#
# $FreeBSD: ports/x11-clocks/dclock/Makefile,v 1.9 1999/08/31 06:52:30 mharo Exp $
# $OpenBSD: Makefile,v 1.1.1.1 1999/11/08 14:14:42 dugsong Exp $
PKGNAME= dclock-pl4
CATEGORIES= x11
DISTNAME= dclock
EXTRACT_SUFX= .shar.Z
MASTER_SITES= ftp://ftp.x.org/R5contrib/
MAINTAINER= dugsong@monkey.org
USE_X11= yes
EXTRACT_CMD= ${GZIP_CMD}
EXTRACT_BEFORE_ARGS= -dc
EXTRACT_AFTER_ARGS= |sh -
NO_CONFIGURE= yes
NO_WRKSUBDIR= yes
ALL_TARGET= dclock
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dclock ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/dclock.man ${PREFIX}/man/man1/dclock.1
.include <bsd.port.mk>

1
x11/dclock/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (dclock.shar.Z) = c02279a04e7ca617b327bc4963920593

View File

@ -0,0 +1,18 @@
--- Makefile.orig Wed Nov 3 11:01:58 1999
+++ Makefile Wed Nov 3 11:03:52 1999
@@ -3,12 +3,12 @@
OBJS= Dclock.o dclock.o
HFILES= Dclock.h DclockP.h patchlevel.h
-CFLAGS= -O
-LDFLAGS=
+CFLAGS+= -I${X11BASE}/include
+LDFLAGS= -L${X11BASE}/lib
LIBS= -lXt -lX11
dclock: ${OBJS}
- cc ${LDFLAGS} ${OBJS} ${LIBS} -o dclock
+ cc -o dclock ${OBJS} ${LDFLAGS} ${LIBS}
clean: ; rm -f ${OBJS} core dclock

1
x11/dclock/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
digital clock with optional military time and alarm

5
x11/dclock/pkg/DESCR Normal file
View File

@ -0,0 +1,5 @@
This is a classic, simple, 7-segment X11 clock, which seems to work
reall well. It was on the suns at uni, and when I moved, I missed it
so much, I ported it!
--
leonard@dstc.edu.au

2
x11/dclock/pkg/PLIST Normal file
View File

@ -0,0 +1,2 @@
bin/dclock
man/man1/dclock.1