From fc56a577dfc4ebeea384194cdba6574baf72337a Mon Sep 17 00:00:00 2001 From: Ade Lovett Date: Sun, 17 Sep 2000 18:36:01 +0000 Subject: [PATCH] Update to version 1.82 PR: 20991 Submitted by: Park, JongHwan --- net/tintin++-devel/Makefile | 18 ++- net/tintin++-devel/distinfo | 2 +- net/tintin++-devel/files/patch-aa | 168 +++--------------------- net/tintin++-devel/files/patch-ab | 205 +++++------------------------- net/tintin++-devel/pkg-descr | 14 +- net/tintin++-devel/pkg-plist | 14 ++ net/tintin++/Makefile | 18 ++- net/tintin++/distinfo | 2 +- net/tintin++/pkg-descr | 14 +- net/tintin++/pkg-plist | 14 ++ 10 files changed, 121 insertions(+), 348 deletions(-) diff --git a/net/tintin++-devel/Makefile b/net/tintin++-devel/Makefile index 7188e18bcaa2..7b75c2809bbf 100644 --- a/net/tintin++-devel/Makefile +++ b/net/tintin++-devel/Makefile @@ -6,17 +6,23 @@ # PORTNAME= tintin -PORTVERSION= 1.5.6 +PORTVERSION= 1.8.2 CATEGORIES= net games -MASTER_SITES= ftp://ftp.walrus.com/pub/avatar/clients/ \ - ftp://ftp.cctpu.edu.ru/pub/comp/networking/mud/ \ - ftp://iclub.nsu.ru/pub/mud/clients/tintin++/ -DISTNAME= tintin++v1.5pl6 -EXTRACT_SUFX= .tar.Z +MASTER_SITES= http://mail.newclear.net/tintin/download/ +DISTNAME= tintin++v1.82 MAINTAINER= ports@FreeBSD.org WRKSRC= ${WRKDIR}/tintin++/src GNU_CONFIGURE= yes +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/tt++ ${PREFIX}/bin + ${MKDIR} ${PREFIX}/lib/tintin + ${INSTALL_DATA} ${WRKSRC}/support/.tt_help.txt.Z ${PREFIX}/lib/tintin + ${MKDIR} ${PREFIX}/share/doc/tintin + ${INSTALL_DATA} ${WRKSRC}/support/.tintinrc ${PREFIX}/share/doc/tintin/tintinrc + ${INSTALL_DATA} ${WRKSRC}/../chat.conf ${PREFIX}/share/doc/tintin/chat.conf.example + cd ${WRKSRC}/.. ; ${INSTALL_DATA} CHANGES FAQ CREDITS README docs/* ${PREFIX}/share/doc/tintin + .include diff --git a/net/tintin++-devel/distinfo b/net/tintin++-devel/distinfo index cf0255698251..f300c5cf4edf 100644 --- a/net/tintin++-devel/distinfo +++ b/net/tintin++-devel/distinfo @@ -1 +1 @@ -MD5 (tintin++v1.5pl6.tar.Z) = 35e53d661606d035c3e92a249e44160f +MD5 (tintin++v1.82.tar.gz) = 8817be7ba82283f507953f17ef4d7743 diff --git a/net/tintin++-devel/files/patch-aa b/net/tintin++-devel/files/patch-aa index 76295f0429c0..0d0e2f66106f 100644 --- a/net/tintin++-devel/files/patch-aa +++ b/net/tintin++-devel/files/patch-aa @@ -1,160 +1,26 @@ -*** Makefile.in.orig Fri Sep 9 19:35:20 1994 ---- Makefile.in Tue Nov 15 02:07:48 1994 +*** Makefile.in.orig Thu Jul 20 11:46:17 2000 +--- Makefile.in Sat Sep 2 09:14:06 2000 *************** -*** 10,17 **** - # try uncommenting the 'gcc' line and commenting the 'cc' one. - # Tintin++ doesn't *need* an ANSI compiler anymore, but gcc - # is still better than cc on many platforms... -! CC = @CC@ -O -! CFLAGS = @DEFS@ - LIBS = @LIBS@ - PIPE = @PIPE@ - # If you plan on doing debugging (with gdb), it is very helpful to turn all ---- 10,16 ---- - # try uncommenting the 'gcc' line and commenting the 'cc' one. - # Tintin++ doesn't *need* an ANSI compiler anymore, but gcc - # is still better than cc on many platforms... -! CFLAGS += @DEFS@ - LIBS = @LIBS@ - PIPE = @PIPE@ - # If you plan on doing debugging (with gdb), it is very helpful to turn all -*************** -*** 22,31 **** +*** 9,19 **** - # BINDIR is the directory you wish tt++ to be placed if you wish to use - # make install. -! BINDIR = .. + DEFINES = -D_GNU_SOURCE @DEFS@ - # DEFAULT_FILE_DIR is the path to tintin files. -! DEFAULT_FILE_DIR = @HOME@ +- CC = @CC@ + MAKE = @MAKE@ - ######################################### - # You shouldn't need to change anything # ---- 21,30 ---- + #this is the standard CFLAGS options, this is what most people should use +! CFLAGS = -O2 $(DEFINES) - # BINDIR is the directory you wish tt++ to be placed if you wish to use - # make install. -! BINDIR = /usr/local/bin + #this is the debugging CFLAGS options, should only be used if you want to + #debug/code tintin +--- 9,18 ---- - # DEFAULT_FILE_DIR is the path to tintin files. -! DEFAULT_FILE_DIR = /usr/local/lib/tintin + DEFINES = -D_GNU_SOURCE @DEFS@ - ######################################### - # You shouldn't need to change anything # -*************** -*** 41,54 **** - variables.c highlight.c antisub.c ivars.c help.c text.c glob.c - OFILES = $(CFILES:.c=.o) + MAKE = @MAKE@ -! all: tintin++ install + #this is the standard CFLAGS options, this is what most people should use +! CFLAGS += $(DEFINES) - tintin++: $(OFILES) tintin.h - @echo "Linking..." - $(CC) $(CFLAGS) $(FFLAGS) $(LFLAGS) -o tt++ $(OFILES) $(LIBS) - -! install: all -! @./install.sh $(BINDIR) $(DEFAULT_FILE_DIR) $(COMPRESSED_HELP) - - # Autocompile all .c files into .o files using this rule: - .c.o: ---- 40,54 ---- - variables.c highlight.c antisub.c ivars.c help.c text.c glob.c - OFILES = $(CFILES:.c=.o) - -! all: tintin++ - - tintin++: $(OFILES) tintin.h - @echo "Linking..." - $(CC) $(CFLAGS) $(FFLAGS) $(LFLAGS) -o tt++ $(OFILES) $(LIBS) - -! install: -! @mkdir -p $(DEFAULT_FILE_DIR) -! @./install.sh $(BINDIR) $(DEFAULT_FILE_DIR) Ok - - # Autocompile all .c files into .o files using this rule: - .c.o: -*** configure.old Sun Aug 28 14:06:38 1994 ---- configure Tue Nov 15 01:42:46 1994 -*************** -*** 474,489 **** - OLD_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -pipe" - -! echo "Do you want the helpfile to be compressed (yes/no)? " -! read YESNO -! if test $YESNO; then -! if echo "$YESNO"|grep -i "no" >/dev/null; then -! DEFS="$DEFS -DCOMPRESSED_HELP=0" -! else -! DEFS="$DEFS -DCOMPRESSED_HELP=1" -! COMPRESSED_HELP="Ok" -! fi -! fi - - test -n "$silent" || echo "checking for -pipe" - cat > conftest.${ac_ext} </dev/null; then -! # DEFS="$DEFS -DCOMPRESSED_HELP=0" -! # else -! # DEFS="$DEFS -DCOMPRESSED_HELP=1" -! # COMPRESSED_HELP="Ok" -! # fi -! #fi - - test -n "$silent" || echo "checking for -pipe" - cat > conftest.${ac_ext} < "$2"/.tt_help.txt ---- 5,15 ---- - - echo " " - echo "Copying the tintin++ executable to \"$1\"..." -! install -c -s -o bin -g bin -m 555 tt++ "$1" - - echo "Copying the tintin++ help file to \"$2\"..." - if [ "$3" ]; then -! install -c -o bin -g bin -m 444 support/.tt_help.txt.Z "$2" - else - echo Uncompressing. - uncompress -c support/.tt_help.txt.Z | cat > "$2"/.tt_help.txt + #this is the debugging CFLAGS options, should only be used if you want to + #debug/code tintin diff --git a/net/tintin++-devel/files/patch-ab b/net/tintin++-devel/files/patch-ab index c6a4eb4d7eea..2c4d5833b31f 100644 --- a/net/tintin++-devel/files/patch-ab +++ b/net/tintin++-devel/files/patch-ab @@ -1,175 +1,38 @@ -*** utils.c.old Sun Aug 28 18:12:16 1994 ---- utils.c Tue Nov 15 01:58:20 1994 +*** main.c.orig Sat Sep 2 10:20:22 2000 +--- main.c Sat Sep 2 10:20:27 2000 *************** -*** 21,26 **** ---- 21,28 ---- - #include - #endif +*** 70,76 **** + int verbatim = 0; + int prompt_on = 0; + int funcnum = 0; +! int enable_chat = 1; + char homepath[1025]; + char prompt_line[BUFFER_SIZE]; -+ #include -+ - void syserr(); +--- 70,76 ---- + int verbatim = 0; + int prompt_on = 0; + int funcnum = 0; +! int enable_chat = 0; + char homepath[1025]; + char prompt_line[BUFFER_SIZE]; - /*********************************************/ +*** chat.c.orig Sat Sep 2 10:34:02 2000 +--- chat.c Sat Sep 2 10:33:32 2000 *************** -*** 56,62 **** ---- 58,66 ---- - char *msg; - { - extern int errno, sys_nerr; -+ #if !defined(BSD) || (BSD < 199306) - extern char *sys_errlist[]; -+ #endif - - fprintf(stderr,"ERROR: %s (%d",msg, errno); - if(errno>0 && errno ", 3); - else { - sprintf(strng,"8> 7[%d;%df", input_row, input_col); -! write(1,strng, strlen(strng)+1); - display_col+=2; - } - } ---- 670,679 ---- - if(ses && !PSEUDO_PROMPT) - write_line_mud("", ses); - else if (!is_split) -! write(1,"> ", 2); - else { - sprintf(strng,"8> 7[%d;%df", input_row, input_col); -! write(1,strng, strlen(strng)); - display_col+=2; - } - } -*** misc.c.bak Sun Aug 28 18:12:08 1994 ---- misc.c Tue Nov 15 02:28:26 1994 -*************** -*** 106,112 **** - char temp[2]; - temp[0]=7; - temp[1]=0; -! write(1, temp, 2); - } - - ---- 106,112 ---- - char temp[2]; - temp[0]=7; - temp[1]=0; -! write(1, temp, 1); - } - - -*************** -*** 172,178 **** - cleanup_session(sesptr); - ses=NULL; - if (is_split) -! write(1, "c", 3); - tintin_puts2("TINTIN suffers from bloodlack, and the lack of a beating heart...", ses); - tintin_puts2("TINTIN is dead! R.I.P.", ses); - tintin_puts2("Your blood freezes as you hear TINTIN's death cry.", ses); ---- 172,178 ---- - cleanup_session(sesptr); - ses=NULL; - if (is_split) -! write(1, "c", 2); - tintin_puts2("TINTIN suffers from bloodlack, and the lack of a beating heart...", ses); - tintin_puts2("TINTIN is dead! R.I.P.", ses); - tintin_puts2("Your blood freezes as you hear TINTIN's death cry.", ses); -*** main.c.bak Sun Aug 28 18:12:06 1994 ---- main.c Tue Nov 15 02:33:37 1994 -*************** -*** 562,568 **** - if(ses->logfile) { - if (!OLD_LOG) { - count=0; -! for(n=0;n<=didget;n++) - if (buffer[n]!='\r') { - temp[count]=buffer[n]; - count++; ---- 562,568 ---- - if(ses->logfile) { - if (!OLD_LOG) { - count=0; -! for(n=0;n diff --git a/net/tintin++/distinfo b/net/tintin++/distinfo index cf0255698251..f300c5cf4edf 100644 --- a/net/tintin++/distinfo +++ b/net/tintin++/distinfo @@ -1 +1 @@ -MD5 (tintin++v1.5pl6.tar.Z) = 35e53d661606d035c3e92a249e44160f +MD5 (tintin++v1.82.tar.gz) = 8817be7ba82283f507953f17ef4d7743 diff --git a/net/tintin++/pkg-descr b/net/tintin++/pkg-descr index a7d66ff3c745..2813eda4bb5d 100644 --- a/net/tintin++/pkg-descr +++ b/net/tintin++/pkg-descr @@ -1,6 +1,8 @@ - TINTIN++ is a client program specialized to help playing muds. - This is a souped up version of TINTIN III, many new features - have been added since III. We saw room for improvement on the - features available from TINTIN, and since we like the format of - the program, we decided to use TINTIN as a base for what we - hope to make one of the most powerful clients around. +TINTIN++ is a client program specialized to help playing muds. +This is a souped up version of TINTIN III, many new features +have been added since III. We saw room for improvement on the +features available from TINTIN, and since we like the format of +the program, we decided to use TINTIN as a base for what we +hope to make one of the most powerful clients around. + +WWW: http://mail.newclear.net/tintin/ diff --git a/net/tintin++/pkg-plist b/net/tintin++/pkg-plist index e2ba3502a94b..80a3e81c9ae5 100644 --- a/net/tintin++/pkg-plist +++ b/net/tintin++/pkg-plist @@ -1,3 +1,17 @@ bin/tt++ lib/tintin/.tt_help.txt.Z +share/doc/tintin/tintinrc +share/doc/tintin/chat.conf.example +share/doc/tintin/CHANGES +share/doc/tintin/FAQ +share/doc/tintin/CREDITS +share/doc/tintin/README +share/doc/tintin/MODIFICATIONS +share/doc/tintin/MODS.ycjhi +share/doc/tintin/example1.script +share/doc/tintin/example2.script +share/doc/tintin/sgi +share/doc/tintin/tintin15.ps +share/doc/tintin/tintin15.txt @dirrm lib/tintin +@dirrm share/doc/tintin