diff options
author | ahoka <ahoka@pkgsrc.org> | 2009-01-31 03:04:37 +0000 |
---|---|---|
committer | ahoka <ahoka@pkgsrc.org> | 2009-01-31 03:04:37 +0000 |
commit | d3c026e491bd255743e110b31c2bfea22da6fc07 (patch) | |
tree | 9b0b2d743741ab501740e1755b9b71046636eff7 /games/pokerth | |
parent | ac5530588456cf084dc3ea05ab1404f83f1529c4 (diff) | |
download | pkgsrc-d3c026e491bd255743e110b31c2bfea22da6fc07.tar.gz |
Import pokerth-0.6.3.2 as games/pokerth.
PokerTH is a poker game written in C++/QT4. You can play the popular "Texas
Hold'em" poker variant against up to six computer-opponents or play network
games with people all over the world. This poker engine is available for Linux,
Windows, and MacOSX and BSD.
Diffstat (limited to 'games/pokerth')
-rw-r--r-- | games/pokerth/DESCR | 4 | ||||
-rw-r--r-- | games/pokerth/Makefile | 44 | ||||
-rw-r--r-- | games/pokerth/PLIST | 256 | ||||
-rw-r--r-- | games/pokerth/distinfo | 10 | ||||
-rw-r--r-- | games/pokerth/patches/patch-aa | 44 | ||||
-rw-r--r-- | games/pokerth/patches/patch-ab | 13 | ||||
-rw-r--r-- | games/pokerth/patches/patch-ac | 22 | ||||
-rw-r--r-- | games/pokerth/patches/patch-ad | 51 | ||||
-rw-r--r-- | games/pokerth/patches/patch-ae | 23 |
9 files changed, 467 insertions, 0 deletions
diff --git a/games/pokerth/DESCR b/games/pokerth/DESCR new file mode 100644 index 00000000000..971d6f5853d --- /dev/null +++ b/games/pokerth/DESCR @@ -0,0 +1,4 @@ +PokerTH is a poker game written in C++/QT4. You can play the popular "Texas +Hold'em" poker variant against up to six computer-opponents or play network +games with people all over the world. This poker engine is available for Linux, +Windows, and MacOSX and BSD. diff --git a/games/pokerth/Makefile b/games/pokerth/Makefile new file mode 100644 index 00000000000..83fc0aac112 --- /dev/null +++ b/games/pokerth/Makefile @@ -0,0 +1,44 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/01/31 03:04:37 ahoka Exp $ +# + +DISTNAME= PokerTH-0.6.3-2-src +PKGNAME= pokerth-0.6.3.2 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pokerth/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= ahoka@NetBSD.org +HOMEPAGE= http://pokerth.sourceforge.net/ +COMMENT= Texas Holdem poker with online play + +USE_TOOLS= gmake +USE_LIBTOOL= yes +USE_LANGUAGES= c c++ +USE_DIRS+= xdg-1.4 + +PKG_DESTDIR_SUPPORT= user-destdir +INSTALLATION_DIRS= bin lib ${PKGMANDIR}/man1 share/pokerth \ + share/pixmaps share/applications + +do-configure: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QTDIR}/bin/qmake pokerth.pro + +do-install: + ${INSTALL_LIB} ${WRKSRC}/lib/* ${DESTDIR}${PREFIX}/lib + ${INSTALL_PROGRAM} ${WRKSRC}/pokerth ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/bin/pokerth_server ${DESTDIR}${PREFIX}/bin + ${CP} -R ${WRKSRC}/data ${DESTDIR}${PREFIX}/share/pokerth/ + ${INSTALL_DATA} ${WRKSRC}/pokerth.png ${DESTDIR}${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${WRKSRC}/pokerth.desktop ${DESTDIR}${PREFIX}/share/applications + ${INSTALL_MAN} ${WRKSRC}/docs/pokerth.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + +.include "../../x11/qt4-libs/buildlink3.mk" +.include "../../x11/qt4-tools/buildlink3.mk" +.include "../../devel/boost-libs/buildlink3.mk" +.include "../../devel/SDL/buildlink3.mk" +.include "../../audio/SDL_mixer/buildlink3.mk" +.include "../../www/curl/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/games/pokerth/PLIST b/games/pokerth/PLIST new file mode 100644 index 00000000000..b4570d5e3fe --- /dev/null +++ b/games/pokerth/PLIST @@ -0,0 +1,256 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/31 03:04:37 ahoka Exp $ +bin/pokerth +bin/pokerth_server +lib/libpokerth_lib.a +man/man1/pokerth.1 +share/applications/pokerth.desktop +share/pixmaps/pokerth.png +share/pokerth/data/data-copyright.txt +share/pokerth/data/fonts/VeraBd.ttf +share/pokerth/data/fonts/c059013l.pfb +share/pokerth/data/fonts/n019003l.pfb +share/pokerth/data/gfx/avatars/default/misc/00a0b3d26a67841239b8883183b7a8f0.png +share/pokerth/data/gfx/avatars/default/misc/030a14c105d3fd164cb4bae54bad6191.png +share/pokerth/data/gfx/avatars/default/misc/08ced517579b3d258c947aec6c0a0dd4.png +share/pokerth/data/gfx/avatars/default/misc/08e18c4e25a5052575e6a409e71959f5.png +share/pokerth/data/gfx/avatars/default/misc/0f2ca195ebaec613ffc8626185415b18.png +share/pokerth/data/gfx/avatars/default/misc/150bfd890394dceb33c66ec8d033b7f4.png +share/pokerth/data/gfx/avatars/default/misc/192f2abb785082aa9cbd745f763c7afb.png +share/pokerth/data/gfx/avatars/default/misc/20e7e95df017855a44a16ff54bb8252a.png +share/pokerth/data/gfx/avatars/default/misc/20f0819f145c3a6e7272adc2909f35e7.png +share/pokerth/data/gfx/avatars/default/misc/276648a9e4397177ba6e065bb8392a0f.png +share/pokerth/data/gfx/avatars/default/misc/2b0fca47b50e2cc4f910eba9ffa858a9.png +share/pokerth/data/gfx/avatars/default/misc/2d5248926bda0c674f31e25981de33a4.png +share/pokerth/data/gfx/avatars/default/misc/3036f43bab1f56a3c3dd693c0551bbd8.png +share/pokerth/data/gfx/avatars/default/misc/32955c19e24eba10fd63f1dcc75b5a25.png +share/pokerth/data/gfx/avatars/default/misc/3956df277e41217641829542a4591c5f.png +share/pokerth/data/gfx/avatars/default/misc/41c06d77495fbcd69cfbb4457ebc11dc.png +share/pokerth/data/gfx/avatars/default/misc/44d23de146bd9d753571915226c44cfd.png +share/pokerth/data/gfx/avatars/default/misc/53d7f2bda9b904adf62153a9341d48db.png +share/pokerth/data/gfx/avatars/default/misc/5858abb9942a4d7faabfb6e7ff2520fd.png +share/pokerth/data/gfx/avatars/default/misc/5e802a524d92f339ad1adedf5675c467.png +share/pokerth/data/gfx/avatars/default/misc/663f3d7a9ad330b2c77aa5f542fedf38.png +share/pokerth/data/gfx/avatars/default/misc/6b1ae8bfc14ffb2ae3247c7327b1f5ed.png +share/pokerth/data/gfx/avatars/default/misc/70bf201de8b46b19a30b94d6ea717043.png +share/pokerth/data/gfx/avatars/default/misc/71348dd09e29dbe4ee6accc25d74bc94.png +share/pokerth/data/gfx/avatars/default/misc/76fcf5f16951e17a63e4ff50d09278f7.png +share/pokerth/data/gfx/avatars/default/misc/778eca12f78519ac598f8858bdaf5ffa.png +share/pokerth/data/gfx/avatars/default/misc/7b7d565bf61d15722085e0489c474078.png +share/pokerth/data/gfx/avatars/default/misc/7ee6c7e39bdecf872f782f7fefeffc6c.png +share/pokerth/data/gfx/avatars/default/misc/82487a6a11cfd4174d3c56c13f47c03e.png +share/pokerth/data/gfx/avatars/default/misc/8426dadd34be5db4f4cdfa12ec1e8c53.png +share/pokerth/data/gfx/avatars/default/misc/85de4941160836a15745859dfcd9828e.png +share/pokerth/data/gfx/avatars/default/misc/88fdee1614fdbf125d0a82bc349da0ff.png +share/pokerth/data/gfx/avatars/default/misc/910800128fa4afacd15c61a67e6d01a5.png +share/pokerth/data/gfx/avatars/default/misc/92875006f8786c9fa082ca13ae188a28.png +share/pokerth/data/gfx/avatars/default/misc/9a106f3f5f9647c77174da1977dcb3c1.png +share/pokerth/data/gfx/avatars/default/misc/9ae421286ad12b4a5e7d2ca767e3d9a3.png +share/pokerth/data/gfx/avatars/default/misc/9ff203623c75d8570126599d45922aa3.png +share/pokerth/data/gfx/avatars/default/misc/a8c3d13377c17b06341b3904185ca30d.png +share/pokerth/data/gfx/avatars/default/misc/aafbbe402e1883657b2db3e2f7574e5a.png +share/pokerth/data/gfx/avatars/default/misc/bb2ae3396e8523545a955ceec97a273b.png +share/pokerth/data/gfx/avatars/default/misc/c10142a7b42f9e5c89ad4c644c570b74.png +share/pokerth/data/gfx/avatars/default/misc/c824fc964b0f051569d961d24d0897cd.png +share/pokerth/data/gfx/avatars/default/misc/cd78743ae833cb838395e126ddc4b298.png +share/pokerth/data/gfx/avatars/default/misc/d0b3c777001d2548fc87c112a181ddbf.png +share/pokerth/data/gfx/avatars/default/misc/d2dfc050bd61af58f05853864d5f9c4e.png +share/pokerth/data/gfx/avatars/default/misc/d2e74be7f80276f90091f90b2a78ddfb.png +share/pokerth/data/gfx/avatars/default/misc/d7204e29016ca8963c02f46d4d41dc7d.png +share/pokerth/data/gfx/avatars/default/misc/d9a4712147692ace05d5b87a5f76223f.png +share/pokerth/data/gfx/avatars/default/misc/dccda20e75901d151e199cf0d74451d4.png +share/pokerth/data/gfx/avatars/default/misc/e4e0c2850b68a65dcce6e83512e60665.png +share/pokerth/data/gfx/avatars/default/misc/e604d933cf5dcbef120c516c66083b13.png +share/pokerth/data/gfx/avatars/default/misc/e6a7b4c2d32f5c5ff8cd895b928b5594.png +share/pokerth/data/gfx/avatars/default/misc/e6e6b9af8c7bea68e359538e1298efd6.png +share/pokerth/data/gfx/avatars/default/misc/eb427f89e4773e87afb87505885cf698.png +share/pokerth/data/gfx/avatars/default/misc/eb7612a2b515bd826babec8f649b44cf.png +share/pokerth/data/gfx/avatars/default/misc/ed1dc23e53b713ab69850f808e39498e.png +share/pokerth/data/gfx/avatars/default/misc/f08cff60124b7690f13319fcf67a0b26.png +share/pokerth/data/gfx/avatars/default/misc/f12b7ce0222d0303a0de70c7dfa9ac0f.png +share/pokerth/data/gfx/avatars/default/misc/f3e4763d3f5ba1a4bde813667efa82a1.png +share/pokerth/data/gfx/avatars/default/misc/f4893bf7b611d72231e94fa487cc74e9.png +share/pokerth/data/gfx/avatars/default/misc/f48c98f3814cafa82e1c444915ceb0a7.png +share/pokerth/data/gfx/avatars/default/misc/f69440dd7d5483cc33d93c52cbb2c64d.png +share/pokerth/data/gfx/avatars/default/misc/fee2595e8a7be7ea50a39604e8c72e5e.png +share/pokerth/data/gfx/avatars/default/people/0c04318e6fa54534935e3e6cfe12c4a1.png +share/pokerth/data/gfx/avatars/default/people/0c24b06358f7b308d6b47c59ebace73d.png +share/pokerth/data/gfx/avatars/default/people/14e3f39cc775608bcecf5597248b3558.png +share/pokerth/data/gfx/avatars/default/people/16b702a87f681c4343486523a1a867e8.png +share/pokerth/data/gfx/avatars/default/people/237c518f2bb6ac99f6eb1012e18460b9.png +share/pokerth/data/gfx/avatars/default/people/39fa73528e8dc1a5a478938affe79100.png +share/pokerth/data/gfx/avatars/default/people/45e16bc214942321a3814fb43a84a88e.png +share/pokerth/data/gfx/avatars/default/people/490ed3a748f6f4d6c261436198f2368f.png +share/pokerth/data/gfx/avatars/default/people/6ad16e2c3e4b8e4e6da47032d4372f4b.png +share/pokerth/data/gfx/avatars/default/people/6ecea83d9fac6b4cae97e2fccd09a5f6.png +share/pokerth/data/gfx/avatars/default/people/74672ebfa2ab02968386c4e441a08668.png +share/pokerth/data/gfx/avatars/default/people/95df673e5ee4d02f0f95d5c7ff091cfb.png +share/pokerth/data/gfx/avatars/default/people/9f49fc3d6062ddc08dc6bbd9ef9b399d.png +share/pokerth/data/gfx/avatars/default/people/bc28d08c451a775f9e332c14a397096b.png +share/pokerth/data/gfx/avatars/default/people/bed234c6672d512bdb4c2768f0b3f90c.png +share/pokerth/data/gfx/avatars/default/people/c018b15b8164a303b9395b1e89c51004.png +share/pokerth/data/gfx/avatars/default/people/c6d57064672b9a6c78a06248d2a60770.png +share/pokerth/data/gfx/avatars/default/people/cbd2e0c6ee579fb8e0f3942639cf988d.png +share/pokerth/data/gfx/avatars/default/people/d21268e1d2ec969367ee5b54bd34738b.png +share/pokerth/data/gfx/avatars/default/people/d66940c138c207c68a338769d683e691.png +share/pokerth/data/gfx/avatars/default/people/d6f8a45e9243b7e7e4e2c8e41df1c9f5.png +share/pokerth/data/gfx/avatars/default/people/da34195981d255656f39c05481de3b6a.png +share/pokerth/data/gfx/avatars/default/people/e3e1ae15f7d808fce16c26c049e2cbe9.png +share/pokerth/data/gfx/avatars/default/people/e54e67ebd5265cf549362a2cda5a999c.png +share/pokerth/data/gfx/avatars/default/people/ef0975f38a367a45cb8042b438957304.png +share/pokerth/data/gfx/cards/default/0.png +share/pokerth/data/gfx/cards/default/1.png +share/pokerth/data/gfx/cards/default/10.png +share/pokerth/data/gfx/cards/default/11.png +share/pokerth/data/gfx/cards/default/12.png +share/pokerth/data/gfx/cards/default/13.png +share/pokerth/data/gfx/cards/default/14.png +share/pokerth/data/gfx/cards/default/15.png +share/pokerth/data/gfx/cards/default/16.png +share/pokerth/data/gfx/cards/default/17.png +share/pokerth/data/gfx/cards/default/18.png +share/pokerth/data/gfx/cards/default/19.png +share/pokerth/data/gfx/cards/default/2.png +share/pokerth/data/gfx/cards/default/20.png +share/pokerth/data/gfx/cards/default/21.png +share/pokerth/data/gfx/cards/default/22.png +share/pokerth/data/gfx/cards/default/23.png +share/pokerth/data/gfx/cards/default/24.png +share/pokerth/data/gfx/cards/default/25.png +share/pokerth/data/gfx/cards/default/26.png +share/pokerth/data/gfx/cards/default/27.png +share/pokerth/data/gfx/cards/default/28.png +share/pokerth/data/gfx/cards/default/29.png +share/pokerth/data/gfx/cards/default/3.png +share/pokerth/data/gfx/cards/default/30.png +share/pokerth/data/gfx/cards/default/31.png +share/pokerth/data/gfx/cards/default/32.png +share/pokerth/data/gfx/cards/default/33.png +share/pokerth/data/gfx/cards/default/34.png +share/pokerth/data/gfx/cards/default/35.png +share/pokerth/data/gfx/cards/default/36.png +share/pokerth/data/gfx/cards/default/37.png +share/pokerth/data/gfx/cards/default/38.png +share/pokerth/data/gfx/cards/default/39.png +share/pokerth/data/gfx/cards/default/4.png +share/pokerth/data/gfx/cards/default/40.png +share/pokerth/data/gfx/cards/default/41.png +share/pokerth/data/gfx/cards/default/42.png +share/pokerth/data/gfx/cards/default/43.png +share/pokerth/data/gfx/cards/default/44.png +share/pokerth/data/gfx/cards/default/45.png +share/pokerth/data/gfx/cards/default/46.png +share/pokerth/data/gfx/cards/default/47.png +share/pokerth/data/gfx/cards/default/48.png +share/pokerth/data/gfx/cards/default/49.png +share/pokerth/data/gfx/cards/default/5.png +share/pokerth/data/gfx/cards/default/50.png +share/pokerth/data/gfx/cards/default/51.png +share/pokerth/data/gfx/cards/default/6.png +share/pokerth/data/gfx/cards/default/7.png +share/pokerth/data/gfx/cards/default/8.png +share/pokerth/data/gfx/cards/default/9.png +share/pokerth/data/gfx/cards/default/flipside.png +share/pokerth/data/gfx/cards/default/flipside_tux.png +share/pokerth/data/gfx/gui/misc/1px.png +share/pokerth/data/gfx/gui/misc/background_gamelist.png +share/pokerth/data/gfx/gui/misc/fileopen16.png +share/pokerth/data/gfx/gui/misc/handRanking.png +share/pokerth/data/gfx/gui/misc/lock.png +share/pokerth/data/gfx/gui/misc/logoChip3D.png +share/pokerth/data/gfx/gui/misc/radiobutton_checked.png +share/pokerth/data/gfx/gui/misc/radiobutton_checked_hover.png +share/pokerth/data/gfx/gui/misc/radiobutton_pressed.png +share/pokerth/data/gfx/gui/misc/radiobutton_unchecked.png +share/pokerth/data/gfx/gui/misc/radiobutton_unchecked_hover.png +share/pokerth/data/gfx/gui/misc/startwindowbg.png +share/pokerth/data/gfx/gui/misc/toolboxFrameBG.png +share/pokerth/data/gfx/gui/misc/welcomepokerth.png +share/pokerth/data/gfx/gui/misc/windowicon.png +share/pokerth/data/gfx/gui/table/default/action_allin.png +share/pokerth/data/gfx/gui/table/default/action_bet.png +share/pokerth/data/gfx/gui/table/default/action_call.png +share/pokerth/data/gfx/gui/table/default/action_check.png +share/pokerth/data/gfx/gui/table/default/action_fold.png +share/pokerth/data/gfx/gui/table/default/action_raise.png +share/pokerth/data/gfx/gui/table/default/action_set.png +share/pokerth/data/gfx/gui/table/default/action_template.xcf +share/pokerth/data/gfx/gui/table/default/action_winner.png +share/pokerth/data/gfx/gui/table/default/bigblindPuck.png +share/pokerth/data/gfx/gui/table/default/cardholder_flop.png +share/pokerth/data/gfx/gui/table/default/cardholder_river.png +share/pokerth/data/gfx/gui/table/default/cardholder_turn.png +share/pokerth/data/gfx/gui/table/default/dealerPuck.png +share/pokerth/data/gfx/gui/table/default/genereticAvatar.png +share/pokerth/data/gfx/gui/table/default/opponentBoxActiveGlow.png +share/pokerth/data/gfx/gui/table/default/opponentBoxInactiveGlow.png +share/pokerth/data/gfx/gui/table/default/playerBoxActiveGlow.png +share/pokerth/data/gfx/gui/table/default/playerBoxActiveGlow_0.6.png +share/pokerth/data/gfx/gui/table/default/playerBoxInactiveGlow.png +share/pokerth/data/gfx/gui/table/default/playerBoxInactiveGlow_0.6.png +share/pokerth/data/gfx/gui/table/default/playeraction_blue.png +share/pokerth/data/gfx/gui/table/default/playeraction_blue_checked.png +share/pokerth/data/gfx/gui/table/default/playeraction_blue_checked_hover.png +share/pokerth/data/gfx/gui/table/default/playeraction_blue_hover.png +share/pokerth/data/gfx/gui/table/default/playeraction_green.png +share/pokerth/data/gfx/gui/table/default/playeraction_green_checked.png +share/pokerth/data/gfx/gui/table/default/playeraction_green_checked_hover.png +share/pokerth/data/gfx/gui/table/default/playeraction_green_hover.png +share/pokerth/data/gfx/gui/table/default/playeraction_red.png +share/pokerth/data/gfx/gui/table/default/playeraction_red_checked.png +share/pokerth/data/gfx/gui/table/default/playeraction_red_checked_hover.png +share/pokerth/data/gfx/gui/table/default/playeraction_red_hover.png +share/pokerth/data/gfx/gui/table/default/smallblindPuck.png +share/pokerth/data/gfx/gui/table/default/table.png +share/pokerth/data/misc/gpl2.html +share/pokerth/data/sounds/default/allin.wav +share/pokerth/data/sounds/default/bet.wav +share/pokerth/data/sounds/default/call.wav +share/pokerth/data/sounds/default/check.wav +share/pokerth/data/sounds/default/dealtwocards.wav +share/pokerth/data/sounds/default/fold.wav +share/pokerth/data/sounds/default/lobbychatnotify.wav +share/pokerth/data/sounds/default/onlinegameready.wav +share/pokerth/data/sounds/default/playerconnected.wav +share/pokerth/data/sounds/default/raise.wav +share/pokerth/data/sounds/default/yourturn.wav +share/pokerth/data/translations/pokerth_bg.qm +share/pokerth/data/translations/pokerth_de.qm +share/pokerth/data/translations/pokerth_dk.qm +share/pokerth/data/translations/pokerth_es.qm +share/pokerth/data/translations/pokerth_fi.qm +share/pokerth/data/translations/pokerth_fr.qm +share/pokerth/data/translations/pokerth_gr.qm +share/pokerth/data/translations/pokerth_hu.qm +share/pokerth/data/translations/pokerth_it.qm +share/pokerth/data/translations/pokerth_nl.qm +share/pokerth/data/translations/pokerth_no.qm +share/pokerth/data/translations/pokerth_pl.qm +share/pokerth/data/translations/pokerth_ptbr.qm +share/pokerth/data/translations/pokerth_ru.qm +share/pokerth/data/translations/pokerth_sk.qm +share/pokerth/data/translations/pokerth_sv.qm +share/pokerth/data/translations/pokerth_tr.qm +share/pokerth/data/translations/pokerth_zhcn.qm +share/pokerth/data/translations/qt_de.qm +share/pokerth/data/translations/qt_es.qm +share/pokerth/data/translations/qt_fr.qm +share/pokerth/data/translations/qt_nl.qm +share/pokerth/data/translations/qt_ru.qm +@dirrm share/pokerth/data/translations +@dirrm share/pokerth/data/sounds/default +@dirrm share/pokerth/data/sounds +@dirrm share/pokerth/data/misc +@dirrm share/pokerth/data/gfx/gui/table/default +@dirrm share/pokerth/data/gfx/gui/table +@dirrm share/pokerth/data/gfx/gui/misc +@dirrm share/pokerth/data/gfx/gui +@dirrm share/pokerth/data/gfx/cards/default +@dirrm share/pokerth/data/gfx/cards +@dirrm share/pokerth/data/gfx/avatars/default/people +@dirrm share/pokerth/data/gfx/avatars/default/misc +@dirrm share/pokerth/data/gfx/avatars/default +@dirrm share/pokerth/data/gfx/avatars +@dirrm share/pokerth/data/gfx +@dirrm share/pokerth/data/fonts +@dirrm share/pokerth/data +@dirrm share/pokerth diff --git a/games/pokerth/distinfo b/games/pokerth/distinfo new file mode 100644 index 00000000000..8ccf80e8405 --- /dev/null +++ b/games/pokerth/distinfo @@ -0,0 +1,10 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/01/31 03:04:37 ahoka Exp $ + +SHA1 (PokerTH-0.6.3-2-src.tar.bz2) = b3bb880f95070add6aae17160ec0ebfc80a95ac0 +RMD160 (PokerTH-0.6.3-2-src.tar.bz2) = bc1d96c934e1aef645568457bd1941b8751cf372 +Size (PokerTH-0.6.3-2-src.tar.bz2) = 4644455 bytes +SHA1 (patch-aa) = 3aeb01a26edaa1b7ac0b19074f403a9c8fcf767f +SHA1 (patch-ab) = 89f2a8f5cbdb2a31da26552bd744b4762cd4275c +SHA1 (patch-ac) = e104ef1c435fa18bf763c9e38aff45b521358ab8 +SHA1 (patch-ad) = 455df4ef10824d41077fd993070fd927c5d461e0 +SHA1 (patch-ae) = 71af45ce4148c26e9182b1254af9826faa02cad6 diff --git a/games/pokerth/patches/patch-aa b/games/pokerth/patches/patch-aa new file mode 100644 index 00000000000..8c15832d947 --- /dev/null +++ b/games/pokerth/patches/patch-aa @@ -0,0 +1,44 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/01/31 03:04:37 ahoka Exp $ + +--- pokerth_game.pro.orig 2009-01-04 00:18:19.000000000 +0100 ++++ pokerth_game.pro +@@ -319,38 +319,7 @@ unix : !mac {
+
+ LIBPATH += lib
+
+- LIB_DIRS = $${PREFIX}/lib $${PREFIX}/lib64
+- BOOST_FS = boost_filesystem boost_filesystem-mt
+- BOOST_THREAD = boost_thread boost_thread-mt
+- BOOST_IOSTREAMS = boost_iostreams boost_iostreams-mt
+-
+-
+- for(dir, LIB_DIRS){
+- exists($$dir){
+- for(lib, BOOST_THREAD){
+- exists($${dir}/lib$${lib}.so*){
+- message("Found $$lib")
+- BOOST_THREAD = -l$$lib
+- }
+- }
+- for(lib, BOOST_FS){
+- exists($${dir}/lib$${lib}.so*){
+- message("Found $$lib")
+- BOOST_FS = -l$$lib
+- }
+- }
+- for(lib, BOOST_IOSTREAMS){
+- exists($${dir}/lib$${lib}.so*){
+- message("Found $$lib")
+- BOOST_IOSTREAMS = -l$$lib
+- }
+- }
+- }
+- }
+- BOOST_LIBS = $$BOOST_THREAD $$BOOST_FS $$BOOST_IOSTREAMS
+- !count(BOOST_LIBS, 3){
+- error("libboost (version >= 1.34.1) --> http://www.boost.org/")
+- }
++ LIBS += -lboost_filesystem-mt -lboost_thread-mt -lboost_iostreams-mt
+
+ if($$system(sdl-config --version)){
+ error("libSDL_mixer, libSDL --> http://www.libsdl.org/")
diff --git a/games/pokerth/patches/patch-ab b/games/pokerth/patches/patch-ab new file mode 100644 index 00000000000..a9fed120d5c --- /dev/null +++ b/games/pokerth/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2009/01/31 03:04:37 ahoka Exp $ + +--- src/third_party/libircclient/include/config.h.orig 2009-01-04 00:17:02.000000000 +0100 ++++ src/third_party/libircclient/include/config.h +@@ -2,7 +2,7 @@ + /* include/config.h.in. Generated from configure.in by autoheader. */ + + /* Define to 1 if you have the `gethostbyname_r' function. */ +-#if !defined(__APPLE__) && !defined(__OpenBSD__) ++#if !defined(__APPLE__) && !defined(__OpenBSD__) && !defined(__NetBSD__) + #define HAVE_GETHOSTBYNAME_R 1 + #endif + diff --git a/games/pokerth/patches/patch-ac b/games/pokerth/patches/patch-ac new file mode 100644 index 00000000000..33a06640951 --- /dev/null +++ b/games/pokerth/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.1.1.1 2009/01/31 03:04:37 ahoka Exp $ + +--- src/core/linux/convhelper.cpp.orig 2009-01-04 00:17:01.000000000 +0100 ++++ src/core/linux/convhelper.cpp +@@ -37,7 +37,7 @@ ConvHelper::NativeToUtf8(const std::stri + { + string retStr(inStr); + size_t insize = inStr.length(); +-#if defined(__APPLE__) || defined(__FreeBSD__) ++#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) + const char *inbuf = inStr.data(); + #else + char *inbuf = const_cast<char *>(inStr.data()); +@@ -72,7 +72,7 @@ ConvHelper::Utf8ToNative(const std::stri + { + string retStr(inStr); + size_t insize = inStr.length(); +-#if defined(__APPLE__) || defined(__FreeBSD__) ++#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) + const char *inbuf = inStr.data(); + #else + char *inbuf = const_cast<char *>(inStr.data()); diff --git a/games/pokerth/patches/patch-ad b/games/pokerth/patches/patch-ad new file mode 100644 index 00000000000..351f7aa6709 --- /dev/null +++ b/games/pokerth/patches/patch-ad @@ -0,0 +1,51 @@ +$NetBSD: patch-ad,v 1.1.1.1 2009/01/31 03:04:37 ahoka Exp $ + +--- pokerth_server.pro.orig 2009-01-31 00:19:52.000000000 +0100 ++++ pokerth_server.pro +@@ -163,44 +163,8 @@ unix : !mac { + + LIBPATH += lib + +- LIB_DIRS = $${PREFIX}/lib $${PREFIX}/lib64 +- BOOST_FS = boost_filesystem boost_filesystem-mt +- BOOST_THREAD = boost_thread boost_thread-mt +- BOOST_PROGRAM_OPTIONS = boost_program_options boost_program_options-mt +- BOOST_IOSTREAMS = boost_iostreams boost_iostreams-mt +- +- for(dir, LIB_DIRS){ +- exists($$dir){ +- for(lib, BOOST_THREAD){ +- exists($${dir}/lib$${lib}.so*){ +- message("Found $$lib") +- BOOST_THREAD = -l$$lib +- } +- } +- for(lib, BOOST_FS){ +- exists($${dir}/lib$${lib}.so*){ +- message("Found $$lib") +- BOOST_FS = -l$$lib +- } +- } +- for(lib, BOOST_PROGRAM_OPTIONS){ +- exists($${dir}/lib$${lib}.so*){ +- message("Found $$lib") +- BOOST_PROGRAM_OPTIONS = -l$$lib +- } +- } +- for(lib, BOOST_IOSTREAMS){ +- exists($${dir}/lib$${lib}.so*){ +- message("Found $$lib") +- BOOST_IOSTREAMS = -l$$lib +- } +- } +- } +- } +- BOOST_LIBS = $$BOOST_THREAD $$BOOST_FS $$BOOST_PROGRAM_OPTIONS $$BOOST_IOSTREAMS +- !count(BOOST_LIBS, 4){ +- error( libboost (version >= 1.34.1) --> http://www.boost.org/") +- } ++ LIBS += -lboost_filesystem-mt -lboost_thread-mt ++ LIBS += -lboost_program_options-mt -lboost_iostreams-mt + + UNAME = $$system(uname -s) + BSD = $$find(UNAME, "BSD") diff --git a/games/pokerth/patches/patch-ae b/games/pokerth/patches/patch-ae new file mode 100644 index 00000000000..70402aa0355 --- /dev/null +++ b/games/pokerth/patches/patch-ae @@ -0,0 +1,23 @@ +$NetBSD: patch-ae,v 1.1.1.1 2009/01/31 03:04:37 ahoka Exp $ + +--- src/core/openssl_wrapper.h.orig 2009-01-04 00:17:01.000000000 +0100 ++++ src/core/openssl_wrapper.h +@@ -40,15 +40,8 @@ + #undef X509_NAME // Again for Windows - conflict with WinCrypt.h. + #endif + +-#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__FreeBSD__) +- // For BSD-Systems, we assume that OpenSSL is part of the operating system. +- #include <openssl/ssl.h> +- #include <openssl/md5.h> +- #include <openssl/rand.h> +-#else +- // For all other systems, we use GnuTLS. +- #include <gnutls/openssl.h> +- #define PKTH_USE_GNUTLS +-#endif ++#include <openssl/ssl.h> ++#include <openssl/md5.h> ++#include <openssl/rand.h> + + #endif |