summaryrefslogtreecommitdiff
path: root/misc/elizatalk
diff options
context:
space:
mode:
authorjlam <jlam>2003-03-01 13:02:09 +0000
committerjlam <jlam>2003-03-01 13:02:09 +0000
commitd2584960c0b0a102a3ac033d3dc4c204decca6e8 (patch)
tree5cdcbdb8d2090d9f2d67c6f867ed686186d7eb35 /misc/elizatalk
parent665506cf0a89b311e9e74740176eaa501d05a902 (diff)
downloadpkgsrc-d2584960c0b0a102a3ac033d3dc4c204decca6e8.tar.gz
Initial import of elizatalk-0.4.
Elizatalk is a talkback program for a chat program that allows you to let your friends talk interactively to your autoresponder. Some people may even think they are actually talking to you.. :-).
Diffstat (limited to 'misc/elizatalk')
-rw-r--r--misc/elizatalk/DESCR3
-rw-r--r--misc/elizatalk/Makefile14
-rw-r--r--misc/elizatalk/PLIST131
-rw-r--r--misc/elizatalk/distinfo6
-rw-r--r--misc/elizatalk/patches/patch-aa38
-rw-r--r--misc/elizatalk/patches/patch-ab20
6 files changed, 212 insertions, 0 deletions
diff --git a/misc/elizatalk/DESCR b/misc/elizatalk/DESCR
new file mode 100644
index 00000000000..cfe25bc4dca
--- /dev/null
+++ b/misc/elizatalk/DESCR
@@ -0,0 +1,3 @@
+Elizatalk is a talkback program for a chat program that allows you to let
+your friends talk interactively to your autoresponder. Some people may
+even think they are actually talking to you.. :-).
diff --git a/misc/elizatalk/Makefile b/misc/elizatalk/Makefile
new file mode 100644
index 00000000000..f876235b4af
--- /dev/null
+++ b/misc/elizatalk/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/03/01 13:02:09 jlam Exp $
+
+DISTNAME= elizatalk-0.4
+WRKSRC= ${WRKDIR}/elizatalk-src
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=elizatalk/}
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://elizatalk.sourceforge.net/
+COMMENT= Eliza talkback program
+
+USE_GMAKE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/elizatalk/PLIST b/misc/elizatalk/PLIST
new file mode 100644
index 00000000000..b704d2bbed0
--- /dev/null
+++ b/misc/elizatalk/PLIST
@@ -0,0 +1,131 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/03/01 13:02:10 jlam Exp $
+bin/elizatalk
+share/elizatalk/main.dict
+share/elizatalk/syn.dict
+share/elizatalk/words/adj.w
+share/elizatalk/words/affirmative.w
+share/elizatalk/words/aggies.w
+share/elizatalk/words/alive.w
+share/elizatalk/words/amiga.w
+share/elizatalk/words/animal.w
+share/elizatalk/words/apol.w
+share/elizatalk/words/aussie.w
+share/elizatalk/words/bored.w
+share/elizatalk/words/bot.w
+share/elizatalk/words/bye.w
+share/elizatalk/words/canada.w
+share/elizatalk/words/class.w
+share/elizatalk/words/color.w
+share/elizatalk/words/comment.w
+share/elizatalk/words/computer.w
+share/elizatalk/words/condition.w
+share/elizatalk/words/confused.w
+share/elizatalk/words/cool.w
+share/elizatalk/words/doctor.w
+share/elizatalk/words/dont.w
+share/elizatalk/words/dow.w
+share/elizatalk/words/drink.w
+share/elizatalk/words/drugs.w
+share/elizatalk/words/drunk.w
+share/elizatalk/words/eat.w
+share/elizatalk/words/food.w
+share/elizatalk/words/funny.w
+share/elizatalk/words/games.w
+share/elizatalk/words/gender.w
+share/elizatalk/words/germany.w
+share/elizatalk/words/give.w
+share/elizatalk/words/greet.w
+share/elizatalk/words/hacking.w
+share/elizatalk/words/have.w
+share/elizatalk/words/help.w
+share/elizatalk/words/how_many.w
+share/elizatalk/words/i_forgot.w
+share/elizatalk/words/ibm.w
+share/elizatalk/words/insult.w
+share/elizatalk/words/irc.w
+share/elizatalk/words/italy.w
+share/elizatalk/words/item.w
+share/elizatalk/words/jail.w
+share/elizatalk/words/japan.w
+share/elizatalk/words/know.w
+share/elizatalk/words/korea.w
+share/elizatalk/words/lag.w
+share/elizatalk/words/lame.w
+share/elizatalk/words/life.w
+share/elizatalk/words/like.w
+share/elizatalk/words/liquid.w
+share/elizatalk/words/maybe.w
+share/elizatalk/words/meet.w
+share/elizatalk/words/mexico.w
+share/elizatalk/words/money.w
+share/elizatalk/words/month.w
+share/elizatalk/words/music.w
+share/elizatalk/words/name.w
+share/elizatalk/words/nasty.w
+share/elizatalk/words/nationality.w
+share/elizatalk/words/negative.w
+share/elizatalk/words/net.w
+share/elizatalk/words/neutral.w
+share/elizatalk/words/new.w
+share/elizatalk/words/no.w
+share/elizatalk/words/number.w
+share/elizatalk/words/ok.w
+share/elizatalk/words/one_liner.w
+share/elizatalk/words/party.w
+share/elizatalk/words/phrack.w
+share/elizatalk/words/phreak.w
+share/elizatalk/words/place.w
+share/elizatalk/words/please.w
+share/elizatalk/words/profession.w
+share/elizatalk/words/race.w
+share/elizatalk/words/ramble.w
+share/elizatalk/words/religion.w
+share/elizatalk/words/response.w
+share/elizatalk/words/school.w
+share/elizatalk/words/secret.w
+share/elizatalk/words/sex.w
+share/elizatalk/words/sick.w
+share/elizatalk/words/sleep.w
+share/elizatalk/words/smoke.w
+share/elizatalk/words/sorry.w
+share/elizatalk/words/sports.w
+share/elizatalk/words/talk.w
+share/elizatalk/words/tell.w
+share/elizatalk/words/texas.w
+share/elizatalk/words/they_are.w
+share/elizatalk/words/they_do.w
+share/elizatalk/words/they_dont.w
+share/elizatalk/words/they_have.w
+share/elizatalk/words/they_not.w
+share/elizatalk/words/theyhavent.w
+share/elizatalk/words/thought.w
+share/elizatalk/words/time.w
+share/elizatalk/words/trek.w
+share/elizatalk/words/unix.w
+share/elizatalk/words/unix_hack.w
+share/elizatalk/words/verb_present.w
+share/elizatalk/words/vms.w
+share/elizatalk/words/want.w
+share/elizatalk/words/was.w
+share/elizatalk/words/weather.w
+share/elizatalk/words/welcome.w
+share/elizatalk/words/were.w
+share/elizatalk/words/what.w
+share/elizatalk/words/what_do.w
+share/elizatalk/words/what_one.w
+share/elizatalk/words/when.w
+share/elizatalk/words/whenf.w
+share/elizatalk/words/whenp.w
+share/elizatalk/words/where.w
+share/elizatalk/words/where_are.w
+share/elizatalk/words/which.w
+share/elizatalk/words/who.w
+share/elizatalk/words/who_is.w
+share/elizatalk/words/why.w
+share/elizatalk/words/why_is.w
+share/elizatalk/words/work.w
+share/elizatalk/words/x25.w
+share/elizatalk/words/yes.w
+share/elizatalk/words/you_forgot.w
+@dirrm share/elizatalk/words
+@dirrm share/elizatalk
diff --git a/misc/elizatalk/distinfo b/misc/elizatalk/distinfo
new file mode 100644
index 00000000000..4a72e19a066
--- /dev/null
+++ b/misc/elizatalk/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/03/01 13:02:10 jlam Exp $
+
+SHA1 (elizatalk-0.4.tar.gz) = 8d5d1931fcd3d014b63d27d1c893661941800f84
+Size (elizatalk-0.4.tar.gz) = 116369 bytes
+SHA1 (patch-aa) = 4c8e1702707636cc3ef516b1a9a26f743d8b5f39
+SHA1 (patch-ab) = e3eac085d8a410771b8ce97079decaa0a656cc45
diff --git a/misc/elizatalk/patches/patch-aa b/misc/elizatalk/patches/patch-aa
new file mode 100644
index 00000000000..8b0d1b5f48a
--- /dev/null
+++ b/misc/elizatalk/patches/patch-aa
@@ -0,0 +1,38 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/03/01 13:02:10 jlam Exp $
+
+--- Makefile.orig Mon Oct 23 03:27:20 2000
++++ Makefile
+@@ -1,10 +1,11 @@
+-CXXFLAGS=-O2 # flags for compiler
+-LDFLAGS=-Xlinker -R/usr/ucblib:/usr/local/lib # linker flags
+-LDLIBS=-L/usr/local/lib -Itbcc # linker libraries
+-CXX=gcc # C compiler
+-CC=gcc # linker
+-INSTALLDIR=/usr/bin# installation dir of Elizatalk (be sure there is no space between the dir and the #)
+-INSTALLDIRDICT=/usr/share/elizatalk# installation dir of the dictionaries (be sure there is no space between the dir and the #)
++#CXXFLAGS=-O2 # flags for compiler
++#LDFLAGS=-Xlinker -R/usr/ucblib:/usr/local/lib # linker flags
++#LDLIBS=-L/usr/local/lib -Itbcc # linker libraries
++#CXX=gcc # C compiler
++#CC=gcc # linker
++CFLAGS+=-DELIZADIR=\"${PREFIX}/share/elizatalk\"
++INSTALLDIR=${PREFIX}/bin# installation dir of Elizatalk (be sure there is no space between the dir and the #)
++INSTALLDIRDICT=${PREFIX}/share/elizatalk# installation dir of the dictionaries (be sure there is no space between the dir and the #)
+
+ SOURCES=elizatalk.c \
+ splotch.c
+@@ -20,10 +21,10 @@ make.depend:$(SOURCES)
+ $(CC) -M $^ >$@
+
+ install:all
+- install -m 775 -s elizatalk $(INSTALLDIR)
+- install -d $(INSTALLDIRDICT)/words
+- install -m 666 main.dict syn.dict $(INSTALLDIRDICT)
+- install -m 666 words/* $(INSTALLDIRDICT)/words
++ ${BSD_INSTALL_PROGRAM} elizatalk $(INSTALLDIR)
++ ${BSD_INSTALL_DATA_DIR} $(INSTALLDIRDICT)/words
++ ${BSD_INSTALL_DATA} main.dict syn.dict $(INSTALLDIRDICT)
++ ${BSD_INSTALL_DATA} words/* $(INSTALLDIRDICT)/words
+
+ uninstall: clean
+ rm -f $(INSTALLDIR)/elizatalk
diff --git a/misc/elizatalk/patches/patch-ab b/misc/elizatalk/patches/patch-ab
new file mode 100644
index 00000000000..72f28650921
--- /dev/null
+++ b/misc/elizatalk/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/03/01 13:02:11 jlam Exp $
+
+--- splotch.c.orig Mon Oct 23 04:37:56 2000
++++ splotch.c
+@@ -17,9 +17,12 @@
+ #define NAME "Eliza" /* name of robot */
+ #define SP_HIST 4 /* number of slots in old key queue */
+ #define TEMPLSIZ 2000 /* maximum number of templates */
+-#define DICTFILE "/usr/share/elizatalk/main.dict" /* name of dictionary file */
+-#define SYNFILE "/usr/share/elizatalk/syn.dict" /* name of dictionary file */
+-#define WORDSDIR "/usr/share/elizatalk/words" /* name of words directory without '/' at the end*/
++#ifndef ELIZADIR
++#define ELIZADIR "/usr/share/elizatalk"
++#endif
++#define DICTFILE ELIZADIR "/main.dict" /* name of dictionary file */
++#define SYNFILE ELIZADIR "/syn.dict" /* name of dictionary file */
++#define WORDSDIR ELIZADIR "/words" /* name of words directory without '/' at the end*/
+ #define DEBUG 0 /* debug flag */
+ #define VERBOSE 0 /* verbose errors */
+ #define DEB 0