diff options
author | johans <johans@FreeBSD.org> | 2008-12-30 04:53:51 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2008-12-30 04:53:51 +0800 |
commit | 0c0467ccf12195463c6e9369cf01423bbdbeb3c8 (patch) | |
tree | 9fd65420bc1ff88920de2e520014b4bd40be2af4 /games/eboard | |
parent | 247d8f84e97171981c34c1a41f22d3a3406dfe5d (diff) | |
download | freebsd-ports-gnome-0c0467ccf12195463c6e9369cf01423bbdbeb3c8.tar.gz freebsd-ports-gnome-0c0467ccf12195463c6e9369cf01423bbdbeb3c8.tar.zst freebsd-ports-gnome-0c0467ccf12195463c6e9369cf01423bbdbeb3c8.zip |
- Update to 1.1.1
- Use %%DATADIR%%
- Take maintainership
Diffstat (limited to 'games/eboard')
-rw-r--r-- | games/eboard/Makefile | 8 | ||||
-rw-r--r-- | games/eboard/distinfo | 6 | ||||
-rw-r--r-- | games/eboard/files/patch-configure | 18 | ||||
-rw-r--r-- | games/eboard/files/patch-network.cc | 18 | ||||
-rw-r--r-- | games/eboard/pkg-descr | 5 | ||||
-rw-r--r-- | games/eboard/pkg-plist | 133 |
6 files changed, 93 insertions, 95 deletions
diff --git a/games/eboard/Makefile b/games/eboard/Makefile index 76ffae3d285c..914e44fa8619 100644 --- a/games/eboard/Makefile +++ b/games/eboard/Makefile @@ -6,18 +6,17 @@ # PORTNAME= eboard -PORTVERSION= 1.0.3 -PORTREVISION= 2 -EXTRAS= 1pl2 2 +PORTVERSION= 1.1.1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} eboard-extras-1pl2.tar.gz eboard-extras-2.tar.gz EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= johans@stack.nl COMMENT= GTK+ chess board interface (mainly for FICS and chessd) +EXTRAS= 1pl2 2 USE_BZIP2= yes HAS_CONFIGURE= yes USE_PERL5_BUILD=yes @@ -26,6 +25,7 @@ USE_GNOME= gtk20 CONFIGURE_ARGS= --prefix=${PREFIX} \ --extra-inc=${LOCALBASE}/include \ --extra-ld=${LOCALBASE}/lib \ + --data-dir=${DATADIR} \ --disable-dgt INSTALL_TARGET= install install-man diff --git a/games/eboard/distinfo b/games/eboard/distinfo index 29621729dbf3..eed9829dee31 100644 --- a/games/eboard/distinfo +++ b/games/eboard/distinfo @@ -1,6 +1,6 @@ -MD5 (eboard-1.0.3.tar.bz2) = 833e656549d9fd9191e51b08005633e3 -SHA256 (eboard-1.0.3.tar.bz2) = 96556e9b94496bb315349f8dc3c79f264621db8f2e4a8c5d640a8bc37a49012f -SIZE (eboard-1.0.3.tar.bz2) = 428502 +MD5 (eboard-1.1.1.tar.bz2) = 03dcdaa2bc85218b1b18c4bee276fea7 +SHA256 (eboard-1.1.1.tar.bz2) = ad971086697c0d5a1c8a64401f6675339e832acb386dc96fa4e17da1832ca26e +SIZE (eboard-1.1.1.tar.bz2) = 462386 MD5 (eboard-extras-1pl2.tar.gz) = d5fb7a541d9ef5f6d1d565d877b1ab9a SHA256 (eboard-extras-1pl2.tar.gz) = 6849cc104e454167db8b8e9ae0573accade5c941a140b47e58b601164e99fcc3 SIZE (eboard-extras-1pl2.tar.gz) = 361237 diff --git a/games/eboard/files/patch-configure b/games/eboard/files/patch-configure index 2e5a6ff57256..6c7e1c1821d8 100644 --- a/games/eboard/files/patch-configure +++ b/games/eboard/files/patch-configure @@ -1,17 +1,17 @@ ---- configure.orig Thu Nov 27 00:48:49 2003 -+++ configure Tue Jan 24 01:33:19 2006 -@@ -244,7 +244,7 @@ - } - print TESTCC "$program"; - close TESTCC; +--- configure.orig 2008-02-22 16:51:22.000000000 +0100 ++++ configure 2008-12-29 11:25:54.000000000 +0100 +@@ -354,7 +354,7 @@ + + log_file("test.cc"); + - if (run_cmd($cxx,@cxxflags,"-c","test.cc","-o","xxtest.o") != 0) { + if (0) { print ": no\n"; $y = header_def($x); print CONFIGH "#undef $y\n"; -@@ -372,17 +372,9 @@ +@@ -512,17 +512,9 @@ #optional headers - header_check("strings.h","sys/soundcard.h","sys/audioio.h"); + header_check("strings.h","sys/soundcard.h","sys/audioio.h","linux/joystick.h"); -$t1=macro_check("netinet/in.h","IPPROTO_TCP","HAVE_IPPROTO_TCP_ON_IN_H"); -$t2=macro_check("netinet/in.h","TCP_NODELAY","HAVE_TCP_NODELAY_ON_IN_H"); @@ -28,7 +28,7 @@ cppdef("USE_SOCK_OPTS"); if ($t1!=0 && $t3!=0) { cppundef("NEED_TCP_H"); -@@ -396,10 +388,10 @@ +@@ -536,10 +528,10 @@ print "netinet/tcp.h not required, SOL_TCP present.\n"; } } else { diff --git a/games/eboard/files/patch-network.cc b/games/eboard/files/patch-network.cc index 3f203d8d9f34..7940e08087f1 100644 --- a/games/eboard/files/patch-network.cc +++ b/games/eboard/files/patch-network.cc @@ -1,14 +1,14 @@ ---- network.cc.orig Mon Jan 15 23:59:58 2007 -+++ network.cc Wed Jan 17 19:38:11 2007 -@@ -560,6 +560,7 @@ +--- network.cc.orig 2008-02-22 16:51:22.000000000 +0100 ++++ network.cc 2008-12-29 11:24:10.000000000 +0100 +@@ -566,6 +566,7 @@ strcpy(HostName,"local pipe"); - sprintf(HostAddress,"pipe[%d,%d]",pin,pout); + snprintf(HostAddress,96,"pipe[%d,%d]",pin,pout); Quiet=0; + use_execve=0; MaxWaitTime = 60000.0; // 1 minute } -@@ -571,6 +572,7 @@ +@@ -577,6 +578,7 @@ strcpy(HostAddress,"unknown"); memset(HelperBin,0,512); Quiet=0; @@ -16,9 +16,9 @@ handshake.erase(); MaxWaitTime = 60000.0; // 1 minute } -@@ -606,6 +608,25 @@ +@@ -612,6 +614,25 @@ Port=port; - strncpy(HostName,host,128); + g_strlcpy(HostName,host,128); + // Special handling for timeseal on FreeBSD: + // @@ -41,8 +41,8 @@ + // build helper path if (helpersuffix) - sprintf(z,"%s.%s",helperbin,helpersuffix); -@@ -716,7 +737,10 @@ + snprintf(z,256,"%s.%s",helperbin,helpersuffix); +@@ -728,7 +749,10 @@ dup2(1,2); setpgid(getpid(),0); // to broadcast SIGKILL later diff --git a/games/eboard/pkg-descr b/games/eboard/pkg-descr index 89908d91219e..87ce6d479602 100644 --- a/games/eboard/pkg-descr +++ b/games/eboard/pkg-descr @@ -2,7 +2,4 @@ eboard is a GTK+ chess interface. It provides a chess board interface to ICS (Internet Chess Servers) like FICS and chessd, and to chess engines like GNU Chess, Sjeng and Crafty. -WWW: http://eboard.sourceforge.net/ - -- Pete -petef@databits.net +WWW: http://www.bergo.eng.br/eboard/ diff --git a/games/eboard/pkg-plist b/games/eboard/pkg-plist index 3d984e61bc69..93893f2d9aee 100644 --- a/games/eboard/pkg-plist +++ b/games/eboard/pkg-plist @@ -9,71 +9,72 @@ bin/eboard-config %%PORTDOCS%%%%DOCSDIR%%/Scripts.txt %%PORTDOCS%%%%DOCSDIR%%/Sjeng.txt %%PORTDOCS%%%%DOCSDIR%%/Themes.txt -share/eboard/Adventurer.png -share/eboard/Alpha.png -share/eboard/Altinov.png -share/eboard/Beat1.wav -share/eboard/Beat2.wav -share/eboard/Berlin.png -share/eboard/Boing1.wav -share/eboard/Book.png -share/eboard/Challenge1.wav -share/eboard/Chap.png -share/eboard/ChessBase.png -share/eboard/Cling1.wav -share/eboard/Cmf.png -share/eboard/Diagram.png -share/eboard/Dominical72.png -share/eboard/Draw1.wav -share/eboard/Dyche1.png -share/eboard/Dyche2.png -share/eboard/Ebony.png -share/eboard/Enquil.png -share/eboard/GameOver1.wav -share/eboard/Harlequin.png -share/eboard/Jumbo.png -share/eboard/Kingdom.png -share/eboard/Lcd.png -share/eboard/Leipzig.png -share/eboard/Mayan.png -share/eboard/Move1.wav -share/eboard/NAG.en.txt -share/eboard/NutBolt.png -share/eboard/OldClassicDark.png -share/eboard/Primepov.png -share/eboard/Rastapov.png -share/eboard/SadGreen.png -share/eboard/ShallWePlay.wav -share/eboard/Slics.png -share/eboard/Staunton.png -share/eboard/Tell1.wav -share/eboard/Tick1.wav -share/eboard/Traveler.png -share/eboard/Usual.png -share/eboard/Utretch.png -share/eboard/Victory1.wav -share/eboard/Vision.png -share/eboard/Voosh.wav -share/eboard/WCN.png -share/eboard/Whitney.png -share/eboard/Yahoo.png -share/eboard/classic.png -share/eboard/eboard.cs.dict -share/eboard/eboard.de.dict -share/eboard/eboard.es.dict -share/eboard/eboard.fr.dict -share/eboard/eboard.it.dict -share/eboard/eboard.ja.dict -share/eboard/eboard.pl.dict -share/eboard/eboard.pt_BR.dict -share/eboard/eboard_themes.conf -share/eboard/extras1.prevconf -share/eboard/extras2.prevconf -share/eboard/ghouls.png -share/eboard/plastic.png -share/eboard/themeconf.extras1 -share/eboard/themeconf.extras2 -share/eboard/timeseal.FreeBSD +%%DATADIR%%/Adventurer.png +%%DATADIR%%/Alpha.png +%%DATADIR%%/Altinov.png +%%DATADIR%%/Beat1.wav +%%DATADIR%%/Beat2.wav +%%DATADIR%%/Berlin.png +%%DATADIR%%/Boing1.wav +%%DATADIR%%/Book.png +%%DATADIR%%/Challenge1.wav +%%DATADIR%%/Chap.png +%%DATADIR%%/ChessBase.png +%%DATADIR%%/Cling1.wav +%%DATADIR%%/Cmf.png +%%DATADIR%%/Diagram.png +%%DATADIR%%/Dominical72.png +%%DATADIR%%/Draw1.wav +%%DATADIR%%/Dyche1.png +%%DATADIR%%/Dyche2.png +%%DATADIR%%/Ebony.png +%%DATADIR%%/Enquil.png +%%DATADIR%%/GameOver1.wav +%%DATADIR%%/Harlequin.png +%%DATADIR%%/Jumbo.png +%%DATADIR%%/Kingdom.png +%%DATADIR%%/Lcd.png +%%DATADIR%%/Leipzig.png +%%DATADIR%%/Mayan.png +%%DATADIR%%/Move1.wav +%%DATADIR%%/NAG.en.txt +%%DATADIR%%/NutBolt.png +%%DATADIR%%/OldClassicDark.png +%%DATADIR%%/Primepov.png +%%DATADIR%%/Rastapov.png +%%DATADIR%%/SadGreen.png +%%DATADIR%%/ShallWePlay.wav +%%DATADIR%%/Slics.png +%%DATADIR%%/Staunton.png +%%DATADIR%%/Tell1.wav +%%DATADIR%%/Tick1.wav +%%DATADIR%%/Traveler.png +%%DATADIR%%/Usual.png +%%DATADIR%%/Utretch.png +%%DATADIR%%/Victory1.wav +%%DATADIR%%/Vision.png +%%DATADIR%%/Voosh.wav +%%DATADIR%%/WCN.png +%%DATADIR%%/Whitney.png +%%DATADIR%%/Yahoo.png +%%DATADIR%%/classic.png +%%DATADIR%%/eboard.cs.dict +%%DATADIR%%/eboard.de.dict +%%DATADIR%%/eboard.es.dict +%%DATADIR%%/eboard.fr.dict +%%DATADIR%%/eboard.it.dict +%%DATADIR%%/eboard.ja.dict +%%DATADIR%%/eboard.hu.dict +%%DATADIR%%/eboard.pl.dict +%%DATADIR%%/eboard.pt_BR.dict +%%DATADIR%%/eboard_themes.conf +%%DATADIR%%/extras1.prevconf +%%DATADIR%%/extras2.prevconf +%%DATADIR%%/ghouls.png +%%DATADIR%%/plastic.png +%%DATADIR%%/themeconf.extras1 +%%DATADIR%%/themeconf.extras2 +%%DATADIR%%/timeseal.FreeBSD share/pixmaps/eboard.xpm -@dirrm share/eboard +@dirrm %%DATADIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%% |