diff options
author | is <is@pkgsrc.org> | 2005-07-07 21:23:21 +0000 |
---|---|---|
committer | is <is@pkgsrc.org> | 2005-07-07 21:23:21 +0000 |
commit | 3ba1e85acac794c1fa9ad154f13b1455a5c116eb (patch) | |
tree | cf21e493c9bbd33a96779a3e8e79b8da5f526c27 | |
parent | c6586b1cc39aa1f58552fc68d78e332b63d8c808 (diff) | |
download | pkgsrc-3ba1e85acac794c1fa9ad154f13b1455a5c116eb.tar.gz |
A talking clock, by Jef Poskanzer.
-rw-r--r-- | time/saytime/DESCR | 0 | ||||
-rw-r--r-- | time/saytime/Makefile | 30 | ||||
-rw-r--r-- | time/saytime/PLIST | 36 | ||||
-rw-r--r-- | time/saytime/distinfo | 7 | ||||
-rw-r--r-- | time/saytime/patches/patch-aa | 36 | ||||
-rw-r--r-- | time/saytime/patches/patch-ab | 17 |
6 files changed, 126 insertions, 0 deletions
diff --git a/time/saytime/DESCR b/time/saytime/DESCR new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/time/saytime/DESCR diff --git a/time/saytime/Makefile b/time/saytime/Makefile new file mode 100644 index 00000000000..e92dac3b3e8 --- /dev/null +++ b/time/saytime/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/07/07 21:23:21 is Exp $ +# + +DISTNAME= saytime_11nov1995 +EXTRACT_SUFX= .tar.gz +PKGNAME= saytime-19951111 +CATEGORIES= time audio +MASTER_SITES= http://www.acme.com/software/saytime/ + +ONLY_FOR_PLATFORM= NetBSD-*-* OpenBSD-*-* SunOS-*-* + +MAINTAINER= is@netbsd.org +HOMEPAGE= http://www.acme.com/software/saytime/ +COMMENT= a talking clock + +WRKSRC= ${WRKDIR}/saytime + +.include "../../mk/bsd.prefs.mk" + +pre-configure: + ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.template + ${SED} -e 's|@LOCALBASE@|${LOCALBASE}|' \ + ${WRKSRC}/Makefile.template > ${WRKSRC}/Makefile + + +post-install: + ${INSTALL_DATA_DIR} ${LOCALBASE}/share/saytime + cd ${WRKSRC}/times && ${PAX} -rw * ${LOCALBASE}/share/saytime/ + +.include "../../mk/bsd.pkg.mk" diff --git a/time/saytime/PLIST b/time/saytime/PLIST new file mode 100644 index 00000000000..dd68ac4d942 --- /dev/null +++ b/time/saytime/PLIST @@ -0,0 +1,36 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/07/07 21:23:21 is Exp $ +bin/saytime +man/man1/saytime.1 +share/saytime +share/saytime/exactly.ulaw +share/saytime/1.ulaw +share/saytime/10.ulaw +share/saytime/11.ulaw +share/saytime/12.ulaw +share/saytime/13.ulaw +share/saytime/14.ulaw +share/saytime/15.ulaw +share/saytime/16.ulaw +share/saytime/17.ulaw +share/saytime/18.ulaw +share/saytime/19.ulaw +share/saytime/2.ulaw +share/saytime/20.ulaw +share/saytime/3.ulaw +share/saytime/30.ulaw +share/saytime/4.ulaw +share/saytime/40.ulaw +share/saytime/5.ulaw +share/saytime/50.ulaw +share/saytime/6.ulaw +share/saytime/7.ulaw +share/saytime/8.ulaw +share/saytime/9.ulaw +share/saytime/and.ulaw +share/saytime/the_time_is.ulaw +share/saytime/index.html +share/saytime/oclock.ulaw +share/saytime/oh.ulaw +share/saytime/second.ulaw +share/saytime/seconds.ulaw +@dirrm share/saytime diff --git a/time/saytime/distinfo b/time/saytime/distinfo new file mode 100644 index 00000000000..888bb0c9701 --- /dev/null +++ b/time/saytime/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/07/07 21:23:21 is Exp $ + +SHA1 (saytime_11nov1995.tar.gz) = 0deae40ee1c4f128a75d93bc0d9d7cf61c6c757b +RMD160 (saytime_11nov1995.tar.gz) = c5b4193f4ccabcf75da59e0019e2a73673576d06 +Size (saytime_11nov1995.tar.gz) = 104245 bytes +SHA1 (patch-aa) = 6d644e2a8de98357d33987a2f3f375c862da81b4 +SHA1 (patch-ab) = 764f5d214742d450e18b6e83555ba806979fefa5 diff --git a/time/saytime/patches/patch-aa b/time/saytime/patches/patch-aa new file mode 100644 index 00000000000..283887be9e8 --- /dev/null +++ b/time/saytime/patches/patch-aa @@ -0,0 +1,36 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/07/07 21:23:21 is Exp $ + +--- Makefile.orig 1995-11-11 20:39:27.000000000 +0100 ++++ Makefile +@@ -1,16 +1,13 @@ + # Makefile for saytime + +-#SOUND_DIR = \"/usr/local/lib/saytime\" +-SOUND_DIR = \"/jef/times\" +-#SOUND_DIR = \"/home/ee/u0/jef/web/times\" ++SOUND_DIR = \"@LOCALBASE@/share/saytime\" + +-#BINDIR = /usr/local/bin +-BINDIR = /home/ee/u0/www/bin ++BINDIR = @LOCALBASE@/bin + +-MANDIR = /usr/local/man/man1 ++MANDIR = @LOCALBASE@/man/man1 + +-#DEFINES = -DSOUND_DIR=$(SOUND_DIR) +-DEFINES = -DSOUND_DIR=$(SOUND_DIR) -DCGI ++DEFINES = -DSOUND_DIR=$(SOUND_DIR) ++#DEFINES = -DSOUND_DIR=$(SOUND_DIR) -DCGI + #DEFINES = -DSOUND_DIR=$(SOUND_DIR) -DWRITE_STDOUT -DAUDIO_HEADER + #DEFINES = -DSOUND_DIR=$(SOUND_DIR) -DWRITE_STDOUT + +@@ -18,8 +15,7 @@ DEFINES = -DSOUND_DIR=$(SOUND_DIR) -DCGI + CC = gcc + CFLAGS = -O $(DEFINES) + +-#LDFLAGS = -s +-LDFLAGS = -s -static ++LDFLAGS = -s + + all: saytime + diff --git a/time/saytime/patches/patch-ab b/time/saytime/patches/patch-ab new file mode 100644 index 00000000000..4fb78535286 --- /dev/null +++ b/time/saytime/patches/patch-ab @@ -0,0 +1,17 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/07/07 21:23:21 is Exp $ + +--- saytime.c.orig 1995-11-11 02:04:52.000000000 +0100 ++++ saytime.c +@@ -497,10 +497,10 @@ saynumber( int n, int leadingzero ) + + main( int argc, char* argv ) + { +- long clock; ++ time_t clock; + struct tm* t; + +- clock = time( (long*) 0 ); ++ clock = time( 0 ); + t = localtime( &clock ); + + sayphrase( PH_THE_TIME_IS ); |