diff options
author | lwhsu <lwhsu@FreeBSD.org> | 2010-08-24 11:07:49 +0800 |
---|---|---|
committer | lwhsu <lwhsu@FreeBSD.org> | 2010-08-24 11:07:49 +0800 |
commit | 383b9ac478b4b04c3451cf0f79613cbca12d2ae0 (patch) | |
tree | fbcbca1ed0a3499e47d5313f8fedb54902134d92 /net | |
parent | 961aee17e1a9e0e7d441430257bf79b1014c6211 (diff) | |
download | freebsd-ports-gnome-383b9ac478b4b04c3451cf0f79613cbca12d2ae0.tar.gz freebsd-ports-gnome-383b9ac478b4b04c3451cf0f79613cbca12d2ae0.tar.zst freebsd-ports-gnome-383b9ac478b4b04c3451cf0f79613cbca12d2ae0.zip |
- Update to 2.00.1 (mainly from net/tintin++-devel with minor fixes)
- Pass maintainership to submitter, the former maintainer has no response over
3 months
PR: ports/146736
Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet AT sunpoet.net>
Approved by: maintainer timeout (3 months)
Diffstat (limited to 'net')
-rw-r--r-- | net/tintin++/Makefile | 41 | ||||
-rw-r--r-- | net/tintin++/distinfo | 6 | ||||
-rw-r--r-- | net/tintin++/files/patch-ac | 40 | ||||
-rw-r--r-- | net/tintin++/files/patch-ad | 53 | ||||
-rw-r--r-- | net/tintin++/files/patch-ae | 25 | ||||
-rw-r--r-- | net/tintin++/files/patch-af | 20 | ||||
-rw-r--r-- | net/tintin++/files/patch-ag | 15 | ||||
-rw-r--r-- | net/tintin++/files/patch-ah | 17 | ||||
-rw-r--r-- | net/tintin++/files/patch-antisub.c | 15 | ||||
-rw-r--r-- | net/tintin++/files/patch-configure | 18 | ||||
-rw-r--r-- | net/tintin++/files/patch-term.c | 79 | ||||
-rw-r--r-- | net/tintin++/pkg-descr | 15 | ||||
-rw-r--r-- | net/tintin++/pkg-plist | 3 |
13 files changed, 61 insertions, 286 deletions
diff --git a/net/tintin++/Makefile b/net/tintin++/Makefile index 949c612189ba..c51b12ad8baf 100644 --- a/net/tintin++/Makefile +++ b/net/tintin++/Makefile @@ -5,17 +5,40 @@ # $FreeBSD$ # -PORTNAME= tintin -PORTVERSION= 1.5.9 +PORTNAME= tintin++ +PORTVERSION= 2.00.1 CATEGORIES+= net games -MASTER_SITES= http://mail.newclear.net/tintin/download/ \ - http://freebsd.hanirc.org/~jhp/tintin++/ -DISTNAME= tintin++v1.5pl9 +MASTER_SITES= GOOGLE_CODE +DISTNAME= tintin-${PORTVERSION} -MAINTAINER= jhp@cocoja.holywar.net -COMMENT= A client program to help playing muds +MAINTAINER= sunpoet@sunpoet.net +COMMENT= A client program to help playing MUDs -WRKSRC= ${WRKDIR}/tintin++/v1.5/src +LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre + +CONFIGURE_ARGS+=--includedir=${LOCALBASE}/include --libdir=${LOCALBASE}/lib \ + --prefix=${PREFIX} +CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" GNU_CONFIGURE= yes +PLIST_FILES= bin/tt++ +PORTDOCS= ${DOCS:T} +USE_GMAKE= yes +WRKSRC= ${WRKDIR}/tt/src + +DOCS= CREDITS FAQ README SCRIPTS TODO \ + docs/chat_protocol.txt docs/tintin19.txt +PROJECTHOST= tintin-mud-client + +.include <bsd.port.pre.mk> + +post-configure: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/tt++ ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${INSTALL} -d ${DOCSDIR} + @cd ${WRKSRC}/.. && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net/tintin++/distinfo b/net/tintin++/distinfo index 371c859275f9..6e303d69b63a 100644 --- a/net/tintin++/distinfo +++ b/net/tintin++/distinfo @@ -1,3 +1,3 @@ -MD5 (tintin++v1.5pl9.tar.gz) = 0635a327e074d83e7c4b1f70149b6b35 -SHA256 (tintin++v1.5pl9.tar.gz) = 5032a09107c8ba32044e64c7b3c27509218286e945517cfa3833b73911e436e5 -SIZE (tintin++v1.5pl9.tar.gz) = 125700 +MD5 (tintin-2.00.1.tar.gz) = 5bc8d0f4df124f7fe01a5904084ae01b +SHA256 (tintin-2.00.1.tar.gz) = 0dc1f6805a2e408e6733504310d006bc2f98bd7ff23ff365c570cdb1ac016bef +SIZE (tintin-2.00.1.tar.gz) = 241875 diff --git a/net/tintin++/files/patch-ac b/net/tintin++/files/patch-ac deleted file mode 100644 index 5e38e3befa80..000000000000 --- a/net/tintin++/files/patch-ac +++ /dev/null @@ -1,40 +0,0 @@ ---- Makefile.in.orig Thu Mar 25 11:03:34 1999 -+++ Makefile.in Tue Sep 26 18:07:31 2000 -@@ -10,7 +10,6 @@ - # 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@ -@@ -22,10 +21,10 @@ - - # BINDIR is the directory you wish tt++ to be placed if you wish to use - # make install. --BINDIR = .. -+BINDIR = /usr/local/bin - - # DEFAULT_FILE_DIR is the path to tintin files. --DEFAULT_FILE_DIR = ~ -+DEFAULT_FILE_DIR = /usr/local/lib/tintin - - ######################################### - # You shouldn't need to change anything # -@@ -41,14 +40,14 @@ - variables.c highlight.c antisub.c ivars.c help.c text.c glob.c - OFILES = $(CFILES:.c=.o) - --all: tintin++ install -+all: tintin++ - - tintin++: $(OFILES) tintin.h - @echo "Linking..." - $(CC) $(CFLAGS) $(FFLAGS) $(LFLAGS) -o tt++ $(OFILES) $(LIBS) - - install: all -- @./install.sh $(BINDIR) $(DEFAULT_FILE_DIR) $(COMPRESSED_HELP) -+ @./install.sh $(BINDIR) $(DEFAULT_FILE_DIR) Ok - - # Autocompile all .c files into .o files using this rule: - .c.o: diff --git a/net/tintin++/files/patch-ad b/net/tintin++/files/patch-ad deleted file mode 100644 index 5ab9d21903d7..000000000000 --- a/net/tintin++/files/patch-ad +++ /dev/null @@ -1,53 +0,0 @@ ---- main.c.orig Thu Mar 25 11:26:53 1999 -+++ main.c Tue Sep 26 17:27:58 2000 -@@ -100,12 +100,8 @@ - extern void term_echo(); - - int last_line_length; --#if defined(HAVE_SYS_TERMIO_H) && !defined(BSD_ECHO) || defined(HAVE_TERMIO_H) --#if defined(HAVE_SYS_TERMIO_H) --#include <sys/termio.h> --#else --#include <termio.h> --#endif -+#if 1 -+#include <termios.h> - tcflag_t c_lflag; - cc_t c_cc[NCCS]; - #else -@@ -580,7 +576,7 @@ - if(ses->logfile) { - if (!OLD_LOG) { - count=0; -- for(n=0;n<=didget;n++) -+ for(n=0;n<didget;n++) - if (buffer[n]!='\r') { - temp[count]=buffer[n]; - count++; -@@ -750,7 +746,7 @@ - sprintf(strng,"%c8%s\n\r%c7%c[%d;%df", E, cptr, E, E, input_row, input_col); - else - sprintf(strng,"%s\n\r", cptr); -- write(1,strng, strlen(strng)+1); -+ write(1,strng, strlen(strng)); - display_col=1; - if (redraw && term_echoing && !is_split) - write(1, k_input, strlen(k_input)); -@@ -806,7 +802,7 @@ - cptr++; - sprintf(strng,"%s\n\r", cptr); - } -- write(1,strng, strlen(strng)+1); -+ write(1,strng, strlen(strng)); - display_col=1; - } - text_came=TRUE; -@@ -876,7 +872,7 @@ - input_col=1; - sprintf(fn, "%c[2J%c[1;%dr%c[%d;1f", E, E, display_row, E, split_line); - write(1,fn, strlen(fn)); -- write(1,"-------------------------------------------------------------------------------", 80); -+ write(1,"--------------------------------------------------------------------------------", 80); - sprintf(fn, "%c[%d;1f%c7", E, split_line-1, E); - write(1,fn,strlen(fn)); - sprintf(fn, "%c[%d;1f", E, input_row); diff --git a/net/tintin++/files/patch-ae b/net/tintin++/files/patch-ae deleted file mode 100644 index a4fdcd71b16e..000000000000 --- a/net/tintin++/files/patch-ae +++ /dev/null @@ -1,25 +0,0 @@ ---- utils.c.orig Thu Mar 4 08:58:57 1999 -+++ utils.c Fri Aug 23 12:30:37 2002 -@@ -21,6 +21,10 @@ - #include <unistd.h> - #endif - -+#include <stdio.h> -+#include <errno.h> -+#include <sys/param.h> -+ - void syserr(); - - /*********************************************/ -@@ -55,8 +59,9 @@ - void syserr(msg) - char *msg; - { -- extern int errno, sys_nerr; -- //extern char *sys_errlist[]; -+#if !defined(BSD) || (BSD < 199306) -+ extern char *sys_errlist[]; -+#endif - - fprintf(stderr,"ERROR: %s (%d",msg, errno); - if(errno>0 && errno<sys_nerr) diff --git a/net/tintin++/files/patch-af b/net/tintin++/files/patch-af deleted file mode 100644 index 6fc54c273c05..000000000000 --- a/net/tintin++/files/patch-af +++ /dev/null @@ -1,20 +0,0 @@ ---- misc.c.orig Fri Mar 5 21:40:11 1999 -+++ misc.c Tue Sep 26 17:20:07 2000 -@@ -106,7 +106,7 @@ - char temp[2]; - temp[0]=7; - temp[1]=0; -- write(1, temp, 2); -+ write(1, temp, 1); - } - - -@@ -176,7 +176,7 @@ - } - ses=NULL; - if (is_split) -- write(1, "c", 3); -+ 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); diff --git a/net/tintin++/files/patch-ag b/net/tintin++/files/patch-ag deleted file mode 100644 index a48a9a6792d5..000000000000 --- a/net/tintin++/files/patch-ag +++ /dev/null @@ -1,15 +0,0 @@ ---- parse.c.orig Sun Aug 28 22:12:10 1994 -+++ parse.c Tue Sep 26 17:20:07 2000 -@@ -670,10 +670,10 @@ - if(ses && !PSEUDO_PROMPT) - write_line_mud("", ses); - else if (!is_split) -- write(1,"> ", 3); -+ write(1,"> ", 2); - else { - sprintf(strng,"8> 7[%d;%df", input_row, input_col); -- write(1,strng, strlen(strng)+1); -+ write(1,strng, strlen(strng)); - display_col+=2; - } - } diff --git a/net/tintin++/files/patch-ah b/net/tintin++/files/patch-ah deleted file mode 100644 index 9000101e63ab..000000000000 --- a/net/tintin++/files/patch-ah +++ /dev/null @@ -1,17 +0,0 @@ ---- install.sh.orig Thu Mar 25 11:13:50 1999 -+++ install.sh Tue Sep 26 18:13:52 2000 -@@ -6,11 +6,12 @@ - echo " " - echo "Copying the tintin++ executable to \"$1\"..." - #strip tt++ --cp tt++ "$1" -+install -c -s -o bin -g bin -m 555 tt++ "$1" - - echo "Copying the tintin++ help file to \"$2\"..." - if [ "$3" ]; then -- cp support/.tt_help.txt.Z "$2/" -+ [ -d "$2" ] || mkdir -p "$2" -+ install -c -o bin -g bin -m 555 support/.tt_help.txt.Z "$2/" - fi - - echo diff --git a/net/tintin++/files/patch-antisub.c b/net/tintin++/files/patch-antisub.c deleted file mode 100644 index 07b8da2700dd..000000000000 --- a/net/tintin++/files/patch-antisub.c +++ /dev/null @@ -1,15 +0,0 @@ ---- antisub.c.orig Sun Nov 17 13:26:33 2002 -+++ antisub.c Sun Nov 17 13:26:43 2002 -@@ -6,12 +6,8 @@ - /* coded by peter unold 1992 */ - /*********************************************************************/ - #include "tintin.h" --#ifdef HAVE_STRING_H --#include <string.h> --#else - #ifdef HAVE_STRINGS_H - #include <strings.h> --#endif - #endif - - #ifdef HAVE_STDLIB_H diff --git a/net/tintin++/files/patch-configure b/net/tintin++/files/patch-configure new file mode 100644 index 000000000000..29bafbbe941e --- /dev/null +++ b/net/tintin++/files/patch-configure @@ -0,0 +1,18 @@ +--- ./configure.orig 2009-07-22 10:02:23.000000000 -0400 ++++ ./configure 2009-07-22 10:02:40.000000000 -0400 +@@ -6176,11 +6176,11 @@ + { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 + $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} + { (exit 1); exit 1; }; } +-if test -r "/dev/ptmx"; then +- ac_cv_file__dev_ptmx=yes +-else ++#if test -r "/dev/ptmx"; then ++# ac_cv_file__dev_ptmx=yes ++#else + ac_cv_file__dev_ptmx=no +-fi ++#fi + fi + { $as_echo "$as_me:$LINENO: result: $ac_cv_file__dev_ptmx" >&5 + $as_echo "$ac_cv_file__dev_ptmx" >&6; } diff --git a/net/tintin++/files/patch-term.c b/net/tintin++/files/patch-term.c deleted file mode 100644 index 7a6246a3f65f..000000000000 --- a/net/tintin++/files/patch-term.c +++ /dev/null @@ -1,79 +0,0 @@ ---- echo.c 1999-03-04 19:23:42.000000000 +0100 -+++ echo.c 2007-12-28 15:23:31.000000000 +0100 -@@ -18,12 +18,8 @@ - #include <sys/ioctl.h> - #endif - --#if defined(HAVE_SYS_TERMIO_H) && !defined(BSD_ECHO) || defined(HAVE_TERMIO_H) --#if defined(HAVE_SYS_TERMIO_H) --#include <sys/termio.h> --#else --#include <termio.h> --#endif -+#if 1 -+#include <termios.h> - #else - #include <sgtty.h> - #if DIRTY_REDEFINE -@@ -34,8 +30,8 @@ - #endif - #endif - --#if defined(HAVE_SYS_TERMIO_H) && !defined(BSD_ECHO) || defined(HAVE_TERMIO_H) --#ifdef HAVE_TCFLAG_T -+#if 1 -+#if 1 - extern tcflag_t c_lflag; - extern cc_t c_cc[NCCS]; - #else -@@ -44,10 +40,10 @@ - #endif - void init_echo() - { -- struct termio io; -+ struct termios io; - -- if(ioctl(0, TCGETA, &io)<0) -- syserr("ioctl"); -+ if(tcgetattr(0, &io)<0) -+ syserr("tcgetattr"); - c_lflag = io.c_lflag; - c_cc[VMIN] = io.c_cc[VMIN]; - c_cc[VTIME] = io.c_cc[VTIME]; -@@ -58,14 +54,14 @@ - /********************************/ - void term_echo() - { -- struct termio io; -+ struct termios io; - -- if(ioctl(0, TCGETA, &io)<0) -+ if(tcgetattr(0, &io)<0) - syserr("ioctl"); - io.c_lflag = c_lflag; - io.c_cc[VMIN] = c_cc[VMIN]; - io.c_cc[VTIME] = c_cc[VTIME]; -- if(ioctl(0, TCSETA, &io)<0) -+ if(tcsetattr(0, TCSANOW, &io)<0) - syserr("ioctl"); - } - -@@ -74,15 +70,15 @@ - /*********************************/ - void term_noecho() - { -- struct termio io; -+ struct termios io; - -- if(ioctl(0, TCGETA, &io)<0) -+ if(tcgetattr(0, &io)<0) - syserr("ioctl"); - io.c_lflag &= ~ECHO; - io.c_lflag &= ~ICANON; - io.c_cc[VMIN]=1; - io.c_cc[VTIME]=0; -- if(ioctl(0, TCSETA, &io) < 0) -+ if(tcsetattr(0, TCSANOW, &io) < 0) - syserr("ioctl"); - } - diff --git a/net/tintin++/pkg-descr b/net/tintin++/pkg-descr index 4fe0e019d876..e8850b1a7214 100644 --- a/net/tintin++/pkg-descr +++ b/net/tintin++/pkg-descr @@ -1,8 +1,9 @@ - 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 console MUD client for Windows, Linux, and Mac OS X. Its main +assets are an easy to learn and use scripting language, full telnet support, +a split screen interface to separate mud output from client input, and +keyboard macros that work on all systems. -WWW: http://tintin.sourceforge.net/ +TinTin++ projet is now hosted on Google Code sine version 1.99.6b1. + +WWW: http://tintin.sourceforge.net/ + http://code.google.com/p/tintin-mud-client diff --git a/net/tintin++/pkg-plist b/net/tintin++/pkg-plist deleted file mode 100644 index e2ba3502a94b..000000000000 --- a/net/tintin++/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/tt++ -lib/tintin/.tt_help.txt.Z -@dirrm lib/tintin |