pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/saytime A talking clock, by Jef Poskanzer.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ed593f1dd0a9
branches:  trunk
changeset: 496661:ed593f1dd0a9
user:      is <is%pkgsrc.org@localhost>
date:      Thu Jul 07 21:23:21 2005 +0000

description:
A talking clock, by Jef Poskanzer.

diffstat:

 time/saytime/Makefile         |  30 ++++++++++++++++++++++++++++++
 time/saytime/PLIST            |  36 ++++++++++++++++++++++++++++++++++++
 time/saytime/distinfo         |   7 +++++++
 time/saytime/patches/patch-aa |  36 ++++++++++++++++++++++++++++++++++++
 time/saytime/patches/patch-ab |  17 +++++++++++++++++
 5 files changed, 126 insertions(+), 0 deletions(-)

diffs (146 lines):

diff -r b4996b735f24 -r ed593f1dd0a9 time/saytime/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/saytime/Makefile     Thu Jul 07 21:23:21 2005 +0000
@@ -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@localhost
+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 -r b4996b735f24 -r ed593f1dd0a9 time/saytime/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/saytime/PLIST        Thu Jul 07 21:23:21 2005 +0000
@@ -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 -r b4996b735f24 -r ed593f1dd0a9 time/saytime/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/saytime/distinfo     Thu Jul 07 21:23:21 2005 +0000
@@ -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 -r b4996b735f24 -r ed593f1dd0a9 time/saytime/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/saytime/patches/patch-aa     Thu Jul 07 21:23:21 2005 +0000
@@ -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 -r b4996b735f24 -r ed593f1dd0a9 time/saytime/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/saytime/patches/patch-ab     Thu Jul 07 21:23:21 2005 +0000
@@ -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 );



Home | Main Index | Thread Index | Old Index