diff options
Diffstat (limited to 'games')
89 files changed, 0 insertions, 5057 deletions
diff --git a/games/Makefile b/games/Makefile index 4b6da9cbd7f6..a6d4f3d33bdc 100644 --- a/games/Makefile +++ b/games/Makefile @@ -171,7 +171,6 @@ SUBDIR += connectfive SUBDIR += conquest SUBDIR += construo - SUBDIR += corewars SUBDIR += corsix-th SUBDIR += cosmo SUBDIR += cosmosmash @@ -222,7 +221,6 @@ SUBDIR += doom-wolfendoom SUBDIR += doomlegacy SUBDIR += doomsday - SUBDIR += dopewars SUBDIR += drcreep SUBDIR += drm SUBDIR += duckmaze @@ -326,7 +324,6 @@ SUBDIR += galaxis SUBDIR += galaxyhack SUBDIR += garden-of-coloured-lights - SUBDIR += garith SUBDIR += gbottler SUBDIR += gbrainy SUBDIR += gcompris @@ -398,7 +395,6 @@ SUBDIR += gtkatlantic SUBDIR += gtkballs SUBDIR += gtkevemon - SUBDIR += gtklife SUBDIR += gtkpool SUBDIR += gtkradiant SUBDIR += gtypist @@ -460,7 +456,6 @@ SUBDIR += jvgs SUBDIR += jzip SUBDIR += kajaani-kombat - SUBDIR += kajongg SUBDIR += kajongg-kde4 SUBDIR += kanagram SUBDIR += kanagram-kde4 @@ -638,7 +633,6 @@ SUBDIR += meqcc SUBDIR += meritous SUBDIR += mindfocus - SUBDIR += mindguard SUBDIR += minecraft-client SUBDIR += minecraft-server SUBDIR += minerbold @@ -685,7 +679,6 @@ SUBDIR += netradiant SUBDIR += netrek-BRMH-bin SUBDIR += netrek-client-cow - SUBDIR += netspades SUBDIR += nettoe SUBDIR += netwalk SUBDIR += neverball @@ -1100,7 +1093,6 @@ SUBDIR += wmeyes SUBDIR += wmpuzzle SUBDIR += wmqstat - SUBDIR += wmquake SUBDIR += wmshuffle SUBDIR += wmtictactoe SUBDIR += wolfpack @@ -1116,8 +1108,6 @@ SUBDIR += xasteroids SUBDIR += xataxx SUBDIR += xbat - SUBDIR += xbattle - SUBDIR += xbill SUBDIR += xbl SUBDIR += xblackjack SUBDIR += xblast @@ -1192,7 +1182,6 @@ SUBDIR += xpipeman SUBDIR += xpired SUBDIR += xptools - SUBDIR += xpuyopuyo SUBDIR += xpuzzletama SUBDIR += xpyraminx SUBDIR += xqf @@ -1239,7 +1228,6 @@ SUBDIR += zdoom SUBDIR += zephulor SUBDIR += zhlt - SUBDIR += znibbles SUBDIR += zoom SUBDIR += ztrack diff --git a/games/corewars/Makefile b/games/corewars/Makefile deleted file mode 100644 index ef9a61c98e50..000000000000 --- a/games/corewars/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# $FreeBSD$ - -PORTNAME= corewars -PORTVERSION= 0.9.13 -PORTREVISION= 6 -CATEGORIES= games -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28stable%2C%20tar.gz%29/${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Simulation game where the goal is to crash each other's programs - -DEPRECATED= Uses obsolete glib12 -EXPIRATION_DATE= 2018-12-20 - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING - -BUILD_DEPENDS= ${LOCALBASE}/lib/libargp.a:devel/argp-standalone - -USES= gmake localbase:ldflags -USE_GNOME= gtk12 -GNU_CONFIGURE= yes - -OPTIONS_DEFINE= DOCS - -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} - -.include <bsd.port.mk> diff --git a/games/corewars/distinfo b/games/corewars/distinfo deleted file mode 100644 index 1d0aa3b3d55f..000000000000 --- a/games/corewars/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (corewars-0.9.13.tar.gz) = 23957e620e3bbee265c3eb878752caf5d4186428e361af79a3373a698010f6e2 -SIZE (corewars-0.9.13.tar.gz) = 203874 diff --git a/games/corewars/files/patch-src_Makefile.in b/games/corewars/files/patch-src_Makefile.in deleted file mode 100644 index 6a3774b1d013..000000000000 --- a/games/corewars/files/patch-src_Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- src/Makefile.in.orig Wed Oct 23 09:52:33 2002 -+++ src/Makefile.in Fri Oct 7 17:09:27 2005 -@@ -538,7 +538,7 @@ - corewars-cmd: $(corewars_cmd_OBJECTS) $(corewars_cmd_DEPENDENCIES) - @rm -f corewars-cmd - $(LINK) $(corewars_cmd_LDFLAGS) $(corewars_cmd_OBJECTS) \ -- $(corewars_cmd_LDADD) -L/usr/lib -rdynamic -lm -+ $(corewars_cmd_LDADD) -largp -L/usr/lib -rdynamic -lm - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. - .NOEXPORT: diff --git a/games/corewars/pkg-descr b/games/corewars/pkg-descr deleted file mode 100644 index 3ada5a28d945..000000000000 --- a/games/corewars/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -Core Wars is a simulation game. A number of programs are loaded into a -virtual machine and executed. The programs can try to crash each other, -manipulate other programs, overwrite as much memory as they can, etc... -The "best" program is selected according to a scoring mechanism which -involves the number of memory cells the program has overwritten, the -number of other programs it has crashed and whether/when it crashed. - -WWW: http://corewars.sourceforge.net/ diff --git a/games/corewars/pkg-plist b/games/corewars/pkg-plist deleted file mode 100644 index 974c28cbbd2b..000000000000 --- a/games/corewars/pkg-plist +++ /dev/null @@ -1,100 +0,0 @@ -bin/corewars -bin/corewars-cmd -man/man6/corewars-cmd.6.gz -man/man6/corewars.6.gz -%%DATADIR%%/abez.cw -%%DATADIR%%/agent.cw -%%DATADIR%%/backspawner.cw -%%DATADIR%%/backwalker.cw -%%DATADIR%%/baselineplus.red -%%DATADIR%%/bb1.cw -%%DATADIR%%/bb2.cw -%%DATADIR%%/bb3.cw -%%DATADIR%%/betterback.cw -%%DATADIR%%/blackhole.cw -%%DATADIR%%/bomb.cw -%%DATADIR%%/bombagent.cw -%%DATADIR%%/bomberbomber.cw -%%DATADIR%%/capture.cw -%%DATADIR%%/cascade.cw -%%DATADIR%%/clone.cw -%%DATADIR%%/copy.cw -%%DATADIR%%/copymachine.cw -%%DATADIR%%/copymachinem.cw -%%DATADIR%%/copytest.cw -%%DATADIR%%/crazymonkeys.cw -%%DATADIR%%/death_angles.cw -%%DATADIR%%/devil.cw -%%DATADIR%%/devilhook.cw -%%DATADIR%%/dwarf.cw -%%DATADIR%%/erase.cw -%%DATADIR%%/erase2.cw -%%DATADIR%%/erase3.cw -%%DATADIR%%/expander.cw -%%DATADIR%%/first.cw -%%DATADIR%%/forkbomb.cw -%%DATADIR%%/forker.cw -%%DATADIR%%/gate.red -%%DATADIR%%/gemini.cw -%%DATADIR%%/giant_imp.cw -%%DATADIR%%/harmless.cw -%%DATADIR%%/helper.cw -%%DATADIR%%/hidebomb.cw -%%DATADIR%%/hitchhiker.cw -%%DATADIR%%/immortal.cw -%%DATADIR%%/imp-killer-cascade.cw -%%DATADIR%%/imp.red -%%DATADIR%%/imp_commander.cw -%%DATADIR%%/impgrabber.cw -%%DATADIR%%/impkiller1.cw -%%DATADIR%%/impkiller2.cw -%%DATADIR%%/impkiller3.cw -%%DATADIR%%/impkiller4.cw -%%DATADIR%%/impkiller5.cw -%%DATADIR%%/impspiral.red -%%DATADIR%%/incendiarybomb.red -%%DATADIR%%/incubator.cw -%%DATADIR%%/incubator2.cw -%%DATADIR%%/inverter.cw -%%DATADIR%%/jumpback.cw -%%DATADIR%%/jumpback2.cw -%%DATADIR%%/jumpup.cw -%%DATADIR%%/killmover.cw -%%DATADIR%%/killmover2.cw -%%DATADIR%%/lethal.cw -%%DATADIR%%/lhwMultiHopper.cw -%%DATADIR%%/lhwShootingMother2.cw -%%DATADIR%%/lizard.cw -%%DATADIR%%/mod4_dwarf.cw -%%DATADIR%%/monkeys.cw -%%DATADIR%%/mover.cw -%%DATADIR%%/mover2.cw -%%DATADIR%%/parasito1.cw -%%DATADIR%%/parasito2.cw -%%DATADIR%%/parasito3.cw -%%DATADIR%%/parasito4.cw -%%DATADIR%%/pongmissile.cw -%%DATADIR%%/pongmissile2.cw -%%DATADIR%%/pongmissile3.cw -%%DATADIR%%/quadwalker.cw -%%DATADIR%%/random.cw -%%DATADIR%%/runaway.cw -%%DATADIR%%/runningcopy.cw -%%DATADIR%%/safetyinnumbers.red -%%DATADIR%%/searchanddestroy.cw -%%DATADIR%%/searchanddestroy2.cw -%%DATADIR%%/shooter.cw -%%DATADIR%%/silk.red -%%DATADIR%%/steal.cw -%%DATADIR%%/steal2.cw -%%DATADIR%%/suicidal.cw -%%DATADIR%%/survival.cw -%%DATADIR%%/takeover.cw -%%DATADIR%%/teleporter.cw -%%DATADIR%%/teleporter2.cw -%%DATADIR%%/throwncatch.cw -%%DATADIR%%/trine.cw -%%DATADIR%%/walker.cw -%%DATADIR%%/wintermute.red -%%DATADIR%%/xcopy.cw -%%PORTDOCS%%%%DOCSDIR%%/README diff --git a/games/dopewars/Makefile b/games/dopewars/Makefile deleted file mode 100644 index aa0282512aae..000000000000 --- a/games/dopewars/Makefile +++ /dev/null @@ -1,48 +0,0 @@ -# Created by: Jim Mock <jim@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= dopewars -PORTVERSION= 1.5.12 -PORTREVISION= 7 -CATEGORIES= games -MASTER_SITES= SF - -MAINTAINER= ports@FreeBSD.org -COMMENT= UNIX rewrite of a game originally based on "Drug Wars" - -DEPRECATED= Uses obsolete glib12 -EXPIRATION_DATE= 2018-12-20 - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING - -USES= cpe gmake gettext -GNU_CONFIGURE= yes -USE_GNOME= gtk12 - -CONFIGURE_ARGS= --enable-networking --disable-plugins --localstatedir=${DATADIR} -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - -PORTDOCS= ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL LICENCE NEWS README TODO - -OPTIONS_DEFINE= DOCS - -post-patch: - @${REINPLACE_CMD} -e 's!/pixmaps!/dopewars/pixmaps!' \ - -e '/chmod 2755/d' \ - ${WRKSRC}/src/Makefile.in - @${REINPLACE_CMD} -e 's!^CFLAGS =!CFLAGS = \@GLIB_CFLAGS\@!' \ - ${WRKSRC}/src/gui_client/Makefile.in \ - ${WRKSRC}/src/curses_client/Makefile.in - @${REINPLACE_CMD} -e 's!install-recursive!!g' ${WRKSRC}/doc/Makefile.in - -post-install: - ${INSTALL_MAN} ${WRKSRC}/doc/dopewars.6 ${STAGEDIR}${MAN6PREFIX}/man/man6 - @${MKDIR} ${STAGEDIR}${DOCSDIR}/help - ${INSTALL_DATA} ${WRKSRC}/doc/*html ${WRKSRC}/doc/example* \ - ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/help/*html ${STAGEDIR}${DOCSDIR}/help - ${INSTALL_DATA} ${PORTDOCS:S.^.${WRKSRC}/.} ${STAGEDIR}${DOCSDIR} - -.include <bsd.port.mk> diff --git a/games/dopewars/distinfo b/games/dopewars/distinfo deleted file mode 100644 index 600fd850d7b1..000000000000 --- a/games/dopewars/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (dopewars-1.5.12.tar.gz) = 23059dcdea96c6072b148ee21d76237ef3535e5be90b3b2d8239d150feee0c19 -SIZE (dopewars-1.5.12.tar.gz) = 1419725 diff --git a/games/dopewars/pkg-descr b/games/dopewars/pkg-descr deleted file mode 100644 index 958145ededc5..000000000000 --- a/games/dopewars/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -The idea of dopewars is to deal drugs on the streets of New York, -amassing a huge fortune and paying off the loan shark, while avoiding -the ever-annoying police. The UNIX rewrite, as well as featuring a -so-called "antique" mode which closely follows the original, -introduces new features such as the ability to take part in -multi-player games. - -WWW: http://dopewars.sourceforge.net/ diff --git a/games/dopewars/pkg-plist b/games/dopewars/pkg-plist deleted file mode 100644 index 6616a501f68c..000000000000 --- a/games/dopewars/pkg-plist +++ /dev/null @@ -1,52 +0,0 @@ -@(,games,2755) bin/dopewars -man/man6/dopewars.6.gz -%%PORTDOCS%%%%DOCSDIR%%/aiplayer.html -%%PORTDOCS%%%%DOCSDIR%%/clientplay.html -%%PORTDOCS%%%%DOCSDIR%%/commandline.html -%%PORTDOCS%%%%DOCSDIR%%/configfile.html -%%PORTDOCS%%%%DOCSDIR%%/contribute.html -%%PORTDOCS%%%%DOCSDIR%%/credits.html -%%PORTDOCS%%%%DOCSDIR%%/developer.html -%%PORTDOCS%%%%DOCSDIR%%/example-cfg -%%PORTDOCS%%%%DOCSDIR%%/example-igneous -%%PORTDOCS%%%%DOCSDIR%%/help/cops.html -%%PORTDOCS%%%%DOCSDIR%%/help/drugs.html -%%PORTDOCS%%%%DOCSDIR%%/help/general.html -%%PORTDOCS%%%%DOCSDIR%%/help/guns.html -%%PORTDOCS%%%%DOCSDIR%%/help/locations.html -%%PORTDOCS%%%%DOCSDIR%%/help/server.html -%%PORTDOCS%%%%DOCSDIR%%/help/sounds.html -%%PORTDOCS%%%%DOCSDIR%%/i18n.html -%%PORTDOCS%%%%DOCSDIR%%/index.html -%%PORTDOCS%%%%DOCSDIR%%/installation.html -%%PORTDOCS%%%%DOCSDIR%%/metaserver.html -%%PORTDOCS%%%%DOCSDIR%%/protocol.html -%%PORTDOCS%%%%DOCSDIR%%/server.html -%%PORTDOCS%%%%DOCSDIR%%/servercommands.html -%%PORTDOCS%%%%DOCSDIR%%/windows.html -@(,games,) %%DATADIR%%/dopewars.sco -%%DATADIR%%/bye.wav -%%DATADIR%%/colt.wav -%%DATADIR%%/die.wav -%%DATADIR%%/gun.wav -%%DATADIR%%/jet.wav -%%DATADIR%%/losebitch.wav -%%DATADIR%%/message.wav -%%DATADIR%%/murmur.wav -%%DATADIR%%/punch.wav -%%DATADIR%%/run.wav -%%DATADIR%%/shotdown.wav -%%DATADIR%%/train.wav -@unexec if [ ! -s %D/%%DATADIR%%/dopewars.sco.bak ]; then rm -f %D/%%DATADIR%%/dopewars.sco.bak; fi -%%DATADIR%%/pixmaps/dopewars-pill.png -%%DATADIR%%/pixmaps/dopewars-shot.png -%%DATADIR%%/pixmaps/dopewars-weed.png -share/locale/de/LC_MESSAGES/dopewars.mo -share/locale/es/LC_MESSAGES/dopewars.mo -share/locale/es_ES/LC_MESSAGES/dopewars.mo -share/locale/fr/LC_MESSAGES/dopewars.mo -share/locale/fr_CA/LC_MESSAGES/dopewars.mo -share/locale/nn/LC_MESSAGES/dopewars.mo -share/locale/pl/LC_MESSAGES/dopewars.mo -share/locale/pt_BR/LC_MESSAGES/dopewars.mo -share/gnome/apps/Games/dopewars.desktop diff --git a/games/garith/Makefile b/games/garith/Makefile deleted file mode 100644 index 417f21672bd3..000000000000 --- a/games/garith/Makefile +++ /dev/null @@ -1,38 +0,0 @@ -# Created by: Andrey Zakhvatov -# $FreeBSD$ - -PORTNAME= garith -PORTVERSION= 2.1 -PORTREVISION= 7 -CATEGORIES= games -MASTER_SITES= http://www.cnm-vra.com/micah/garith/ -# Latest version (2.3.1) does not build with gtk 1.2.10 - -MAINTAINER= ports@FreeBSD.org -COMMENT= Arithmetic quiz program for X Window System - -DEPRECATED= Uses obsolete glib12 -EXPIRATION_DATE= 2018-12-20 - -USE_GNOME= gtk12 -WRKSRC= ${WRKDIR}/garith -CFLAGS+= `${GTK_CONFIG} --cflags` -LDFLAGS+= `${GTK_CONFIG} --libs` -PORTDOCS= BUGS HISTORY README TODO -PLIST_FILES= bin/garith - -OPTIONS_DEFINE= DOCS - -post-patch: - @${REINPLACE_CMD} -e 's|gldouble|double|;/gnome/d;/all.*apps/d'\ - ${WRKSRC}/garith.c - -do-build: - cd ${WRKSRC}&&${CC} ${CFLAGS} -o garith garith.c ${LDFLAGS} - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/garith ${STAGEDIR}${PREFIX}/bin/ - @${INSTALL} -d ${STAGEDIR}${DOCSDIR}/ - @cd ${WRKSRC}&&${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ - -.include <bsd.port.mk> diff --git a/games/garith/distinfo b/games/garith/distinfo deleted file mode 100644 index dd004ad0c72f..000000000000 --- a/games/garith/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (garith-2.1.tar.gz) = 408e935a6b232e49c03000ed2ac64220914c36db5576be930b99dbc83f013c38 -SIZE (garith-2.1.tar.gz) = 20620 diff --git a/games/garith/pkg-descr b/games/garith/pkg-descr deleted file mode 100644 index 862f5bfab06c..000000000000 --- a/games/garith/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -G Arith is a GTK+ based arithmetic quiz program for X Window System. -It is fairly self-explanatory, so there is no documentation about -program usage much at all. - -WWW: http://www.cnm-vra.com/micah/garith/ diff --git a/games/gtklife/Makefile b/games/gtklife/Makefile deleted file mode 100644 index c8bcb8e2fd19..000000000000 --- a/games/gtklife/Makefile +++ /dev/null @@ -1,62 +0,0 @@ -# Created by: Jean-Yves Lefort <jylefort@brutele.be> -# $FreeBSD$ - -PORTNAME= gtklife -PORTVERSION= 5.2 -CATEGORIES= games -MASTER_SITES= http://ironphoenix.org/tril/gtklife/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= GTK+ implementation of Conways Game of Life - -DEPRECATED= Uses obsolete glib12 -EXPIRATION_DATE= 2018-12-20 - -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING - -USES= gmake -MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" PREFIX="${PREFIX}" docdir="${DOCSDIR}" -INSTALLS_ICONS= yes - -PORTDATA= * -PORTDOCS= * - -DATA_SUBDIRS= graphics patterns -ICON_SIZES= 16x16 32x32 48x48 - -DESKTOP_ENTRIES="GtkLife" \ - "Play Conway's Game of Life" \ - "gtklife" \ - "gtklife" \ - "Game;Simulation;" \ - ${STARTUP_NOTIFY} - -OPTIONS_DEFINE= GTK2 DOCS - -GTK2_DESC= GTK2 gui toolkit support (beta) -GTK2_USE= GNOME=gtk20 XORG=x11 -GTK2_USES= pkgconfig -GTK2_USE_OFF= GNOME=gtk12 -GTK2_MAKE_ARGS= gtk2=yes -GTK2_LDFLAGS= -lX11 -GTK2_VARS= STARTUP_NOTIFY=true -GTK2_VARS_OFF= STARTUP_NOTIFY=false - -post-patch: - @${REINPLACE_CMD} -e 's|gtk-config|${GTK_CONFIG}|' ${WRKSRC}/Makefile - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/gtklife ${STAGEDIR}${PREFIX}/bin - cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} -.for s in ${ICON_SIZES} - @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps - ${INSTALL_DATA} ${WRKSRC}/icon_${s}.png \ - ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/gtklife.png -.endfor - -do-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} - -.include <bsd.port.mk> diff --git a/games/gtklife/distinfo b/games/gtklife/distinfo deleted file mode 100644 index 852896ec749f..000000000000 --- a/games/gtklife/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1509795419 -SHA256 (gtklife-5.2.tar.gz) = e05eec3faf2bf6dab3f0e9fcf4a0a04662d1c26d99c7c61207487814f608c093 -SIZE (gtklife-5.2.tar.gz) = 808937 diff --git a/games/gtklife/pkg-descr b/games/gtklife/pkg-descr deleted file mode 100644 index 7aa66fb9a97e..000000000000 --- a/games/gtklife/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -GtkLife is a fast and featureful GTK+ implementation of Conway's Game -of Life. - -WWW: http://ironphoenix.org/tril/gtklife/ diff --git a/games/gtklife/pkg-plist b/games/gtklife/pkg-plist deleted file mode 100644 index 96e5a5ca1e66..000000000000 --- a/games/gtklife/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/gtklife -share/icons/hicolor/16x16/apps/gtklife.png -share/icons/hicolor/32x32/apps/gtklife.png -share/icons/hicolor/48x48/apps/gtklife.png diff --git a/games/kajongg/Makefile b/games/kajongg/Makefile deleted file mode 100644 index e74676713faf..000000000000 --- a/games/kajongg/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -# $FreeBSD$ - -BROKEN= Requires PyQt5 for python3 which is broken at the moment. -DEPRECATED= Broken for more than 6 months -EXPIRATION_DATE= 2018-12-19 - -PORTNAME= kajongg -DISTVERSION= ${KDE_APPLICATIONS_VERSION} -CATEGORIES= games kde kde-applications - -MAINTAINER= kde@FreeBSD.org -COMMENT= ${${PORTNAME}_DESC} - -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR} - -USES= cmake:outsource pkgconfig python:3 pyqt:5 kde:5 qt:5 tar:xz \ - sqlite -USE_KDE= config doctools ecm -USE_PYQT= core gui svg widgets -USE_QT= core gui svg widgets \ - buildtools_build qmake_build - -OPTIONS_DEFINE= DOCS - -.include <${.CURDIR}/../kdegames/Makefile.common> -.include <bsd.port.mk> diff --git a/games/kajongg/distinfo b/games/kajongg/distinfo deleted file mode 100644 index 878ea3d2cd92..000000000000 --- a/games/kajongg/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1544225592 -SHA256 (KDE/applications/18.12.0/kajongg-18.12.0.tar.xz) = f474619f62e5869dadf000dd796477040c4aa255dd15f627ab795e2732eb364d -SIZE (KDE/applications/18.12.0/kajongg-18.12.0.tar.xz) = 4466648 diff --git a/games/kajongg/pkg-descr b/games/kajongg/pkg-descr deleted file mode 100644 index 17d013487038..000000000000 --- a/games/kajongg/pkg-descr +++ /dev/null @@ -1,16 +0,0 @@ -Kajongg - the classical Mah Jongg for four players. If you are -looking for the Mah Jongg solitaire please use the application -KMahjongg. - -Kajongg can be used in two different ways. Scoring a manual game -where you play as always and use Kajongg for the computation of -scores and for bookkeeping. Or you can use Kajongg to play against -any combination of other human players or computer players. - -Kajongg comes with a ruleset for classical Chinese as played in -Germany. You can change the ruleset at your will and also define -whole new rulesets. The rules for a game are saved in the database, -so every game could be played with different rules. Changing a -ruleset does not affect existing games. - -WWW: http://www.kde.org/applications/games/kajongg diff --git a/games/kajongg/pkg-plist b/games/kajongg/pkg-plist deleted file mode 100644 index 92a52a3d5a41..000000000000 --- a/games/kajongg/pkg-plist +++ /dev/null @@ -1,542 +0,0 @@ -share/applications/org.kde.kajongg.desktop -share/icons/hicolor/128x128/apps/kajongg.png -share/icons/hicolor/16x16/apps/kajongg.png -share/icons/hicolor/22x22/apps/kajongg.png -share/icons/hicolor/32x32/apps/kajongg.png -share/icons/hicolor/48x48/apps/kajongg.png -share/icons/hicolor/64x64/apps/kajongg.png -share/icons/hicolor/scalable/actions/games-kajongg-law.svgz -share/icons/hicolor/scalable/apps/kajongg.svgz -%%DATADIR%%/%%PYCACHE%%about.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%altint.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%animation.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%background.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%backgroundselector.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%board.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%chat.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%client.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%common.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%config.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%configdialog.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%deferredutil.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%dialogs.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%differ.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%game.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%games.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%genericdelegates.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%guiutil.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%hand.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%handboard.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%humanclient.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%intelligence.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%kajongg.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%kajonggserver.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%kde.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%kdepaths.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%kdestub.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%log.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%login.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%mainwindow.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%meld.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%message.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%mi18n.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%mjresource.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%modeltest.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%move.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%permutations.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%player.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%playerlist.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%predefined.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%qt.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%qtreactor.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%query.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%rand.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%rule.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%rulecode.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%rulesetselector.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%scene.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%scoring.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%scoringdialog.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%server.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%servercommon.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%servertable.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%sound.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%statesaver.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%tables.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%tile.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%tileset.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%tilesetselector.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%tilesource.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%tree.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%uitile.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%uiwall.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%user.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%util.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%visible.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%wall.%%PYC_SUFFIX%% -%%DATADIR%%/%%PYCACHE%%wind.%%PYC_SUFFIX%% -%%DATADIR%%/about.py -%%DATADIR%%/altint.py -%%DATADIR%%/animation.py -%%DATADIR%%/background.py -%%DATADIR%%/backgroundselector.py -%%DATADIR%%/backgroundselector.ui -%%DATADIR%%/board.py -%%DATADIR%%/chat.py -%%DATADIR%%/client.py -%%DATADIR%%/common.py -%%DATADIR%%/config.py -%%DATADIR%%/configdialog.py -%%DATADIR%%/deferredutil.py -%%DATADIR%%/dialogs.py -%%DATADIR%%/differ.py -%%DATADIR%%/game.py -%%DATADIR%%/games.py -%%DATADIR%%/genericdelegates.py -%%DATADIR%%/guiutil.py -%%DATADIR%%/hand.py -%%DATADIR%%/handboard.py -%%DATADIR%%/humanclient.py -%%DATADIR%%/intelligence.py -%%DATADIR%%/kajongg.py -%%DATADIR%%/kajonggserver.py -%%DATADIR%%/kajonggui.rc -%%DATADIR%%/kde.py -%%DATADIR%%/kdepaths.py -%%DATADIR%%/kdestub.py -%%DATADIR%%/log.py -%%DATADIR%%/login.py -%%DATADIR%%/mainwindow.py -%%DATADIR%%/meld.py -%%DATADIR%%/message.py -%%DATADIR%%/mi18n.py -%%DATADIR%%/mjresource.py -%%DATADIR%%/modeltest.py -%%DATADIR%%/move.py -%%DATADIR%%/permutations.py -%%DATADIR%%/player.py -%%DATADIR%%/playerlist.py -%%DATADIR%%/predefined.py -%%DATADIR%%/qt.py -%%DATADIR%%/qtreactor.py -%%DATADIR%%/query.py -%%DATADIR%%/rand.py -%%DATADIR%%/rule.py -%%DATADIR%%/rulecode.py -%%DATADIR%%/rulesetselector.py -%%DATADIR%%/scene.py -%%DATADIR%%/scoring.py -%%DATADIR%%/scoringdialog.py -%%DATADIR%%/server.py -%%DATADIR%%/servercommon.py -%%DATADIR%%/servertable.py -%%DATADIR%%/sound.py -%%DATADIR%%/statesaver.py -%%DATADIR%%/tables.py -%%DATADIR%%/tile.py -%%DATADIR%%/tileset.py -%%DATADIR%%/tilesetselector.py -%%DATADIR%%/tilesetselector.ui -%%DATADIR%%/tilesource.py -%%DATADIR%%/tree.py -%%DATADIR%%/uitile.py -%%DATADIR%%/uiwall.py -%%DATADIR%%/user.py -%%DATADIR%%/util.py -%%DATADIR%%/visible.py -%%DATADIR%%/voices/de/female1/COPYRIGHT -%%DATADIR%%/voices/de/female1/b1.ogg -%%DATADIR%%/voices/de/female1/b2.ogg -%%DATADIR%%/voices/de/female1/b3.ogg -%%DATADIR%%/voices/de/female1/b4.ogg -%%DATADIR%%/voices/de/female1/b5.ogg -%%DATADIR%%/voices/de/female1/b6.ogg -%%DATADIR%%/voices/de/female1/b7.ogg -%%DATADIR%%/voices/de/female1/b8.ogg -%%DATADIR%%/voices/de/female1/b9.ogg -%%DATADIR%%/voices/de/female1/c1.ogg -%%DATADIR%%/voices/de/female1/c2.ogg -%%DATADIR%%/voices/de/female1/c3.ogg -%%DATADIR%%/voices/de/female1/c4.ogg -%%DATADIR%%/voices/de/female1/c5.ogg -%%DATADIR%%/voices/de/female1/c6.ogg -%%DATADIR%%/voices/de/female1/c7.ogg -%%DATADIR%%/voices/de/female1/c8.ogg -%%DATADIR%%/voices/de/female1/c9.ogg -%%DATADIR%%/voices/de/female1/chow.ogg -%%DATADIR%%/voices/de/female1/dangerousgame.ogg -%%DATADIR%%/voices/de/female1/db.ogg -%%DATADIR%%/voices/de/female1/dg.ogg -%%DATADIR%%/voices/de/female1/dr.ogg -%%DATADIR%%/voices/de/female1/kong.ogg -%%DATADIR%%/voices/de/female1/mahjongg.ogg -%%DATADIR%%/voices/de/female1/md5sum -%%DATADIR%%/voices/de/female1/nochoice.ogg -%%DATADIR%%/voices/de/female1/originalcall.ogg -%%DATADIR%%/voices/de/female1/pung.ogg -%%DATADIR%%/voices/de/female1/s1.ogg -%%DATADIR%%/voices/de/female1/s2.ogg -%%DATADIR%%/voices/de/female1/s3.ogg -%%DATADIR%%/voices/de/female1/s4.ogg -%%DATADIR%%/voices/de/female1/s5.ogg -%%DATADIR%%/voices/de/female1/s6.ogg -%%DATADIR%%/voices/de/female1/s7.ogg -%%DATADIR%%/voices/de/female1/s8.ogg -%%DATADIR%%/voices/de/female1/s9.ogg -%%DATADIR%%/voices/de/female1/violatesoriginalcall.ogg -%%DATADIR%%/voices/de/female1/we.ogg -%%DATADIR%%/voices/de/female1/wn.ogg -%%DATADIR%%/voices/de/female1/ws.ogg -%%DATADIR%%/voices/de/female1/ww.ogg -%%DATADIR%%/voices/de/female2/COPYRIGHT -%%DATADIR%%/voices/de/female2/b1.ogg -%%DATADIR%%/voices/de/female2/b2.ogg -%%DATADIR%%/voices/de/female2/b3.ogg -%%DATADIR%%/voices/de/female2/b4.ogg -%%DATADIR%%/voices/de/female2/b5.ogg -%%DATADIR%%/voices/de/female2/b6.ogg -%%DATADIR%%/voices/de/female2/b7.ogg -%%DATADIR%%/voices/de/female2/b8.ogg -%%DATADIR%%/voices/de/female2/b9.ogg -%%DATADIR%%/voices/de/female2/c1.ogg -%%DATADIR%%/voices/de/female2/c2.ogg -%%DATADIR%%/voices/de/female2/c3.ogg -%%DATADIR%%/voices/de/female2/c4.ogg -%%DATADIR%%/voices/de/female2/c5.ogg -%%DATADIR%%/voices/de/female2/c6.ogg -%%DATADIR%%/voices/de/female2/c7.ogg -%%DATADIR%%/voices/de/female2/c8.ogg -%%DATADIR%%/voices/de/female2/c9.ogg -%%DATADIR%%/voices/de/female2/chow.ogg -%%DATADIR%%/voices/de/female2/dangerousgame.ogg -%%DATADIR%%/voices/de/female2/db.ogg -%%DATADIR%%/voices/de/female2/dg.ogg -%%DATADIR%%/voices/de/female2/dr.ogg -%%DATADIR%%/voices/de/female2/kong.ogg -%%DATADIR%%/voices/de/female2/mahjongg.ogg -%%DATADIR%%/voices/de/female2/md5sum -%%DATADIR%%/voices/de/female2/nochoice.ogg -%%DATADIR%%/voices/de/female2/originalcall.ogg -%%DATADIR%%/voices/de/female2/pung.ogg -%%DATADIR%%/voices/de/female2/s1.ogg -%%DATADIR%%/voices/de/female2/s2.ogg -%%DATADIR%%/voices/de/female2/s3.ogg -%%DATADIR%%/voices/de/female2/s4.ogg -%%DATADIR%%/voices/de/female2/s5.ogg -%%DATADIR%%/voices/de/female2/s6.ogg -%%DATADIR%%/voices/de/female2/s7.ogg -%%DATADIR%%/voices/de/female2/s8.ogg -%%DATADIR%%/voices/de/female2/s9.ogg -%%DATADIR%%/voices/de/female2/violatesoriginalcall.ogg -%%DATADIR%%/voices/de/female2/we.ogg -%%DATADIR%%/voices/de/female2/wn.ogg -%%DATADIR%%/voices/de/female2/ws.ogg -%%DATADIR%%/voices/de/female2/ww.ogg -%%DATADIR%%/voices/de/male1/COPYRIGHT -%%DATADIR%%/voices/de/male1/b1.ogg -%%DATADIR%%/voices/de/male1/b2.ogg -%%DATADIR%%/voices/de/male1/b3.ogg -%%DATADIR%%/voices/de/male1/b4.ogg -%%DATADIR%%/voices/de/male1/b5.ogg -%%DATADIR%%/voices/de/male1/b6.ogg -%%DATADIR%%/voices/de/male1/b7.ogg -%%DATADIR%%/voices/de/male1/b8.ogg -%%DATADIR%%/voices/de/male1/b9.ogg -%%DATADIR%%/voices/de/male1/c1.ogg -%%DATADIR%%/voices/de/male1/c2.ogg -%%DATADIR%%/voices/de/male1/c3.ogg -%%DATADIR%%/voices/de/male1/c4.ogg -%%DATADIR%%/voices/de/male1/c5.ogg -%%DATADIR%%/voices/de/male1/c6.ogg -%%DATADIR%%/voices/de/male1/c7.ogg -%%DATADIR%%/voices/de/male1/c8.ogg -%%DATADIR%%/voices/de/male1/c9.ogg -%%DATADIR%%/voices/de/male1/chow.ogg -%%DATADIR%%/voices/de/male1/dangerousgame.ogg -%%DATADIR%%/voices/de/male1/db.ogg -%%DATADIR%%/voices/de/male1/dg.ogg -%%DATADIR%%/voices/de/male1/dr.ogg -%%DATADIR%%/voices/de/male1/kong.ogg -%%DATADIR%%/voices/de/male1/mahjongg.ogg -%%DATADIR%%/voices/de/male1/md5sum -%%DATADIR%%/voices/de/male1/nochoice.ogg -%%DATADIR%%/voices/de/male1/originalcall.ogg -%%DATADIR%%/voices/de/male1/pung.ogg -%%DATADIR%%/voices/de/male1/s1.ogg -%%DATADIR%%/voices/de/male1/s2.ogg -%%DATADIR%%/voices/de/male1/s3.ogg -%%DATADIR%%/voices/de/male1/s4.ogg -%%DATADIR%%/voices/de/male1/s5.ogg -%%DATADIR%%/voices/de/male1/s6.ogg -%%DATADIR%%/voices/de/male1/s7.ogg -%%DATADIR%%/voices/de/male1/s8.ogg -%%DATADIR%%/voices/de/male1/s9.ogg -%%DATADIR%%/voices/de/male1/violatesoriginalcall.ogg -%%DATADIR%%/voices/de/male1/we.ogg -%%DATADIR%%/voices/de/male1/wn.ogg -%%DATADIR%%/voices/de/male1/ws.ogg -%%DATADIR%%/voices/de/male1/ww.ogg -%%DATADIR%%/voices/de/male2/COPYRIGHT -%%DATADIR%%/voices/de/male2/b1.ogg -%%DATADIR%%/voices/de/male2/b2.ogg -%%DATADIR%%/voices/de/male2/b3.ogg -%%DATADIR%%/voices/de/male2/b4.ogg -%%DATADIR%%/voices/de/male2/b5.ogg -%%DATADIR%%/voices/de/male2/b6.ogg -%%DATADIR%%/voices/de/male2/b7.ogg -%%DATADIR%%/voices/de/male2/b8.ogg -%%DATADIR%%/voices/de/male2/b9.ogg -%%DATADIR%%/voices/de/male2/c1.ogg -%%DATADIR%%/voices/de/male2/c2.ogg -%%DATADIR%%/voices/de/male2/c3.ogg -%%DATADIR%%/voices/de/male2/c4.ogg -%%DATADIR%%/voices/de/male2/c5.ogg -%%DATADIR%%/voices/de/male2/c6.ogg -%%DATADIR%%/voices/de/male2/c7.ogg -%%DATADIR%%/voices/de/male2/c8.ogg -%%DATADIR%%/voices/de/male2/c9.ogg -%%DATADIR%%/voices/de/male2/chow.ogg -%%DATADIR%%/voices/de/male2/db.ogg -%%DATADIR%%/voices/de/male2/dg.ogg -%%DATADIR%%/voices/de/male2/dr.ogg -%%DATADIR%%/voices/de/male2/kong.ogg -%%DATADIR%%/voices/de/male2/mahjongg.ogg -%%DATADIR%%/voices/de/male2/md5sum -%%DATADIR%%/voices/de/male2/nochoice.ogg -%%DATADIR%%/voices/de/male2/originalcall.ogg -%%DATADIR%%/voices/de/male2/pung.ogg -%%DATADIR%%/voices/de/male2/s1.ogg -%%DATADIR%%/voices/de/male2/s2.ogg -%%DATADIR%%/voices/de/male2/s3.ogg -%%DATADIR%%/voices/de/male2/s4.ogg -%%DATADIR%%/voices/de/male2/s5.ogg -%%DATADIR%%/voices/de/male2/s6.ogg -%%DATADIR%%/voices/de/male2/s7.ogg -%%DATADIR%%/voices/de/male2/s8.ogg -%%DATADIR%%/voices/de/male2/s9.ogg -%%DATADIR%%/voices/de/male2/violatesoriginalcall.ogg -%%DATADIR%%/voices/de/male2/we.ogg -%%DATADIR%%/voices/de/male2/wn.ogg -%%DATADIR%%/voices/de/male2/ws.ogg -%%DATADIR%%/voices/de/male2/ww.ogg -%%DATADIR%%/voices/female1/COPYRIGHT -%%DATADIR%%/voices/female1/b1.ogg -%%DATADIR%%/voices/female1/b2.ogg -%%DATADIR%%/voices/female1/b3.ogg -%%DATADIR%%/voices/female1/b4.ogg -%%DATADIR%%/voices/female1/b5.ogg -%%DATADIR%%/voices/female1/b6.ogg -%%DATADIR%%/voices/female1/b7.ogg -%%DATADIR%%/voices/female1/b8.ogg -%%DATADIR%%/voices/female1/b9.ogg -%%DATADIR%%/voices/female1/c1.ogg -%%DATADIR%%/voices/female1/c2.ogg -%%DATADIR%%/voices/female1/c3.ogg -%%DATADIR%%/voices/female1/c4.ogg -%%DATADIR%%/voices/female1/c5.ogg -%%DATADIR%%/voices/female1/c6.ogg -%%DATADIR%%/voices/female1/c7.ogg -%%DATADIR%%/voices/female1/c8.ogg -%%DATADIR%%/voices/female1/c9.ogg -%%DATADIR%%/voices/female1/chow.ogg -%%DATADIR%%/voices/female1/dangerousgame.ogg -%%DATADIR%%/voices/female1/db.ogg -%%DATADIR%%/voices/female1/dg.ogg -%%DATADIR%%/voices/female1/dr.ogg -%%DATADIR%%/voices/female1/kong.ogg -%%DATADIR%%/voices/female1/mahjongg.ogg -%%DATADIR%%/voices/female1/md5sum -%%DATADIR%%/voices/female1/nochoice.ogg -%%DATADIR%%/voices/female1/originalcall.ogg -%%DATADIR%%/voices/female1/pung.ogg -%%DATADIR%%/voices/female1/s1.ogg -%%DATADIR%%/voices/female1/s2.ogg -%%DATADIR%%/voices/female1/s3.ogg -%%DATADIR%%/voices/female1/s4.ogg -%%DATADIR%%/voices/female1/s5.ogg -%%DATADIR%%/voices/female1/s6.ogg -%%DATADIR%%/voices/female1/s7.ogg -%%DATADIR%%/voices/female1/s8.ogg -%%DATADIR%%/voices/female1/s9.ogg -%%DATADIR%%/voices/female1/violatesoriginalcall.ogg -%%DATADIR%%/voices/female1/we.ogg -%%DATADIR%%/voices/female1/wn.ogg -%%DATADIR%%/voices/female1/ws.ogg -%%DATADIR%%/voices/female1/ww.ogg -%%DATADIR%%/voices/female2/COPYRIGHT -%%DATADIR%%/voices/female2/b1.ogg -%%DATADIR%%/voices/female2/b2.ogg -%%DATADIR%%/voices/female2/b3.ogg -%%DATADIR%%/voices/female2/b4.ogg -%%DATADIR%%/voices/female2/b5.ogg -%%DATADIR%%/voices/female2/b6.ogg -%%DATADIR%%/voices/female2/b7.ogg -%%DATADIR%%/voices/female2/b8.ogg -%%DATADIR%%/voices/female2/b9.ogg -%%DATADIR%%/voices/female2/c1.ogg -%%DATADIR%%/voices/female2/c2.ogg -%%DATADIR%%/voices/female2/c3.ogg -%%DATADIR%%/voices/female2/c4.ogg -%%DATADIR%%/voices/female2/c5.ogg -%%DATADIR%%/voices/female2/c6.ogg -%%DATADIR%%/voices/female2/c7.ogg -%%DATADIR%%/voices/female2/c8.ogg -%%DATADIR%%/voices/female2/c9.ogg -%%DATADIR%%/voices/female2/chow.ogg -%%DATADIR%%/voices/female2/dangerousgame.ogg -%%DATADIR%%/voices/female2/db.ogg -%%DATADIR%%/voices/female2/dg.ogg -%%DATADIR%%/voices/female2/dr.ogg -%%DATADIR%%/voices/female2/kong.ogg -%%DATADIR%%/voices/female2/mahjongg.ogg -%%DATADIR%%/voices/female2/md5sum -%%DATADIR%%/voices/female2/nochoice.ogg -%%DATADIR%%/voices/female2/originalcall.ogg -%%DATADIR%%/voices/female2/pung.ogg -%%DATADIR%%/voices/female2/s1.ogg -%%DATADIR%%/voices/female2/s2.ogg -%%DATADIR%%/voices/female2/s3.ogg -%%DATADIR%%/voices/female2/s4.ogg -%%DATADIR%%/voices/female2/s5.ogg -%%DATADIR%%/voices/female2/s6.ogg -%%DATADIR%%/voices/female2/s7.ogg -%%DATADIR%%/voices/female2/s8.ogg -%%DATADIR%%/voices/female2/s9.ogg -%%DATADIR%%/voices/female2/violatesoriginalcall.ogg -%%DATADIR%%/voices/female2/we.ogg -%%DATADIR%%/voices/female2/wn.ogg -%%DATADIR%%/voices/female2/ws.ogg -%%DATADIR%%/voices/female2/ww.ogg -%%DATADIR%%/voices/male1/COPYRIGHT -%%DATADIR%%/voices/male1/b1.ogg -%%DATADIR%%/voices/male1/b2.ogg -%%DATADIR%%/voices/male1/b3.ogg -%%DATADIR%%/voices/male1/b4.ogg -%%DATADIR%%/voices/male1/b5.ogg -%%DATADIR%%/voices/male1/b6.ogg -%%DATADIR%%/voices/male1/b7.ogg -%%DATADIR%%/voices/male1/b8.ogg -%%DATADIR%%/voices/male1/b9.ogg -%%DATADIR%%/voices/male1/c1.ogg -%%DATADIR%%/voices/male1/c2.ogg -%%DATADIR%%/voices/male1/c3.ogg -%%DATADIR%%/voices/male1/c4.ogg -%%DATADIR%%/voices/male1/c5.ogg -%%DATADIR%%/voices/male1/c6.ogg -%%DATADIR%%/voices/male1/c7.ogg -%%DATADIR%%/voices/male1/c8.ogg -%%DATADIR%%/voices/male1/c9.ogg -%%DATADIR%%/voices/male1/chow.ogg -%%DATADIR%%/voices/male1/dangerousgame.ogg -%%DATADIR%%/voices/male1/db.ogg -%%DATADIR%%/voices/male1/dg.ogg -%%DATADIR%%/voices/male1/dr.ogg -%%DATADIR%%/voices/male1/kong.ogg -%%DATADIR%%/voices/male1/mahjongg.ogg -%%DATADIR%%/voices/male1/md5sum -%%DATADIR%%/voices/male1/nochoice.ogg -%%DATADIR%%/voices/male1/originalcall.ogg -%%DATADIR%%/voices/male1/pung.ogg -%%DATADIR%%/voices/male1/s1.ogg -%%DATADIR%%/voices/male1/s2.ogg -%%DATADIR%%/voices/male1/s3.ogg -%%DATADIR%%/voices/male1/s4.ogg -%%DATADIR%%/voices/male1/s5.ogg -%%DATADIR%%/voices/male1/s6.ogg -%%DATADIR%%/voices/male1/s7.ogg -%%DATADIR%%/voices/male1/s8.ogg -%%DATADIR%%/voices/male1/s9.ogg -%%DATADIR%%/voices/male1/violatesoriginalcall.ogg -%%DATADIR%%/voices/male1/we.ogg -%%DATADIR%%/voices/male1/wn.ogg -%%DATADIR%%/voices/male1/ws.ogg -%%DATADIR%%/voices/male1/ww.ogg -%%DATADIR%%/voices/male2/b1.ogg -%%DATADIR%%/voices/male2/b2.ogg -%%DATADIR%%/voices/male2/b3.ogg -%%DATADIR%%/voices/male2/b4.ogg -%%DATADIR%%/voices/male2/b5.ogg -%%DATADIR%%/voices/male2/b6.ogg -%%DATADIR%%/voices/male2/b7.ogg -%%DATADIR%%/voices/male2/b8.ogg -%%DATADIR%%/voices/male2/b9.ogg -%%DATADIR%%/voices/male2/c1.ogg -%%DATADIR%%/voices/male2/c2.ogg -%%DATADIR%%/voices/male2/c3.ogg -%%DATADIR%%/voices/male2/c4.ogg -%%DATADIR%%/voices/male2/c5.ogg -%%DATADIR%%/voices/male2/c6.ogg -%%DATADIR%%/voices/male2/c7.ogg -%%DATADIR%%/voices/male2/c8.ogg -%%DATADIR%%/voices/male2/c9.ogg -%%DATADIR%%/voices/male2/chow.ogg -%%DATADIR%%/voices/male2/dangerousgame.ogg -%%DATADIR%%/voices/male2/db.ogg -%%DATADIR%%/voices/male2/dg.ogg -%%DATADIR%%/voices/male2/dr.ogg -%%DATADIR%%/voices/male2/kong.ogg -%%DATADIR%%/voices/male2/mahjongg.ogg -%%DATADIR%%/voices/male2/md5sum -%%DATADIR%%/voices/male2/nochoice.ogg -%%DATADIR%%/voices/male2/originalcall.ogg -%%DATADIR%%/voices/male2/pung.ogg -%%DATADIR%%/voices/male2/s1.ogg -%%DATADIR%%/voices/male2/s2.ogg -%%DATADIR%%/voices/male2/s3.ogg -%%DATADIR%%/voices/male2/s4.ogg -%%DATADIR%%/voices/male2/s5.ogg -%%DATADIR%%/voices/male2/s6.ogg -%%DATADIR%%/voices/male2/s7.ogg -%%DATADIR%%/voices/male2/s8.ogg -%%DATADIR%%/voices/male2/s9.ogg -%%DATADIR%%/voices/male2/violatesoriginalcall.ogg -%%DATADIR%%/voices/male2/we.ogg -%%DATADIR%%/voices/male2/wn.ogg -%%DATADIR%%/voices/male2/ws.ogg -%%DATADIR%%/voices/male2/ww.ogg -%%DATADIR%%/wall.py -%%DATADIR%%/wind.py -share/locale/bg/LC_MESSAGES/kajongg.mo -share/locale/bs/LC_MESSAGES/kajongg.mo -share/locale/ca/LC_MESSAGES/kajongg.mo -share/locale/ca@valencia/LC_MESSAGES/kajongg.mo -share/locale/cs/LC_MESSAGES/kajongg.mo -share/locale/da/LC_MESSAGES/kajongg.mo -share/locale/de/LC_MESSAGES/kajongg.mo -share/locale/el/LC_MESSAGES/kajongg.mo -share/locale/en_GB/LC_MESSAGES/kajongg.mo -share/locale/eo/LC_MESSAGES/kajongg.mo -share/locale/es/LC_MESSAGES/kajongg.mo -share/locale/et/LC_MESSAGES/kajongg.mo -share/locale/eu/LC_MESSAGES/kajongg.mo -share/locale/fi/LC_MESSAGES/kajongg.mo -share/locale/fr/LC_MESSAGES/kajongg.mo -share/locale/ga/LC_MESSAGES/kajongg.mo -share/locale/gl/LC_MESSAGES/kajongg.mo -share/locale/hu/LC_MESSAGES/kajongg.mo -share/locale/is/LC_MESSAGES/kajongg.mo -share/locale/it/LC_MESSAGES/kajongg.mo -share/locale/ja/LC_MESSAGES/kajongg.mo -share/locale/kk/LC_MESSAGES/kajongg.mo -share/locale/km/LC_MESSAGES/kajongg.mo -share/locale/lt/LC_MESSAGES/kajongg.mo -share/locale/mr/LC_MESSAGES/kajongg.mo -share/locale/nb/LC_MESSAGES/kajongg.mo -share/locale/nds/LC_MESSAGES/kajongg.mo -share/locale/nl/LC_MESSAGES/kajongg.mo -share/locale/nn/LC_MESSAGES/kajongg.mo -share/locale/pl/LC_MESSAGES/kajongg.mo -share/locale/pt/LC_MESSAGES/kajongg.mo -share/locale/pt_BR/LC_MESSAGES/kajongg.mo -share/locale/ro/LC_MESSAGES/kajongg.mo -share/locale/ru/LC_MESSAGES/kajongg.mo -share/locale/sk/LC_MESSAGES/kajongg.mo -share/locale/sl/LC_MESSAGES/kajongg.mo -share/locale/sr/LC_MESSAGES/kajongg.mo -share/locale/sv/LC_MESSAGES/kajongg.mo -share/locale/tr/LC_MESSAGES/kajongg.mo -share/locale/ug/LC_MESSAGES/kajongg.mo -share/locale/uk/LC_MESSAGES/kajongg.mo -share/locale/zh_CN/LC_MESSAGES/kajongg.mo -share/locale/zh_TW/LC_MESSAGES/kajongg.mo -share/metainfo/org.kde.kajongg.appdata.xml diff --git a/games/mindguard/Makefile b/games/mindguard/Makefile deleted file mode 100644 index cf85a9d8ae28..000000000000 --- a/games/mindguard/Makefile +++ /dev/null @@ -1,39 +0,0 @@ -# Created by: kris -# $FreeBSD$ - -PORTNAME= mindguard -PORTVERSION= 0.0.0.4 -PORTREVISION= 6 -CATEGORIES= games -MASTER_SITES= http://zapatopi.net/mindguard/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Helpful utility for detecting and jamming harmful mind-control rays - -DEPRECATED= Uses obsolete glib12 -EXPIRATION_DATE= 2018-12-20 - -LICENSE= MGPL -LICENSE_NAME= MINDGUARD PUBLIC LICENSE -LICENSE_FILE= ${WRKSRC}/COPYING -LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept - -USES= tar:tgz -USE_GNOME= gtk12 - -ALL_TARGET= # empty - -PLIST_FILES= bin/${PORTNAME} -PORTDATA= * -PORTDOCS= * - -OPTIONS_DEFINE= DOCS - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mindguard ${STAGEDIR}${PREFIX}/bin/ - ${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/carriers/*.carrier ${STAGEDIR}${DATADIR}/ - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}/ - -.include <bsd.port.mk> diff --git a/games/mindguard/distinfo b/games/mindguard/distinfo deleted file mode 100644 index 2544b32f9fc0..000000000000 --- a/games/mindguard/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (mindguard-0.0.0.4.tgz) = f394dd6833ec8a3bfd2814ee524600e75c18e4e110f92fb060f85d6bef7664ff -SIZE (mindguard-0.0.0.4.tgz) = 99642 diff --git a/games/mindguard/files/patch-Makefile b/games/mindguard/files/patch-Makefile deleted file mode 100644 index a1d794d57804..000000000000 --- a/games/mindguard/files/patch-Makefile +++ /dev/null @@ -1,16 +0,0 @@ ---- Makefile.orig Fri Feb 7 20:54:25 2003 -+++ Makefile Wed Sep 7 23:21:34 2005 -@@ -2,10 +2,11 @@ - - BINDIR = /usr/local/bin - MGDIR = /usr/local/share/MindGuard --CC = gcc -+CC ?= gcc -+CFLAGS ?= -O -pipe - - mindguard: mindguard.c mindguard.h -- $(CC) `gtk-config --cflags` mindguard.c -o mindguard `gtk-config --libs` -+ $(CC) -DLOCALBASE=\"${PREFIX}\" `${GTK_CONFIG} --cflags` ${CFLAGS} mindguard.c -o mindguard `${GTK_CONFIG} --libs` - - install: mindguard install-bin install-carriers install-docs - diff --git a/games/mindguard/files/patch-mindguard.c b/games/mindguard/files/patch-mindguard.c deleted file mode 100644 index 94079c995e76..000000000000 --- a/games/mindguard/files/patch-mindguard.c +++ /dev/null @@ -1,18 +0,0 @@ ---- mindguard.c.orig Fri Feb 7 20:53:53 2003 -+++ mindguard.c Wed Sep 7 23:27:25 2005 -@@ -1381,7 +1381,7 @@ - sprintf(car_path, "%s/MindGuard/carriers/", getenv("HOME")); - break; - case 2: -- strcpy(car_path, "/usr/local/share/MindGuard/carriers/"); -+ strcpy(car_path, LOCALBASE "/share/mindguard/"); - break; - default: - break; -@@ -2799,4 +2799,4 @@ - } - - --/* ...And your mind lived happily ever after. The End */ -\ No newline at end of file -+/* ...And your mind lived happily ever after. The End */ diff --git a/games/mindguard/pkg-descr b/games/mindguard/pkg-descr deleted file mode 100644 index b197945eb3fc..000000000000 --- a/games/mindguard/pkg-descr +++ /dev/null @@ -1,11 +0,0 @@ -MindGuard protects your mind by jamming and/or scrambling psychotronic -mind-control signals and removing harmful engrammic pollutants from -your brain. It also has the ability to scan for and decipher into -English specific signals so you can see exactly Who wants to control -you and what They are trying to make you think. - -With MindGuard, you can rest assured that your most valuable -possession - your mind - is safe from the nefarious tinkering of -evil-doers. - -WWW: http://zapatopi.net/mindguard.html diff --git a/games/netspades/Makefile b/games/netspades/Makefile deleted file mode 100644 index d56718c6be71..000000000000 --- a/games/netspades/Makefile +++ /dev/null @@ -1,69 +0,0 @@ -# Created by: Frank Laszlo <laszlof@freebsdmatrix.net> -# $FreeBSD$ - -PORTNAME= NetSpades -PORTVERSION= 4.2.0 -PORTREVISION= 11 -CATEGORIES= games -MASTER_SITES= TUCOWS/x11/entertain \ - http://www.ece.rice.edu/~brentmh/spades/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Very popular card game for 1-4 players over a network - -DEPRECATED= Uses obsolete glib12 -EXPIRATION_DATE= 2018-12-20 - -LICENSE= GPLv2+ - -OPTIONS_DEFINE= GTK1 SLANG -OPTIONS_DEFAULT= GTK1 SLANG - -GNU_CONFIGURE= yes - -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - -PLIST_FILES= bin/spadesd man/man6/spadesd.6.gz - -GTK1_USE= GNOME=gtk12 -GTK1_CONFIGURE_OFF= --without-gtk -GTK1_PLIST_FILES= bin/gspades man/man6/gspades.6.gz - -SLANG_USES= readline ncurses -SLANG_CONFIGURE_OFF= --without-slang -SLANG_LIB_DEPENDS= libslang.so:devel/libslang2 -SLANG_LDFLAGS= -lncurses -SLANG_PLIST_FILES= bin/slspades man/man6/slspades.6.gz - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MGTK1} -DESKTOP_ENTRIES="GSpades" "" "" "gspades" "" "" -.endif - -post-patch: -.for i in engine_func.c gtk_connect.c listen.c sl_io.c - @${REINPLACE_CMD} -e \ - 's| log| ns_log|g' ${WRKSRC}/src/${i} -.endfor - -do-install: - (cd ${WRKSRC}/src && ${INSTALL_PROGRAM} spadesd \ - ${STAGEDIR}${PREFIX}/bin) - (cd ${WRKSRC} && ${INSTALL_MAN} spadesd.6 \ - ${STAGEDIR}${MANPREFIX}/man/man6) -.if ${PORT_OPTIONS:MGTK1} - (cd ${WRKSRC}/src && ${INSTALL_PROGRAM} gspades \ - ${STAGEDIR}${PREFIX}/bin) - (cd ${WRKSRC} && ${INSTALL_MAN} gspades.6 \ - ${STAGEDIR}${MANPREFIX}/man/man6) -.endif -.if ${PORT_OPTIONS:MSLANG} - (cd ${WRKSRC}/src && ${INSTALL_PROGRAM} slspades \ - ${STAGEDIR}${PREFIX}/bin) - (cd ${WRKSRC} && ${INSTALL_MAN} slspades.6 \ - ${STAGEDIR}${MANPREFIX}/man/man6) -.endif - -.include <bsd.port.mk> diff --git a/games/netspades/distinfo b/games/netspades/distinfo deleted file mode 100644 index cdd60799c398..000000000000 --- a/games/netspades/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (NetSpades-4.2.0.tar.gz) = 3ca1072e1b3539c5f190a067f4aa36e46ed0d3e08441df4615fc6a10312d9c0b -SIZE (NetSpades-4.2.0.tar.gz) = 151685 diff --git a/games/netspades/pkg-descr b/games/netspades/pkg-descr deleted file mode 100644 index 93ed15242235..000000000000 --- a/games/netspades/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -Spades (known in some places as 500) is a four-player, team-based -game whose object is to be the first team to score 500 points by -bidding on, and taking tricks. - -NetSpades includes: -- the server program, -- a console-based client (using the SLang library), -- and an X-based client (using the GTK library). - -WWW: http://www.ece.rice.edu/~brentmh/spades/ diff --git a/games/wmquake/Makefile b/games/wmquake/Makefile deleted file mode 100644 index 7b5a232e0377..000000000000 --- a/games/wmquake/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -# Created by: Ulrich Spoerlein <uspoerlein@gmail.com> -# $FreeBSD$ - -PORTNAME= wmquake -PORTVERSION= 1.1 -PORTREVISION= 5 -CATEGORIES= games -MASTER_SITES= http://www.ne.jp/asahi/linux/timecop/software/ \ - LOCAL/uqs - -MAINTAINER= ports@FreeBSD.org -COMMENT= Id Software's Quake I in a 64x64 WM dockapp window - -DEPRECATED= Uses obsolete glib12 -EXPIRATION_DATE= 2018-12-20 - -USES= gmake tar:bzip2 -USE_GNOME= gtk12 - -PLIST_FILES= bin/wmquake - -OPTIONS_DEFINE= OPTIMIZED_CFLAGS - -OPTIMIZED_CFLAGS_CFLAGS= -O3 -fomit-frame-pointer -funroll-loops -fno-strength-reduce - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/wmquake ${STAGEDIR}${PREFIX}/bin - -.include <bsd.port.mk> diff --git a/games/wmquake/distinfo b/games/wmquake/distinfo deleted file mode 100644 index 60c824053ad4..000000000000 --- a/games/wmquake/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (wmquake-1.1.tar.bz2) = b35c1b0e84b99a5325f93f50d6258ee4ebb8faee9ce65e381fd20e190033dff3 -SIZE (wmquake-1.1.tar.bz2) = 256999 diff --git a/games/wmquake/files/patch-Makefile b/games/wmquake/files/patch-Makefile deleted file mode 100644 index 1b7e9df71227..000000000000 --- a/games/wmquake/files/patch-Makefile +++ /dev/null @@ -1,18 +0,0 @@ ---- Makefile.orig Mon Jan 17 15:11:12 2005 -+++ Makefile Mon Jan 17 15:19:21 2005 -@@ -1,6 +1,4 @@ --CC = gcc - #CFLAGS = -g -Wall --CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -fno-strength-reduce - - ifneq (, $(findstring freebsd, $(OSTYPE))) - GTKCONFIG = gtk12-config -@@ -10,7 +8,7 @@ - LIBGDK = -lgdk - endif - --LIBS = `$(GTKCONFIG) --libs | sed "s/-l.*//g"` $(LIBGDK) -lm -+LIBS = `$(GTKCONFIG) --libs` - - all: wmquake - diff --git a/games/wmquake/pkg-descr b/games/wmquake/pkg-descr deleted file mode 100644 index 9c0d81881441..000000000000 --- a/games/wmquake/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -Just what you always wanted. Hardcore Quake fanatics can -now enjoy their favorite game in a 64x64 window! - -WWW: http://www.ne.jp/asahi/linux/timecop/ diff --git a/games/wmquake/pkg-message b/games/wmquake/pkg-message deleted file mode 100644 index 16285eabc765..000000000000 --- a/games/wmquake/pkg-message +++ /dev/null @@ -1,5 +0,0 @@ - -To use wmquake, you have to run it from within Quake I's -directory, so it can access the "id1" directory containing -maps, sound and models. - diff --git a/games/xbattle/Makefile b/games/xbattle/Makefile deleted file mode 100644 index b7ffe01a3df6..000000000000 --- a/games/xbattle/Makefile +++ /dev/null @@ -1,65 +0,0 @@ -# Created by: Pedro Giffuni -# $FreeBSD$ - -PORTNAME= xbattle -PORTVERSION= 5.4.1 -PORTREVISION= 4 -CATEGORIES= games -MASTER_SITES= GENTOO \ - SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/:icons -DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ - ${PORTNAME}_icons${EXTRACT_SUFX}:icons - -MAINTAINER= ports@FreeBSD.org -COMMENT= Concurrent multi-player battle strategy game - -DEPRECATED= Uses obsolete glib12 -EXPIRATION_DATE= 2018-12-20 - -LICENSE= XBATTLE_LICENSE -LICENSE_NAME= XBATTLE License -LICENSE_FILE= ${WRKSRC}/COPYRIGHT -LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept - -RUN_DEPENDS= xdialog>0:x11/xdialog - -USES= imake -USE_XORG= x11 xext -USE_CSTD= gnu89 -CFLAGS+= -Wno-return-type - -PORTDOCS= README -OPTIONS_DEFINE= DOCS - -INSTALLS_ICONS= yes -ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128 - -SUB_FILES= ${PORTNAME}-menu - -DESKTOP_ENTRIES="XBattle" "" "${PORTNAME}" \ - "${PORTNAME}-menu" "Game;ArcadeGame;" "" - -post-install: - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-menu ${STAGEDIR}${PREFIX}/bin/ -.for d in xbas xbos xbts - @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}) - @${CHMOD} 755 ${STAGEDIR}${DATADIR}/${d} - @${CHMOD} 644 ${STAGEDIR}${DATADIR}/${d}/* -.endfor - @${CHMOD} 755 ${STAGEDIR}${DATADIR} -.for f in tutorial1 tutorial2 - ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-${f} -.endfor - -.for s in ${ICON_SIZES} - @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/ - ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \ - ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png -.endfor - ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ - ${STAGEDIR}${PREFIX}/share/pixmaps/ - - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} - -.include <bsd.port.mk> diff --git a/games/xbattle/distinfo b/games/xbattle/distinfo deleted file mode 100644 index e3a84e7331e5..000000000000 --- a/games/xbattle/distinfo +++ /dev/null @@ -1,4 +0,0 @@ -SHA256 (xbattle-5.4.1.tar.gz) = 9de38df361c87d0fdc65e13cf2fa3bb28dc22a8d04cc94f2f08e6cd9457ee180 -SIZE (xbattle-5.4.1.tar.gz) = 128982 -SHA256 (xbattle_icons.tar.gz) = f3e8fca5a6eeaebcecec0019894fa2d80402d20a9eabd20c32bb58a1acadbf4f -SIZE (xbattle_icons.tar.gz) = 22326 diff --git a/games/xbattle/files/patch-Imakefile b/games/xbattle/files/patch-Imakefile deleted file mode 100644 index a2de84f7de1a..000000000000 --- a/games/xbattle/files/patch-Imakefile +++ /dev/null @@ -1,17 +0,0 @@ ---- ./Imakefile.orig 1995-10-17 15:14:37.000000000 +0100 -+++ ./Imakefile 2014-03-29 18:29:01.369960166 +0100 -@@ -6,10 +6,11 @@ - CCOPTIONS = -Wf,-XNl4096 - #endif - #endif -+MANSUFFIX =6 - -- DEFINES = -DDEFAULT_XBO_DIR=\"/export/home/lesher/xbos\" \ -- -DDEFAULT_XBT_DIR=\"/export/home/lesher/xbts\" \ -- -DDEFAULT_XBA_DIR=\"/export/home/lesher/xbas\" -+ DEFINES = -DDEFAULT_XBO_DIR=\"$(PREFIX)/share/xbattle/xbos\" \ -+ -DDEFAULT_XBT_DIR=\"$(PREFIX)/share/xbattle/xbts\" \ -+ -DDEFAULT_XBA_DIR=\"$(PREFIX)/share/xbattle/xbas\" - LOCAL_LIBRARIES = $(XLIB) - SYS_LIBRARIES = -lm - SRCS = command.c \ diff --git a/games/xbattle/files/patch-command.c b/games/xbattle/files/patch-command.c deleted file mode 100644 index 24e01aa4e436..000000000000 --- a/games/xbattle/files/patch-command.c +++ /dev/null @@ -1,8 +0,0 @@ ---- ./command.c.orig 1995-12-19 23:21:51.000000000 +0100 -+++ ./command.c 2014-03-29 18:28:41.989953350 +0100 -@@ -1,4 +1,5 @@ - #include <stdio.h> -+#include <string.h> - - #include "constant.h" - diff --git a/games/xbattle/files/patch-draw.c b/games/xbattle/files/patch-draw.c deleted file mode 100644 index 9943a99b3169..000000000000 --- a/games/xbattle/files/patch-draw.c +++ /dev/null @@ -1,17 +0,0 @@ ---- ./draw.c.orig 1995-12-19 23:21:51.000000000 +0100 -+++ ./draw.c 2014-03-29 18:28:41.989953350 +0100 -@@ -1,4 +1,5 @@ - #include <stdio.h> -+#include <string.h> - - #include "constant.h" - -@@ -1267,7 +1268,7 @@ - ******************************************************************************/ - - draw_timer (running_time, player) -- unsigned long running_time; -+ unsigned int running_time; - int player; - { - char line[MAX_LINE]; diff --git a/games/xbattle/files/patch-edit.c b/games/xbattle/files/patch-edit.c deleted file mode 100644 index 23cf5930749a..000000000000 --- a/games/xbattle/files/patch-edit.c +++ /dev/null @@ -1,8 +0,0 @@ ---- ./edit.c.orig 1995-12-19 23:21:51.000000000 +0100 -+++ ./edit.c 2014-03-29 18:28:41.989953350 +0100 -@@ -1,4 +1,5 @@ - #include <stdio.h> -+#include <stdlib.h> - - #include "constant.h" - diff --git a/games/xbattle/files/patch-error.c b/games/xbattle/files/patch-error.c deleted file mode 100644 index 0decee5229e5..000000000000 --- a/games/xbattle/files/patch-error.c +++ /dev/null @@ -1,8 +0,0 @@ ---- ./error.c.orig 1995-12-19 23:21:51.000000000 +0100 -+++ ./error.c 2014-03-29 18:28:41.999944284 +0100 -@@ -1,4 +1,5 @@ - #include <stdio.h> -+#include <stdlib.h> - - #include "constant.h" - diff --git a/games/xbattle/files/patch-init.c b/games/xbattle/files/patch-init.c deleted file mode 100644 index 3f50b47f8c89..000000000000 --- a/games/xbattle/files/patch-init.c +++ /dev/null @@ -1,9 +0,0 @@ ---- ./init.c.orig 1995-12-19 23:21:51.000000000 +0100 -+++ ./init.c 2014-03-29 18:28:41.999944284 +0100 -@@ -1,5 +1,6 @@ - #include <stdio.h> - #include <math.h> -+#include <stdlib.h> - - #include "constant.h" - diff --git a/games/xbattle/files/patch-main.c b/games/xbattle/files/patch-main.c deleted file mode 100644 index 49e5cfa7efdb..000000000000 --- a/games/xbattle/files/patch-main.c +++ /dev/null @@ -1,9 +0,0 @@ ---- ./main.c.orig 1995-12-19 23:21:51.000000000 +0100 -+++ ./main.c 2014-03-29 18:28:41.999944284 +0100 -@@ -1,4 +1,6 @@ - #include <stdio.h> -+#include <stdlib.h> -+#include <string.h> - - /**** x include files ****/ - #include <X11/Xlib.h> diff --git a/games/xbattle/files/patch-parse.c b/games/xbattle/files/patch-parse.c deleted file mode 100644 index e2b33a8e7cd1..000000000000 --- a/games/xbattle/files/patch-parse.c +++ /dev/null @@ -1,12 +0,0 @@ ---- ./parse.c.orig 1995-12-19 23:26:39.000000000 +0100 -+++ ./parse.c 2014-03-29 18:28:41.999944284 +0100 -@@ -1486,8 +1486,7 @@ - *filename; - { - int i; -- char *suffix, -- *strstr(); -+ char *suffix; - FILE *fp; - - strcpy (filename, &option[1]); diff --git a/games/xbattle/files/patch-replay.c b/games/xbattle/files/patch-replay.c deleted file mode 100644 index ea3605c196a9..000000000000 --- a/games/xbattle/files/patch-replay.c +++ /dev/null @@ -1,9 +0,0 @@ ---- ./replay.c.orig 1995-12-19 23:21:51.000000000 +0100 -+++ ./replay.c 2014-03-29 18:28:41.999944284 +0100 -@@ -1,4 +1,6 @@ - #include <stdio.h> -+#include <string.h> -+#include <stdlib.h> - - #include "constant.h" - diff --git a/games/xbattle/files/patch-shape.c b/games/xbattle/files/patch-shape.c deleted file mode 100644 index d477c85ce6fe..000000000000 --- a/games/xbattle/files/patch-shape.c +++ /dev/null @@ -1,8 +0,0 @@ ---- ./shape.c.orig 1995-12-19 23:21:51.000000000 +0100 -+++ ./shape.c 2014-03-29 18:28:41.999944284 +0100 -@@ -1,4 +1,5 @@ - #include <stdio.h> -+#include <stdlib.h> - - #include "constant.h" - diff --git a/games/xbattle/files/patch-shape_octagon.c b/games/xbattle/files/patch-shape_octagon.c deleted file mode 100644 index 0ada0b786413..000000000000 --- a/games/xbattle/files/patch-shape_octagon.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./shape_octagon.c.orig 1995-12-19 23:21:51.000000000 +0100 -+++ ./shape_octagon.c 2014-03-29 18:28:42.009953797 +0100 -@@ -91,7 +91,7 @@ - - shape->direction_count = 8; - shape->direction_factor = 24/shape->direction_count; -- shape->angle_offset = 67.5; -+ shape->angle_offset = 67; - shape->use_secondary = FALSE; - - /** Define polygon points **/ diff --git a/games/xbattle/files/patch-utils.c b/games/xbattle/files/patch-utils.c deleted file mode 100644 index c0ba03f1e110..000000000000 --- a/games/xbattle/files/patch-utils.c +++ /dev/null @@ -1,8 +0,0 @@ ---- ./utils.c.orig 1995-12-19 23:21:51.000000000 +0100 -+++ ./utils.c 2014-03-29 18:28:42.009953797 +0100 -@@ -1,4 +1,5 @@ - #include <stdio.h> -+#include <string.h> - - #include "constant.h" - diff --git a/games/xbattle/files/patch-window.c b/games/xbattle/files/patch-window.c deleted file mode 100644 index 45778bf04824..000000000000 --- a/games/xbattle/files/patch-window.c +++ /dev/null @@ -1,77 +0,0 @@ ---- ./window.c.orig 1995-12-19 23:21:51.000000000 +0100 -+++ ./window.c 2014-03-29 18:28:42.009953797 +0100 -@@ -1,4 +1,6 @@ - #include <stdio.h> -+#include <string.h> -+#include <stdlib.h> - - #include "constant.h" - -@@ -708,8 +710,7 @@ - unsigned long valuemask; - XSetWindowAttributes attrib; - XVisualInfo vinfo; -- long event_mask, -- full_depth; -+ long event_mask; - Atom wm_delete_window; - - /** Open display and screen **/ -@@ -742,36 +743,11 @@ - /** Set bitplane depth to default **/ - - xwindow->depth = DefaultDepth (xwindow->display, xwindow->screen); -- full_depth = xwindow->depth; - - /** Get a visual **/ - - visual = DefaultVisual (xwindow->display, xwindow->screen); - -- /** Try to force the display to 8 planes **/ -- -- if (xwindow->depth != 8) -- { -- if (XMatchVisualInfo -- (xwindow->display, xwindow->screen, 8, PseudoColor, &vinfo)) -- { -- visual = vinfo.visual; -- xwindow->depth = 8; -- } -- } -- -- /** If couldn't find an 8 bit visual, try a 16 bit visual **/ -- -- if (xwindow->depth != 8) -- { -- if (XMatchVisualInfo -- (xwindow->display, xwindow->screen, 16, PseudoColor, &vinfo)) -- { -- visual = vinfo.visual; -- xwindow->depth = 16; -- } -- } -- - /** If have less than 8 planes, just use a single plane **/ - - if (xwindow->depth < 8) -@@ -790,19 +766,8 @@ - #else - /** Allocate existing colormap **/ - -- if (full_depth > 8) -+ if (xwindow->depth > 8) - { -- /** XBattle won't work for 24 bit displays with no optional **/ -- /** visuals with 8 or 16 bits. This may be the case on some PCs. **/ -- /** In these cases, it may be possible to reconfigure the display **/ -- /** to 8 or 16 bits. **/ -- -- if (xwindow->depth > 16) -- { -- throw_warning ("No PseudoColor visual available\n%s", -- " Try changing display to <= 16 bits"); -- throw_error ("Unable to continue without colormap", NULL); -- } - - /** If display is 24 bit, have to create a dedicated colormap **/ - diff --git a/games/xbattle/files/patch-xbattle.man b/games/xbattle/files/patch-xbattle.man deleted file mode 100644 index 713dc41741d3..000000000000 --- a/games/xbattle/files/patch-xbattle.man +++ /dev/null @@ -1,1070 +0,0 @@ ---- ./xbattle.man.orig 1995-12-19 23:58:48.000000000 +0100 -+++ ./xbattle.man 2014-03-29 18:28:42.009953797 +0100 -@@ -2,12 +2,12 @@ - .SH NAME - xbattle \- a multi-user battle strategy game - .SH SYNOPSIS -- xbattle [-<color> <display>...] [-<option> <argument>...] --.SH -+ xbattle [\-<color> <display>...] [\-<option> <argument>...] -+.SH DESCRIPTION - - Assign a team color and display to each player, and any number of - options with argument where required. <color> can be a monochrome --tone, -black -white -dark -light, or a color, -red -green -blue ; -+tone, \-black \-white \-dark \-light, or a color, \-red \-green \-blue ; - <display> is the name of the x display for each player. Command line - arguments can be supplied in any order. For a quick introduction, go - straight to the EXAMPLES section below. Also, see the tutorials -@@ -17,96 +17,95 @@ - .SH OPTIONS - .nf - --...........................................................| - USAGE: xbattle <args> -- -<c1> <str> color to display name <str> -- -<c1>_<c2> <str> colors to display name <str> -- -area troops proportional to area -- -attack allow use of attack key -- -armies <int> number of ordered armies -- -basemap use map scheme, bases visible -- -bases <int> number of ordered bases -- -board <int> size of board (in cells, x=y) -- -boardx <int> width of board (in cells) -- -boardy <int> height of board (in cells) -- -border <int> border around board -- -bound allow drag-bounded vector sets -- -build <int> build cities with <int> segments -- -build_cost <int> cost to build city segment -- -build_limit <int> limit cities each side can build -- -color <spec> set RGB values for color <str> -- -color_inverse <spec> set color <s1> inverse to <s2> -- -decay <int> make troops slowly die off -- -diamond use diamond tiling -- -dig [int] [int] step terrain lowering -- -dig_cost <int> cost of each dig step -- -digin <int> provide entrenchment -- -disrupt attacks break supply lines -- -draw <int> specify a troop drawing method -- -dump <file> dump configuration to <file> -- -edit [file] interactively edit xbattle board -- -erode make unused paths erode -- -erode_thresh <int> threshold for erosion -- -farms <int> troops slowly grow -- -fight <int> intensity of fighting -- -fill [int] [int] step terrain raising -- -fill_cost <int> cost of each fill step -- -forest <int> density of forest -- -forest_color <spec> RGB values for forest level -- -forest_tones <int> number of forest levels -- -grid show grid -- -guns <int> range of artillery -- -guns_cost <int> cost of each artillery shell -- -guns_damage <int> damage done by artillery shell -- -help print argument list -- -hex use hexagonal tiling -- -hidden invisible enemy vectors -- -hills <int> slope of hills -- -hill_color <spec> RGB values for hill level <int> -- -hill_tones <int> number of allowable hill levels -- -horizon [int] can't see enemy past [int] cells -- -load [file] load board from [file] -- -localmap mapping with invisible terrain -- -manage managed control of commands -- -manpos manual positioning of board -- -map use basic map scheme -- -march <int> number of delays between marches -- -maxval <int> maximum cell troop capacity -- -militia <int> randomly distributed troops -- -move <int> speed of troop flow -- -nospigot [int] cease attack if outnumbered -- -octagon use octagonal/square tiling -- -options <file> read xbattle options from <file> -- -opt_file.xbo shorthand -options opt_file.xbo -- -overwrite just use terrain from load file -- -para <int> range of paratroopers -- -para_cost <int> cost of each paratrooper -- -para_damage <int> invading strength of paratrooper -- -peaks <int> number of terrain peaks -- -peak_bias <float> peak distribution bias (0.0-2.0) -- -rbases <int> number of distributed bases -- -rbase_range <int> distance of rbase from enemy -- -repeat repeat of last mouse command -- -replay [file] replay stored game from [file] -- -reserve allow reserve of troops -- -scuttle [int] enable city scuttling -- -scuttle_cost <int> cost of scuttle -- -sea <int> pervasiveness (+ levels) of sea -- -sea_block use block-fills, not hue-fills -- -sea_color <spec> RGB values for sea level <int> -- -sea_tones <int> number of allowable sea levels -- -sea_value <float> darkness of seas for b/w games -- -seed <int> random number generator seed -- -speed <int> speed of updates -- -square <int> side length of cell -- -stipple <spec> set stipple (b/w) pattern -- -store [file] store game for later replay -- -towns <int> density of distributed towns -- -triangle use triangular tiling -- -trough_bias <float> trough setting bias (0.0-2.0) -- -xpos <int> x position of board on display -- -ypos <int> y position of board on display -- -wrap wrapping around edges of board -+ \-<c1> <str> color to display name <str> -+ \-<c1>_<c2> <str> colors to display name <str> -+ \-area troops proportional to area -+ \-attack allow use of attack key -+ \-armies <int> number of ordered armies -+ \-basemap use map scheme, bases visible -+ \-bases <int> number of ordered bases -+ \-board <int> size of board (in cells, x=y) -+ \-boardx <int> width of board (in cells) -+ \-boardy <int> height of board (in cells) -+ \-border <int> border around board -+ \-bound allow drag-bounded vector sets -+ \-build <int> build cities with <int> segments -+ \-build_cost <int> cost to build city segment -+ \-build_limit <int> limit cities each side can build -+ \-color <spec> set RGB values for color <str> -+ \-color_inverse <spec> set color <s1> inverse to <s2> -+ \-decay <int> make troops slowly die off -+ \-diamond use diamond tiling -+ \-dig [int] [int] step terrain lowering -+ \-dig_cost <int> cost of each dig step -+ \-digin <int> provide entrenchment -+ \-disrupt attacks break supply lines -+ \-draw <int> specify a troop drawing method -+ \-dump <file> dump configuration to <file> -+ \-edit [file] interactively edit xbattle board -+ \-erode make unused paths erode -+ \-erode_thresh <int> threshold for erosion -+ \-farms <int> troops slowly grow -+ \-fight <int> intensity of fighting -+ \-fill [int] [int] step terrain raising -+ \-fill_cost <int> cost of each fill step -+ \-forest <int> density of forest -+ \-forest_color <spec> RGB values for forest level -+ \-forest_tones <int> number of forest levels -+ \-grid show grid -+ \-guns <int> range of artillery -+ \-guns_cost <int> cost of each artillery shell -+ \-guns_damage <int> damage done by artillery shell -+ \-help print argument list -+ \-hex use hexagonal tiling -+ \-hidden invisible enemy vectors -+ \-hills <int> slope of hills -+ \-hill_color <spec> RGB values for hill level <int> -+ \-hill_tones <int> number of allowable hill levels -+ \-horizon [int] can't see enemy past [int] cells -+ \-load [file] load board from [file] -+ \-localmap mapping with invisible terrain -+ \-manage managed control of commands -+ \-manpos manual positioning of board -+ \-map use basic map scheme -+ \-march <int> number of delays between marches -+ \-maxval <int> maximum cell troop capacity -+ \-militia <int> randomly distributed troops -+ \-move <int> speed of troop flow -+ \-nospigot [int] cease attack if outnumbered -+ \-octagon use octagonal/square tiling -+ \-options <file> read xbattle options from <file> -+ \-opt_file.xbo shorthand -options opt_file.xbo -+ \-overwrite just use terrain from load file -+ \-para <int> range of paratroopers -+ \-para_cost <int> cost of each paratrooper -+ \-para_damage <int> invading strength of paratrooper -+ \-peaks <int> number of terrain peaks -+ \-peak_bias <float> peak distribution bias (0.0-2.0) -+ \-rbases <int> number of distributed bases -+ \-rbase_range <int> distance of rbase from enemy -+ \-repeat repeat of last mouse command -+ \-replay [file] replay stored game from [file] -+ \-reserve allow reserve of troops -+ \-scuttle [int] enable city scuttling -+ \-scuttle_cost <int> cost of scuttle -+ \-sea <int> pervasiveness (+ levels) of sea -+ \-sea_block use block-fills, not hue-fills -+ \-sea_color <spec> RGB values for sea level <int> -+ \-sea_tones <int> number of allowable sea levels -+ \-sea_value <float> darkness of seas for b/w games -+ \-seed <int> random number generator seed -+ \-speed <int> speed of updates -+ \-square <int> side length of cell -+ \-stipple <spec> set stipple (b/w) pattern -+ \-store [file] store game for later replay -+ \-towns <int> density of distributed towns -+ \-triangle use triangular tiling -+ \-trough_bias <float> trough setting bias (0.0-2.0) -+ \-xpos <int> x position of board on display -+ \-ypos <int> y position of board on display -+ \-wrap wrapping around edges of board - - .fi - .SH RUN-TIME COMMAND SUMMARY -@@ -114,29 +113,29 @@ - .SH COMMANDS IN GAMEBOARD - LFT MOUSE: toggle command vector - MID MOUSE: clear and set new command vector -- RGT MOUSE: repeat previous command (-repeat) -- SHIFT-LFT MOUSE: march (-march) fork move (else) -- SHIFT-MID MOUSE: force march (-march) fork move (else) -- SHIFT-RGT MOUSE: paratroops (-para) -- CTRL-RGT MOUSE: artillery (-guns) -+ RGT MOUSE: repeat previous command (\-repeat) -+ SHIFT-LFT MOUSE: march (\-march) fork move (else) -+ SHIFT-MID MOUSE: force march (\-march) fork move (else) -+ SHIFT-RGT MOUSE: paratroops (\-para) -+ CTRL-RGT MOUSE: artillery (\-guns) - CRTL-'s': pause game - CRTL-'q': resume game - CRTL-'p': save game state to map file -- 'a': attack enemy square (-attack) -- 'b': build base (-build) -- 'B': build full base (-build & -manage) -- 's': scuttle base (-scuttle) -- 'f': fill terrain (-fill) -- 'F': fill full terrain (-fill & -manage) -- 'd': dig terrain (-dig) -- 'D': dig full terrain (-dig & -manage) -+ 'a': attack enemy square (\-attack) -+ 'b': build base (\-build) -+ 'B': build full base (\-build & \-manage) -+ 's': scuttle base (\-scuttle) -+ 'f': fill terrain (\-fill) -+ 'F': fill full terrain (\-fill & \-manage) -+ 'd': dig terrain (\-dig) -+ 'D': dig full terrain (\-dig & \-manage) - 'p': paratroops (-para) -- 'P': paratroops - on (-para & -manage) -- 'g': artillery (-guns) -- 'G': artillery - on (-guns & -manage) -+ 'P': paratroops \- on (\-para & \-manage) -+ 'g': artillery (\-guns) -+ 'G': artillery \- on (\-guns & \-manage) - 'z': cancel all movement -- 'c': cancel managed operation (-manage) -- '0'-'9': reserve (-reserve) -+ 'c': cancel managed operation (\-manage) -+ '0'-'9': reserve (\-reserve) - - .SH COMMANDS IN TEXT AREA - CONTROL-c: quit the game -@@ -169,17 +168,17 @@ - without waiting for turns. - - .SH TEAM SIDES AND PLAYERS -- -<color>, -color, -color_inverse, -stipple -+ \-<color>, \-color, \-color_inverse, \-stipple - - The game is started from one display, and each player must play from a - separate display, players being assigned to a color team by the --command line option "-<color> <display>". The parameter <color> -+command line option "\-<color> <display>". The parameter <color> - determines the color of the troops of that team, which can be either a - monochrome tone like black, white, dark, light, or a true color like - red, green, blue, although the true colors will appear on a monochrome - monitor as either black or white with an identifying character in each - troop marker which is the first letter of the color name. For --instance, the team color "-red" would appear on a monochrome monitor -+instance, the team color "\-red" would appear on a monochrome monitor - as black with a letter "R" in the middle of each troop marker. The - legal team color names can be selected from any color defined in the - file /usr/lib/X11/rgb.txt which includes such bizarre entries as -@@ -187,11 +186,11 @@ - "red", "green", "blue" and "black" and "white" etc. Alternatively, - colors can be defined individually in the default file (.xbattle), - an option file (see OPTIONS section below), or in the command --line itself using the "-color <str> <r> <g> <b>" option. With this -+line itself using the "\-color <str> <r> <g> <b>" option. With this - option, the color is given by <str>, and the red green and blue - components by <r>, <g>, and <b> respectively, in the range (0-255). A - black and white pattern can be assigned to correspond to color name --<str> via the "-stipple <str> 8 x <hex>" option, where the binary -+<str> via the "\-stipple <str> 8 x <hex>" option, where the binary - breakdown of each of eight hex numbers (in form like "0xa4") specifies - one of the eight rows of the pattern. - -@@ -200,7 +199,7 @@ - bitmap textures on monochrome monitors, allowing monochrome players to - have six distinguishable team colors. A number of people can be - assigned to the same team by repeating the color for different --displays, for example "-red display1 -red display2", and each member -+displays, for example "\-red display1 \-red display2", and each member - of the team will be able to command any troops of that team. The - <display> argument designates the name of the display on which the - team of that color is playing, so each player must be given a color -@@ -215,7 +214,7 @@ - which means the display from which the program is started. When - playing between color and monochrome displays the colors can be - specified more exactly by concatenating a color name with a monochrome --name, for example "-red_white" (color first), which would display that -+name, for example "\-red_white" (color first), which would display that - team as red on color monitors and white on monochrome monitors. All - command line flags and arguments for the game can be given in any - order as long as the argument directly follows its flag, and most -@@ -225,7 +224,7 @@ - experienced player (see BIASED GAMES below). - - .SH OPTIONS -- -options -+ \-options - - A large number of command line options are available to define the parameters - of the game. In essence, xbattle is many thousands of games rolled -@@ -237,8 +236,8 @@ - each option (plus argument, where applicable) is placed on a separate - line. So, for example, the game... - -- xbattle -black me -white cnsxk:0.0 -armies 4 -farms 5 -- -attack -+ xbattle \-black me \-white cnsxk:0.0 \-armies 4 -farms 5 -+ \-attack - - could also be played with the command... - -@@ -246,13 +245,13 @@ - - or alternatively with the shorthand version... - -- xbattle -black me -white cnsxk:0.0 -myoptions.xbo -+ xbattle \-black me \-white cnsxk:0.0 \-myoptions.xbo - - where the file myoptions.xbo consists of the lines... - -- -armies 4 -- -farms 5 -- -attack -+ \-armies 4 -+ \-farms 5 -+ \-attack - - If the specified options file cannot be found in the current directory, - xbattle will search the default xbo directory DEFAULT_XBO_DIR, which -@@ -270,35 +269,35 @@ - resolved in favor of the options file. - - .SH TROOPS -- -bases, -rbases, -rbase_range, -armies, -militia -+ \-bases, \-rbases, \-rbase_range, \-armies, \-militia - - Initial troop allocation is controlled by several command options, --including -bases <n>, -rbases <n>, -armies <n> and -militia <n>. -+including \-bases <n>, \-rbases <n>, \-armies <n> and \-militia <n>. - Armies and militia are troops on the gameboard, whereas bases which - are indicated by circles on the gameboard, provide a steady supply of --troops. The -bases option allocates <n> bases to each team, --symmetrically arranged on the game board, whereas -rbases <n> arranges --them randomly (which works well with the -horizon option). The -+troops. The \-bases option allocates <n> bases to each team, -+symmetrically arranged on the game board, whereas \-rbases <n> arranges -+them randomly (which works well with the \-horizon option). The - minimum distance between enemy bases (in cells) can optionally be set - using the -rbase_range <n> command. Note that large values of <n> may - not allow any valid rbase allocation, in which case xbattle will exit - with an error message. The ---armies option allocates <n> armies (full troop cells) symmetrically -+\-armies option allocates <n> armies (full troop cells) symmetrically - arrayed, whereas -militia <n> scatters militia of random strengths to - random locations, with a probabilistic density of <n>. At least one - of these four options is required to provide initial troops for the - game, and they may be used in arbitrary combinations. - - .SH RESUPPLY -- -towns, -farms, -decay, -erode, -erode_thresh -+ \-towns, \-farms, \-decay, \-erode, \-erode_thresh - --The bases created by the -bases or -rbases produce a steady supply of -+The bases created by the -bases or \-rbases produce a steady supply of - fresh troops. The bases can be occupied by an opposing team, with the - troops produced by such bases are always the color of the occupying - force. The capture of all bases thus becomes the strategic objective - of the game. This arrangement simulates desert warfare, as long and - tenuous supply lines develop between the base and the battle areas. --Another form of resupply is provided by the command option "-towns -+Another form of resupply is provided by the command option "\-towns - <n>". This produces a number of smaller unoccupied supply sources - scattered randomly over the game board at a density determined by the - argument <n>, and with random rates of troop production, indicated by -@@ -306,14 +305,14 @@ - a team to begin producing troops. This option simulates yet a larger - scale of operation as the combatants battle to occupy the towns. A - more distributed form of resupply is evoked by the command option --"-farms <n>" whereby every cell of the game board will produce -+"\-farms <n>" whereby every cell of the game board will produce - troops as soon as it is occupied, at a rate proportional to the - argument <n>, and the strategic objective becomes the occupation of - the largest areas of the gameboard. This option simulates a yet - larger scale of operation and requires complex management of resources - to concentrate the distributed resources and deliver them to the - battle front. In large scale scenarios additional realism may be --added by using the "-decay <n>" option whereby the troop strength in all -+added by using the "\-decay <n>" option whereby the troop strength in all - troop cells decays constantly in proportion to the value of the - decay argument. This reflects the fact that armies constantly consume - resources even while they are idle, and an army without constant -@@ -323,18 +322,18 @@ - this number includes the troops that make up the supply line, the - fighting power of an army diminishes with the length of the supply - line. The default decay value is zero, i.e. no decay. All the --resupply options can be used in any combination. The "-erode <n>" -+resupply options can be used in any combination. The "\-erode <n>" - command doesn't affect resuply, per se, but it does effect the movement - vectors through which troops flow by causing them to erode away as - they grow older. All movement vectors in a cell will be unset at a - random time not to be less than <n> update cycles, with probability of --erosion for each subsequent cycle determined by the "-erode_thresh <m>" -+erosion for each subsequent cycle determined by the "\-erode_thresh <m>" - argument, where <m> is the percentage chance of erosion. - - .SH ENHANCED MOVEMENT COMMANDS -- -repeat, -bound, -attack, -march, -reserve -+ \-repeat, \-bound, \-attack, \-march, \-reserve - --With the option "-repeat" you can repeat the last command using the -+With the option "\-repeat" you can repeat the last command using the - right mouse. If for example your last command to a cell consisted - of a "move up" command by clicking near the top edge of the cell, - you can now command other cells to also move up by clicking in those -@@ -343,7 +342,7 @@ - right mouse anywhere in that cell, which saves time. This command - is supported in biased games - i.e. it can be set for one team but not - another. Commands can be made to apply to more than one cell with --the option "-bound". This is achieved by defining a bounding rectangle -+the option "\-bound". This is achieved by defining a bounding rectangle - within which the command is valid. For instance, to command a block - of cells to all move up simultaneously, you place your mouse near - the top edge of a cell (may be unoccupied, or enemy occupied) and -@@ -351,11 +350,11 @@ - to another game cell where you release the button. The start and - end cells of the mouse drag define the opposite corners of a - rectangle within which all the game cells occupied by your troops --receive the command "go up". The "-attack" option makes quick, -+receive the command "go up". The "\-attack" option makes quick, - multiple front attacks possible. By issuing an "a" command in an - enemy cell, all adjacent friendly troops will automatically alter their - movement vectors so as to attack the enemy cell, and only that cell. --The "-reserve" option allows a player to define a level of reserves -+The "\-reserve" option allows a player to define a level of reserves - to remain in the cell despite any movement vectors. - For instance a reserve level of 5 would ensure that the - cell will maintain a reserve of 50% capacity, and movement out of -@@ -367,7 +366,7 @@ - for 10% reserves, "2"for 20% reserves, and so forth up to "9" for 90% - reserves. - --With the option "-march <n>", troops may -+With the option "\-march <n>", troops may - be commanded to march in a particular direction and to continue in - that direction without further commands. March commands are activated - with shift left or shift middle mouse button. For example, if you -@@ -380,7 +379,7 @@ - traveling much faster than manually commanded troops, the march - argument <n> defines the number of game update cycles that the troops - must wait in each new cell before marching on to the next cell, so --that "-march 1" will result in a fast march, whereas "-march 10" will -+that "\-march 1" will result in a fast march, whereas "\-march 10" will - be slow. The "march command" is indicated on the game board by a - double command vector (looks like an "=" sign) in the appropriate - direction, and the march command is always passed on to the head of -@@ -407,8 +406,8 @@ - that sets them. - - .SH GAME PLAY -- -fight, -speed, -move, -seed, -- -digin, -nospigot, -disrupt, -maxval -+ \-fight, \-speed, \-move, \-seed, -+ \-digin, \-nospigot, \-disrupt, \-maxval - - Whenever troops of different colors occupy the same game cell, a - battle ensues, indicated by concentric markers of the two colors, and -@@ -416,19 +415,19 @@ - incur losses according to a random nonlinear function that - disproportionately favors the more numerous troops. The steepness of - the nonlinearity, i.e. the advantage given to the more numerous side, --is controlled by the -fight parameter. A small value will produce -+is controlled by the \-fight parameter. A small value will produce - lengthy drawn out battles which favor a defensive strategy, whereas a - large value produces quick decisive battles where the random element - is more significant, favoring an offensive strategy even against - superior odds. In the absence of the -fight option, the default value --of 5 is used. The -fight parameter is also automatically modulated by --the game speed parameter (-speed) in order to slow down battles in -+of 5 is used. The \-fight parameter is also automatically modulated by -+the game speed parameter (\-speed) in order to slow down battles in - fast games and vice versa. Since only 1/3 of the troops can enter a --cell in each update cycle (with the default -move 5), attackers of a -+cell in each update cycle (with the default \-move 5), attackers of a - full cell are always outnumbered initially, unless a coordinated --attack is launched from three sides simultaneously. The -move -+attack is launched from three sides simultaneously. The \-move - argument thus has a significant influence on the efficacy of an --attack. The -disrupt option dictates that when a game cell comes -+attack. The \-disrupt option dictates that when a game cell comes - under attack, all its command vectors are immediately canceled, - breaking supply lines which must be repaired by hand after the attack. - In other words, there can be no movement under fire, and even small -@@ -443,7 +442,7 @@ - renew the command vector in order to press home the attack under - opposition. This simulates the tactical situation where a commander - must personally intervene to ensure the maximal effort is applied at --the most critical points of the battle. The "-seed <n>" option -+the most critical points of the battle. The "\-seed <n>" option - simply sets the seed of the random number generator to <n>, which is - useful for recreating scenarios. By default the random number - generator is seeded with a combination of the system time and process -@@ -453,8 +452,8 @@ - to adjacent cells indicated by the command vectors. The default - fraction is 1/3, so that in each successive cycle, 1/3 of the - remaining troops move out of the cell until it is empty. That --fraction is adjusted with the -move argument, 1 for less movement, and --10 for more movement. The option -digin <n> simulates the time -+fraction is adjusted with the \-move argument, 1 for less movement, and -+10 for more movement. The option \-digin <n> simulates the time - and effort - required for troops to dig in and build fortifications. This is - achieved by reducing the rate of flow of troops into a cell as it -@@ -462,10 +461,10 @@ - the men must dig in and settle down to accommodate the last arrivals. - The argument <n> modulates the strength of this effect, from 1 to - 10 for small to large. The maximum number of troops which can occupy --a single cell is set via -maxval <n>. Note that for octagonal tiling -+a single cell is set via \-maxval <n>. Note that for octagonal tiling - only, the some cells (the square ones) will have different maxvals. - --The -nospigot [n] option causes troops to automatically cease attacks -+The \-nospigot [n] option causes troops to automatically cease attacks - when they are highly outnumbered, preventing the "spigoting" (perhaps - "siphoning" would be more appropriate) which can empty whole supply lines - into needless slaughter. Neighboring supply lines are shut off whenever -@@ -473,46 +472,46 @@ - to the nospigot command. - - .SH BOARD CONFIGURATION -- -cell, -board, -boardx, -boardy, -border, -manpos, -- -xpos, -ypos, -area, -wrap, -grid -+ \-cell, \-board, \-boardx, \-boardy, \-border, \-manpos, -+ \-xpos, \-ypos, \-area, \-wrap, \-grid - - The dimensions of the game board can be tailored via the ---boardx <n> and -boardy <n> options which set the horizontal and --vertical board dimensions, in terms of cells. The -board <n> option -+\-boardx <n> and -boardy <n> options which set the horizontal and -+vertical board dimensions, in terms of cells. The \-board <n> option - creates a square board. The dimension of each cell, in pixels, is --set by the -cell <n> option. The xbattle window border can be set -+set by the \-cell <n> option. The xbattle window border can be set - with -border <n>, while the initial x and y position of the game --board can be set with -xpos <n> and -ypos <n> respectively. The -+board can be set with \-xpos <n> and \-ypos <n> respectively. The - -manpos option allows each player to position his or her window - interactively (does not work with all window managers). A grid --indicating the borders of each cell is established via the -grid -+indicating the borders of each cell is established via the \-grid - command (the default), and can be eliminated via the negative --command -no_grid. Game play wraps around the edged of the board --if the -wrap option is invoked, although certain tiling schemes -+command \-no_grid. Game play wraps around the edged of the board -+if the \-wrap option is invoked, although certain tiling schemes - require even or odd board dimensions for wrap to work properly - in both the horizontal and vertical directions. Troop markers are - scaled by area (proportional to number), rather than diameter, if --the -area option is used. -+the \-area option is used. - - .SH TILING METHODS -- -diamond, -square, -hex, -octagon, -triangle -+ \-diamond, \-square, \-hex, \-octagon, \-triangle - - A number of different tiling methods are available in xbattle, each of - which employs cells of a different shape. Square cells in a rectangular --grid are used for the -square option (the default). Hexagonal cells --are used with the -hex option. The -diamond option results in a square -+grid are used for the \-square option (the default). Hexagonal cells -+are used with the \-hex option. The \-diamond option results in a square - tiling, tilted by 45 degrees. A tiling consisting of two orientations --of equilateral triangles is invoked with the -triangle option. The ---octagon option results in a tiling consisting of a combination of -+of equilateral triangles is invoked with the \-triangle option. The -+\-octagon option results in a tiling consisting of a combination of - regular octagons and small squares. Since different cell shapes have - different neighborhoods, troop movement in the different tilings can - have a very different feel, and may take some getting used to. - - .SH DRAWING METHODS -- -draw -+ \-draw - - The method of drawing and erasing troops and terrain is defined via the ---draw <n> option, where the argument indicates one of five distinct techniques, -+\-draw <n> option, where the argument indicates one of five distinct techniques, - of varying speed and flicker. They are: - Method 0: Erase the cell by drawing a circle the color of - the terrain, then redraw the cell contents. This is the method employed -@@ -547,32 +546,32 @@ - before the cell redraw. - - .SH GUNS AND PARATROOPS -- -guns, -guns_damage, -guns_cost, -- -para, -para_damage, -para_cost, -- -manage -+ \-guns, \-guns_damage, \-guns_cost, -+ \-para, \-para_damage, \-para_cost, -+ \-manage - --The command option -guns <n> enables the key 'g' to be used to control -+The command option \-guns <n> enables the key 'g' to be used to control - artillery, which can be shot from any occupied game cell. The range - and direction of the shot are determined by the position of the cursor - in the game cell relative to the center of the cell --- near center - for short range and near the edge for - long range, as modulated by the argument <n>. Every shell costs a - number of troops from the source cell equal to the argument of ---guns_cost <n> (default: 2), and destroys a number of troops at --the destination cell equal to the argument of -guns_damage <n> (default: 1). -+\-guns_cost <n> (default: 2), and destroys a number of troops at -+the destination cell equal to the argument of \-guns_damage <n> (default: 1). - The fall of shot is indicated by the brief appearance of a - little dot of the attacker's color. --With the -horizon option the fall of shot may not be -+With the \-horizon option the fall of shot may not be - visible for long range shots, although invisible enemy troops will be - destroyed where the shell falls. Artillery can damage both friend and - foe, so it must be used with caution. Paratroops are enabled by the --option -para <n>, and are launched similarly to artillery using the -+option \-para <n>, and are launched similarly to artillery using the - 'p' key. The cost of dropping a number of troops equal to the argument --of -para_damage <n> (default: 1) at the destination cell is --equal to the argument of -para_cost <n> (default: 3). -+of \-para_damage <n> (default: 1) at the destination cell is -+equal to the argument of \-para_cost <n> (default: 3). - The drop zone is indicated by the brief appearance of a parachute - symbol. When used with the ---manage option, artillery and paratroops can be deployed continuously -+\-manage option, artillery and paratroops can be deployed continuously - with the 'G' and 'P' keys instead of the 'g' and 'p' keys. This will - initiate a continuous barrage that will only stop when the source - cell is exhausted, but will recommence when it is resupplied. The -@@ -581,23 +580,23 @@ - giving the source cell a movement command. - - .SH TERRAIN -- -hills, -hill_tones, -hill_color, -- -peaks, -peak_bias, -trough_bias, -- -forest, -forest_tones, -forest_color, -- -sea, -sea_block, -sea_tones, -sea_color, -sea_value -+ \-hills, \-hill_tones, \-hill_color, -+ \-peaks, \-peak_bias, \-trough_bias, -+ \-forest, \-forest_tones, \-forest_color, -+ \-sea, \-sea_block, \-sea_tones, \-sea_color, \-sea_value - --The command option -hills <n> initializes random hills which restrict -+The command option \-hills <n> initializes random hills which restrict - movement when going from low to high elevation, and enhance movement - from high to low, but do not affect movement on the level. The - elevation is indicated by the shade of gray, light for high and dark - for low on monochrome, and brownish for high and greenish for low on - color displays. The argument controls the amount of energy gained and - lost on hills, i.e. the steepness. Hills provide a tactical advantage --when attacking downhill. With very steep hills (-hills 9) movement -+when attacking downhill. With very steep hills (\-hills 9) movement - from very low to very high elevation (a cliff) is virtually - impossible. The number of discrete elevation levels is set via the ---hill_tones <n> option. On color monitors, the hill hues can be --tailored via the -hill_color <n> <red> <green> <blue>, where <n> specifies -+\-hill_tones <n> option. On color monitors, the hill hues can be -+tailored via the \-hill_color <n> <red> <green> <blue>, where <n> specifies - the elevation index (from 0 to hill_tones-1) to be changed to the - RGB triplet. The color of unspecified elevation indices are linearly - interpolated based on specified indices. -@@ -611,10 +610,10 @@ - cell, so that troops deployed within a forest but at the boundary - have a tactical advantage over those deployed outside the boundary. - As for hills, the number of distinct forest densities is specified via --the -forest_tones <n> option, with colors being specified by --the -forest_color <n> <red> <green> <blue> option. -+the \-forest_tones <n> option, with colors being specified by -+the \-forest_color <n> <red> <green> <blue> option. - --The command option -sea <n> generates randomly distributed bodies of -+The command option \-sea <n> generates randomly distributed bodies of - water, whose prevalence is determined by the argument <n>. Such - bodies of water cannot be crossed by infantry. A small value creates - scattered ponds and lakes, which influences the tactical deployment of -@@ -623,17 +622,17 @@ - taken by paratroops. On monochrome monitors water appears dark - mottled grey, and on color monitors it appears as various shades of blue. - Like hills, seas have elevation (depths), the number of which is controlled --via the -sea_tones <n> option, with colors determined by the ---sea_color <n> <red> <green> <blue> option. Besides looking nice, sea --depths are useful when playing with the -dig and -fill options (see the -+via the \-sea_tones <n> option, with colors determined by the -+\-sea_color <n> <red> <green> <blue> option. Besides looking nice, sea -+depths are useful when playing with the \-dig and \-fill options (see the - TERRAIN MODIFICATIONS section). On monochrome monitors, the option ---sea_value <float> determines the blackness of the shallowest sea, expressed -+\-sea_value <float> determines the blackness of the shallowest sea, expressed - as a fraction. For backwards compatibility, sea depths can also be indicated --by the size of the sea marker if the -sea_block option is invoked. -+by the size of the sea marker if the \-sea_block option is invoked. - - Hills (and forest and seas) are created by a complex terrain generation - algorithm which bases elevations (or densities, in the case of forests) --on a number of fixed points, as specified by the -peaks <n> option. -+on a number of fixed points, as specified by the \-peaks <n> option. - Based on these <n> points with randomly determined position and elevation, - the elevation of the rest of the game cells is determined via a - non-linear interpolation process. The -peak_bias <float> option determines -@@ -641,32 +640,32 @@ - yields generally low-elevation terrain, with spire-like mountains, while - 2.0 yields generally high-elevation terrain, with deep ravines. The - default value of 1.0 results in pleasantly contoured terrain. Similarly, --the -trough_bias <float> option controls the distribution of sea depths. -+the \-trough_bias <float> option controls the distribution of sea depths. - - .SH TERRAIN MODIFICATION -- -dig, -dig_cost, -- -fill, -fill_cost, -- -build, -build_cost, -build_limit, -- -scuttle, -scuttle_cost, -- -manage -+ \-dig, \-dig_cost, -+ \-fill, \-fill_cost, -+ \-build, \-build_cost, \-build_limit, -+ \-scuttle, \-scuttle_cost, -+ \-manage - --The command options -dig [n] and -fill [n] allow run time modification of the -+The command options \-dig [n] and \-fill [n] allow run time modification of the - terrain by digging hills and seas down to lower elevation or filling them up to - higher elevation. This allows the construction and breaching of - defensive fortifications. The cost of these operations (in troops) --is determined by the -dig_cost <n> and -fill_cost <n> options. -+is determined by the \-dig_cost <n> and \-fill_cost <n> options. - The operations are accomplished by positioning the mouse on the friendly - cell and striking the "d" key (for dig) or the "f" key (for fill). With the ---sea option, -dig <n> and -fill <n> can be supplied with an --argument which specifies the number of sea depths (see also -sea_tones). -+\-sea option, \-dig <n> and \-fill <n> can be supplied with an -+argument which specifies the number of sea depths (see also \-sea_tones). - Since it is impossible to occupy a sea cell to fill it, filling seas - is accomplished by setting the command vector as if to move into the sea, - and then pressing "f". Likewise for digging a sea deeper. For all other - fill and dig operations the troop cell may not have any command vectors set. - --The -build <n> and -scuttle [n] options allow the building and -+The \-build <n> and \-scuttle [n] options allow the building and - destruction of bases (or towns). The costs of these operations (in --troops) are determined by -build_cost <n> and -scuttle_cost <n>. -+troops) are determined by \-build_cost <n> and \-scuttle_cost <n>. - When the mouse is positioned on a friendly - cell and the "b" key is pressed, the troops are exchanged for a 1/<n> - fraction of a base, displayed as an arc segment. Thus <n> building -@@ -679,15 +678,15 @@ - of troops expended, where a scuttle unit is defined by the argument of the - scuttle option (default: 5). Usually, - several keystrokes are required to complete the destruction. When --used in conjunction with the -build option, instead of reducing the -+used in conjunction with the \-build option, instead of reducing the - size of the base, each scuttle operation removes a section (arc --segment) of the base, at a troop cost indicated by the -scuttle_cost -+segment) of the base, at a troop cost indicated by the \-scuttle_cost - <n> option. A base will not produce troops if even a - single segment is missing, although of course it is less expensive to - repair (with "b" build) a base with fewer segments missing. - --As with -guns and -para, the -dig, -fill, and -build options (but not --the -scuttle option) can be "managed" with the -manage option, which -+As with -guns and \-para, the \-dig, \-fill, and \-build options (but not -+the \-scuttle option) can be "managed" with the \-manage option, which - allows a player to issue a single command to initiate a sequence of - repeated dig, fill, or build operations using the keys 'D', 'F', - and 'B' respectively. The managed operation will continue until the -@@ -697,50 +696,50 @@ - key, or by issuing a movement command to the cell. - - .SH VISIBILITY -- -horizon, -hidden, -map, -basemap, -localmap -+ \-horizon, \-hidden, \-map, \-basemap, \-localmap - --The command option -horizon [n] restricts the view of enemy troop -+The command option \-horizon [n] restricts the view of enemy troop - deployment to within <n> cells of any friendly troops. Horizon can - be called with no argument, in which case the default <n> = 2 is used. - Intelligence of more remote regions can be gathered by use of --paratroops. The command option -hidden (no arguments) makes the -+paratroops. The command option \-hidden (no arguments) makes the - command vectors of the enemy invisible at any range. The command --option -map is similar to -horizon except that it restricts your view -+option \-map is similar to -horizon except that it restricts your view - of geographical objects as well as enemy troops, although it will - "remember" any terrain that you have seen once, as if you had mapped --that information. The -basemap option maps bases and towns as it does -+that information. The \-basemap option maps bases and towns as it does - the terrain --- once you see them, they're remembered. --The option -localmap maps only the local area around your troops, -+The option \-localmap maps only the local area around your troops, - and features disappear as you move away again. - - .SH STORE AND REPLAY -- -store, -replay -+ \-store, \-replay - --The -store <file> option allows you to store enough information -+The \-store <file> option allows you to store enough information - about the visual progress of the game to reconstruct it later with ---replay <file> option. When -replay is used, all other command options --are ignored except the -<color> <display> options, which can be used to -+\-replay <file> option. When \-replay is used, all other command options -+are ignored except the \-<color> <display> options, which can be used to - send the replay to other displays. When doing so, only the <display> portion - of the option is used, the <color> is ignored. So, if you play a game - with many command line parameters and several displays with the --argument -store <file>, after the game you can repeat the same command --line but just change -store to -replay, and the game will be replayed -+argument \-store <file>, after the game you can repeat the same command -+line but just change \-store to \-replay, and the game will be replayed - on the displays of all the original combatants. When xbattle is --called with the -replay option alone, the default display will be -+called with the \-replay option alone, the default display will be - "me". If store or replay are called without a file name, the default - name "xbattle.xba" will be used. In the replay, the view restrictions --of the -horizon option are deactivated, i.e. all enemy troops are -+of the \-horizon option are deactivated, i.e. all enemy troops are - visible. The replay action can be paused or resumed by typing any - key, and can be interrupted with either control-c or control-q. - - .SH GAME STATE SAVING, LOADING, AND EDITING -- -load, -dump, -overwrite, -edit -+ \-load, \-dump, \-overwrite, \-edit - - The game state can be saved at any point during the game with the - control-p key. This creates a file called "xbattle.xbt", or the name --given with the argument -dump <filename>, which represents the state -+given with the argument \-dump <filename>, which represents the state - of the game board at the time of saving. Future games can be started --from the saved game state with the command option "-load <file>" where -+from the saved game state with the command option "\-load <file>" where - <file> is optional if the file name is "xbattle.xbt". - If the specified load file cannot be found in the current directory, - xbattle will search the default xbt directory DEFAULT_XBT_DIR, which -@@ -748,22 +747,22 @@ - Note that most - game parameters ARE NOT STORED. Only terrain features (forest, hills, - seas, towns etc.) and troop deployment. This means that if you were --playing with -farms, -decay, and -guns then you will have to type them -+playing with \-farms, \-decay, and \-guns then you will have to type them - in if you want them for the new game. The terrain and boardsize of - the saved map file will override all terrain and boardsize arguments - when loaded. Troop and town/base producing options (such as -militia, ---towns, and -rbases) will add new features on top of the loaded game --state. If the -overwrite option is issued, only the terrain and -+\-towns, and \-rbases) will add new features on top of the loaded game -+state. If the \-overwrite option is issued, only the terrain and - cities from the loaded game will be used --- no troops will appear. - This is useful for repeating games with interesting terrains with - different troop configurations. - --Game boards can be created or modified with the -edit --function, which is called with the command option "-edit <file>" where -+Game boards can be created or modified with the \-edit -+function, which is called with the command option "\-edit <file>" where - <file> is optional if the file name is "xbattle.xbt". With this - option, no game is played, but instead, the mouse and key commands - control the features of the map to be edited. To edit an existing --file, use "-edit <file>" and type "l" when the editor comes up. This -+file, use "\-edit <file>" and type "l" when the editor comes up. This - will load the file named in the edit argument. To save that file, - type "d" and the file will be saved to the same file name. No - provision is made for saving to a different file name. When using the -@@ -771,7 +770,7 @@ - color of players to be used, and the sea, forest or hills options if - they will be required. For example, to create a map called - "mymap.xbt" with three color teams and seas, could use the command --"xbattle -edit mymap.xbt -sea 7 -white me -black you -dark you". Note -+"xbattle \-edit mymap.xbt -sea 7 \-white me \-black you \-dark you". Note - the use of the special display "you", which is a dummy display name - used as a place holder for the black and dark colors. The interactive - commands are as follows: -@@ -797,9 +796,9 @@ - l: load board with name <filename> - q: quit - --With the -edit option, the -overwrite option has a slightly different -+With the \-edit option, the \-overwrite option has a slightly different - function. Rather than suppress the display of troops, as it does when --combined with -load option, the -overwrite option causes default terrain -+combined with \-load option, the \-overwrite option causes default terrain - to be generated for editing. Note that boards created with during - the edit process are stored in reduced format, whereas boards saved - during game play are stored in standard format, which includes more -@@ -816,7 +815,7 @@ - middle mouse clears existing vectors and sets a new vector (An - alternative command system is available, see COMPILATION OPTIONS - below). The right mouse is used to repeat the last used command (with ---repeat option). The keyboard is interpreted differently depending on -+\-repeat option). The keyboard is interpreted differently depending on - whether the mouse is positioned on the gameboard or on the text area - below. On the gameboard, the the keys control-s and control-q pause - and resume the game respectively. The 'z' key cancels all command -@@ -825,8 +824,8 @@ - file (see Saving Game State commands below). There are also a variety - of keyboard commands available with different options, to control - special functions on the gameboard. These keystrokes are described in --detail with the description of the appropriate options (see -guns, ---para, -build, -scuttle, -fill, -dig, -reserve). In the text area -+detail with the description of the appropriate options (see \-guns, -+\-para, \-build, \-scuttle, \-fill, \-dig, \-reserve). In the text area - below the keyboard, the keys control-c and control-q both exit the - player from the game, although the game continues among the remaining - players until they also quit, and the key control-w also exits the -@@ -843,29 +842,29 @@ - - The game can be biased to favor a less experienced player, or for any - other reason, in the following way. In the normal syntax, the command --line argument "-<color>" is immediately followed by the "<display>" --argument, for example "-black me". It is possible to define command -+line argument "\-<color>" is immediately followed by the "<display>" -+argument, for example "\-black me". It is possible to define command - line options that are specific to only one display with the syntax --"-<color> { <options> } <display>" where <options> refers to a list of -+"\-<color> { <options> } <display>" where <options> refers to a list of - command line options as before, but is included in a set of braces - between the team color and the display (note the spaces on either side - of the braces). For example, - -- xbattle -black { -fight 10 } me -white { -fight 5 } cnsxk -+ xbattle \-black { \-fight 10 } me \-white { \-fight 5 } cnsxk - - where black (on display "me") has the advantage of greater firepower - than white (on display "cnsxk"). Not all options can be biased, - specifically options that control the global behavior of the game, such --as -speed, -hex, and -board. Note also that if you are using player -+as \-speed, \-hex, and \-board. Note also that if you are using player - specific and global options, the global options MUST be listed first, - otherwise they will overwrite the play specific options. For example, - -- xbattle -black { -fight 10 } me -white cnsxk -fight 5 -+ xbattle \-black { \-fight 10 } me \-white cnsxk \-fight 5 - - will result in a fight 5 for both players. In order to achieve the - desired result, the command line must be... - -- xbattle -fight 5 -black { -fight 10 } me -white cnsxk -+ xbattle \-fight 5 \-black { \-fight 10 } me \-white cnsxk - - where the local option overwrites only the black team's fight value. - -@@ -883,7 +882,7 @@ - "cnsxk:0.0". The troops will be rapidly exhausted in this small - skirmish. - -- xbattle -black me -white cnsxk:0.0 -armies 4 -+ xbattle \-black me \-white cnsxk:0.0 \-armies 4 - - The next example adds bases, which will produce a much prolonged - conflict involving long supply lines between the front and the bases, -@@ -892,7 +891,7 @@ - example black is playing on the display cnsxk:0.0, and white is on the - system console. Note that the extension ":0.0" can be omitted. - -- xbattle -black cnsxk -white unix -armies 4 -bases 2 -+ xbattle \-black cnsxk \-white unix \-armies 4 \-bases 2 - - The next example is a game with militia scattered around initially, - that have to race to occupy the towns and link up with their -@@ -901,8 +900,8 @@ - this example black is playing on cnsxk:0.0 while white is playing on - the system console of the remote machine thalamus.bu.edu. - -- xbattle -black cnsxk -white thalamus.bu.edu -towns 2 -- -militia 2 -hills 7 -+ xbattle \-black cnsxk \-white thalamus.bu.edu \-towns 2 -+ \-militia 2 \-hills 7 - - Here is a favorite around B.U. where the land is broken up by many - bodies of water creating isolated islands, and view of the enemy is -@@ -913,28 +912,28 @@ - In this example the color display will show cyan and red teams, while - the monochrome monitor will show white and black teams respectively. - The decay option prevents huge armies from building up at the end of --the game, and the -store option is used to store this game to the file -+the game, and the \-store option is used to store this game to the file - "xbattle.xba". - -- xbattle -cyan_white thalamus:0.0 -red_black cnsxk -- -rbases 5 -sea 8 -guns 4 -para 4 -horizon 2 -- -decay 3 -store xbattle.xba -+ xbattle \-cyan_white thalamus:0.0 \-red_black cnsxk -+ \-rbases 5 \-sea 8 \-guns 4 \-para 4 \-horizon 2 -+ \-decay 3 \-store xbattle.xba - - Now, the previous stored game is replayed to the original displays by --repeating the original command line except that -store is changed to ---replay. This is convenient if you have command line editing -+repeating the original command line except that \-store is changed to -+\-replay. This is convenient if you have command line editing - facilities. - -- xbattle -cyan_white thalamus:0.0 -red_black cnsxk -- -rbases 5 -sea 8 -guns 4 -para 4 -horizon -- -replay xbattle.xba -+ xbattle \-cyan_white thalamus:0.0 \-red_black cnsxk -+ \-rbases 5 \-sea 8 \-guns 4 \-para 4 \-horizon -+ \-replay xbattle.xba - --With -replay, all arguments are actually ignored except the displays, -+With \-replay, all arguments are actually ignored except the displays, - so you could achieve exactly the same result with the simpler command - -- xbattle -black thalamus:0.0 -black cnsxk -replay -+ xbattle \-black thalamus:0.0 \-black cnsxk \-replay - --where the -black argument flags the subsequent argument as a -+where the \-black argument flags the subsequent argument as a - displayname, but is otherwise ignored, i.e. any color name would - suffice. The filename for -replay is omitted, so that the default - file name "xbattle.xba" is used. -@@ -943,13 +942,13 @@ - to set up a game including, decay, seas, farms, militia, and many - other options. - -- xbattle -black me -white thalamus -options xbos/tribal.xbo -+ xbattle \-black me \-white thalamus \-options xbos/tribal.xbo - - Options files can also be read in individually for the two players, as - in the following example... - -- xbattle -options game.xbo -black me -- -white { -options xbos/weak.xbo } thalamus -+ xbattle \-options game.xbo \-black me -+ \-white { -options xbos/weak.xbo } thalamus - - This results in a biased game where both black and white receive the - options defined in game.xbo, and white receives some specific -@@ -991,7 +990,7 @@ - positioned cluster of big towns. Eliminate all enemy troops from your - rear, and advance outwards, preferably from a corner, with a well - supplied front. Travel in convoy for speed and efficiency in safe --regions, especially if you are playing with -decay, but fan out near -+regions, especially if you are playing with \-decay, but fan out near - the enemy to provide alternate routes to a broad front (click on the - corner to open two command vectors simultaneously). Avoid head-on - assaults on the enemy, but rather dig in and wait for him to attack -@@ -1004,7 +1003,7 @@ - reserves. If however you are fighting a delaying action, or - retreating under fire then you should attack strong enemy cells with - your weak ones on a broad front to conserve resources. This is --particularly effective with the -disrupt option. Always try to attack -+particularly effective with the \-disrupt option. Always try to attack - a cell from two or more sides, and build up sufficient strength - before launching an attack on a strong cell. Always consider the - "manufacturing capacity" of the enemy, i.e. the number and size of -@@ -1016,7 +1015,7 @@ - connections, going in loops or in both directions, or by establishing - dead-end branches along the supply line to accumulate local reserves. - You should always have a few strong reserves near your base when --playing with -horizon or -para, to ensure against surprise attacks. -+playing with \-horizon or \-para, to ensure against surprise attacks. - When playing with horizon and paratroops use the paratroops to gather - intelligence from beyond the - horizon. When playing with paratroops or artillery, you can create a diff --git a/games/xbattle/files/xbattle-menu.in b/games/xbattle/files/xbattle-menu.in deleted file mode 100644 index cf21473013d1..000000000000 --- a/games/xbattle/files/xbattle-menu.in +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh - -# /usr/local/share/doc/xdialog/samples/radiolist - -DIALOG=Xdialog - -size="0x0" - -$DIALOG --backtitle "This is the \"XBattle\"" \ - --title "RADIOLIST BOX" \ - -geometry X0xY0+X0+Y0 \ - --no-tags \ - --radiolist "Which XBattle configuration wish you to use?" 0 0 0 \ - "Default" "Default" off \ - "Atlas" "Atlas, standard atlas terrain/color scheme" off \ - "Demo" "Demo, demo which includes ALL options" off \ - "Desert" "Desert, mountainous desert terrain/color scheme" off \ - "Io" "Io-like terrain/color scheme" off \ - "Skirmish" "Skirmish, intrigue, espionage, plotting" off \ - "Space" "Space-like terrain/color scheme" off \ - "Tribal" "Tribal, mad scramble, every man for himself" ON \ - "Tropical" "Tropical islands terrain/color scheme" off \ - "Tropical2" "Tropical2 islands terrain/color scheme" off \ - "Tundra" "Tundra-like terrain/color scheme" off \ - 2>/tmp/checklist.tmp.$$ - -retval=$? -choice=`cat /tmp/checklist.tmp.$$` -rm -f /tmp/checklist.tmp.$$ - -case $retval in - 0) - echo "'$choice' chosen.";; - 1) - echo "Cancel pressed.";; - 255) - echo "Box closed.";; -esac - -if [ "$choice" = "Default" ]; then - xbattle -black me -board 5 -cell 64 -manpos -armies 1 -elif [ "$choice" = "Atlas" ]; then - xbattle -black me -white :0 -options %%DATADIR%%/xbos/atlas.xbo -elif [ "$choice" = "Demo" ]; then - xbattle -black me -white :0 -options %%DATADIR%%/xbos/demo.xbo -elif [ "$choice" = "Desert" ]; then - xbattle -black me -white :0 -options %%DATADIR%%/xbos/desert.xbo -elif [ "$choice" = "Io" ]; then - xbattle -black me -white :0 -options %%DATADIR%%/xbos/io.xbo -elif [ "$choice" = "Skirmish" ]; then - xbattle -black me -white :0 -options %%DATADIR%%/xbos/skirmish.xbo -elif [ "$choice" = "Space" ]; then - xbattle -black me -white :0 -options %%DATADIR%%/xbos/space.xbo -elif [ "$choice" = "Tribal" ]; then - xbattle -black me -white :0 -options %%DATADIR%%/xbos/tribal.xbo -elif [ "$choice" = "Tropical" ]; then - xbattle -black me -white :0 -options %%DATADIR%%/xbos/tropical.xbo -elif [ "$choice" = "Tropical2" ]; then - xbattle -black me -white :0 -options %%DATADIR%%/xbos/tropical2.xbo -elif [ "$choice" = "Tundra" ]; then - xbattle -black me -white :0 -options %%DATADIR%%/xbos/tundra.xbo -fi - diff --git a/games/xbattle/pkg-descr b/games/xbattle/pkg-descr deleted file mode 100644 index ec123cf83a68..000000000000 --- a/games/xbattle/pkg-descr +++ /dev/null @@ -1,23 +0,0 @@ -This is XBattle by Greg Lesher, based on the original by Steve Lehar released -in 1991, and including certain enhancements, modifications, and bug fixes -suggested by a number of contributors from all over the world. - -XBattle is a concurrent multi-player game which combines elements of strategy -with arcade-like action to capture a wide range of military scenarios. -The game is based on X Windows, which you must have installed to run xbattle. -Opponents play from separate displays, with commands being executed concurrently --- the players do not take "turns", but rather they all issue their commands -simultaneously. There can be any number of players, with each player assigned -to a specific team, indicated by marker colors. The game board is a matrix -of cells (square, hexes, etc.) that can be occupied by colored troops, -with the goal of the game being to eliminate the enemy from the board by -attacking cells occupied by enemy troops. A wide variety of command line options -(and previously configured game files) provide an abundance of different -scenarios and gaming environments. - -If you have never used xbattle before, read the introduction on the xbattle Web -site. To get the feel of the game, you can run the "tutorial1" and "tutorial2" -scripts supplied with the game. These start a series of small example games that -you can play around with to learn the various options available with the game. - -WWW: https://web.archive.org/web/20011128105604/http://cns-web.bu.edu/pub/xpip/html/xbattle.html diff --git a/games/xbattle/pkg-plist b/games/xbattle/pkg-plist deleted file mode 100644 index f1d08b7ee20e..000000000000 --- a/games/xbattle/pkg-plist +++ /dev/null @@ -1,26 +0,0 @@ -bin/xbattle -bin/xbattle-menu -bin/xbattle-tutorial1 -bin/xbattle-tutorial2 -man/man6/xbattle.6.gz -share/icons/hicolor/128x128/apps/xbattle.png -share/icons/hicolor/32x32/apps/xbattle.png -share/icons/hicolor/48x48/apps/xbattle.png -share/icons/hicolor/64x64/apps/xbattle.png -share/icons/hicolor/72x72/apps/xbattle.png -share/icons/hicolor/96x96/apps/xbattle.png -share/pixmaps/xbattle.png -%%DATADIR%%/xbas/simple.xba -%%DATADIR%%/xbos/atlas.xbo -%%DATADIR%%/xbos/default.xbo -%%DATADIR%%/xbos/demo.xbo -%%DATADIR%%/xbos/desert.xbo -%%DATADIR%%/xbos/io.xbo -%%DATADIR%%/xbos/skirmish.xbo -%%DATADIR%%/xbos/space.xbo -%%DATADIR%%/xbos/tribal.xbo -%%DATADIR%%/xbos/tropical.xbo -%%DATADIR%%/xbos/tropical2.xbo -%%DATADIR%%/xbos/tundra.xbo -%%DATADIR%%/xbts/castle.xbt -%%DATADIR%%/xbts/natural.xbt diff --git a/games/xbill/Makefile b/games/xbill/Makefile deleted file mode 100644 index 700a2563f18b..000000000000 --- a/games/xbill/Makefile +++ /dev/null @@ -1,64 +0,0 @@ -# Created by: asami -# $FreeBSD$ - -PORTNAME= xbill -PORTVERSION= 2.1 -PORTREVISION= 9 -CATEGORIES= games -MASTER_SITES= http://www.xbill.org/download/ \ - http://mirror.amdmi3.ru/distfiles/ - -MAINTAINER= amdmi3@FreeBSD.org -COMMENT= Save your computers from the evil clutches of Bill - -DEPRECATED= Uses obsolete glib12 -EXPIRATION_DATE= 2018-12-20 - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --localstatedir=${SCORES_DIR} - -SCORES_DIR?= ${DATADIR}/scores - -DESKTOP_ENTRIES="xBill" \ - "Save your computers from the evil clutches of Bill" \ - "${DATADIR}/pixmaps/icon.xpm" \ - "xbill" \ - "Game;ArcadeGame;" \ - false - -PLIST_FILES= bin/${PORTNAME} \ - man/man6/${PORTNAME}.6.gz - -PORTDATA= * - -OPTIONS_SINGLE= WIDGETSET -OPTIONS_SINGLE_WIDGETSET= ATHENA GTK MOTIF -OPTIONS_DEFAULT= GTK - -ATHENA_DESC= Athena widget set -GTK_DESC= GTK widget set -MOTIF_DESC= Motif widget set - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MATHENA} -CONFIGURE_ARGS+= --disable-gtk --disable-motif -USE_XORG= xaw xmu xt x11 sm ice -.elif ${PORT_OPTIONS:MMOTIF} -CONFIGURE_ARGS+= --disable-athena --disable-gtk -USE_XORG= xt x11 sm ice xpm -USES= motif -.else # ${PORT_OPTIONS:MGTK} -CONFIGURE_ARGS+= --disable-athena --disable-motif -USE_GNOME= gtk12 -USE_XORG= sm ice -.endif - -post-patch: - @${REINPLACE_CMD} -e '/WIDGET_LIBS=/ s|-lXm"$$|-lXm -lXpm"|' \ - ${WRKSRC}/configure - -post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xbill - -.include <bsd.port.mk> diff --git a/games/xbill/distinfo b/games/xbill/distinfo deleted file mode 100644 index 31ff687dd17b..000000000000 --- a/games/xbill/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (xbill-2.1.tar.gz) = 0efdfff1ce2df70b7a15601cb488cd7b2eb918d21d78e877bd773f112945608d -SIZE (xbill-2.1.tar.gz) = 77610 diff --git a/games/xbill/files/patch-configure b/games/xbill/files/patch-configure deleted file mode 100644 index b7b7bfadd6fd..000000000000 --- a/games/xbill/files/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig Fri Feb 21 14:21:59 2003 -+++ configure Fri Feb 21 14:22:22 2003 -@@ -9,7 +9,7 @@ - - # Defaults: - ac_help= --ac_default_prefix=/usr/local -+ac_default_prefix=${PREFIX} - # Any additions from configure.in: - ac_help="$ac_help - --with-x use the X Window System" diff --git a/games/xbill/pkg-descr b/games/xbill/pkg-descr deleted file mode 100644 index 5fb49e810ff0..000000000000 --- a/games/xbill/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -xbill is a game for Bill-haters. Ah, the escasy to squish the evil Bill -like a bug! :> - -WWW: http://www.xbill.org diff --git a/games/xpuyopuyo/Makefile b/games/xpuyopuyo/Makefile deleted file mode 100644 index 9933b2764588..000000000000 --- a/games/xpuyopuyo/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -# Created by: Yin-Jieh Chen <yinjieh@csie.nctu.edu.tw> -# $FreeBSD$ - -PORTNAME= xpuyopuyo -PORTVERSION= 0.9.8 -PORTREVISION= 8 -CATEGORIES= games -MASTER_SITES= http://chaos2.org/xpuyopuyo/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Puzzle game, somewhat like Tetris - -DEPRECATED= Uses obsolete glib12 -EXPIRATION_DATE= 2018-12-20 - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --without-gnome -USES= gmake libtool -USE_XORG= xpm -USE_GNOME= gtk12 - -OPTIONS_DEFINE= MIKMOD ROTATE_FIXED AIBREED -ROTATE_FIXED_DESC= Fix position of one blob during rotation -AIBREED_DESC= Allow AI breeding - -MIKMOD_LIB_DEPENDS= libmikmod.so:audio/libmikmod -MIKMOD_CONFIGURE_ON= --with-libmikmod-prefix=${LOCALBASE} - -ROTATE_FIXED_CONFIGURE_ENABLE= rotate-fixed - -AIBREED_CONFIGURE_ENABLE= aibreed - -.include <bsd.port.mk> diff --git a/games/xpuyopuyo/distinfo b/games/xpuyopuyo/distinfo deleted file mode 100644 index 485ee309da20..000000000000 --- a/games/xpuyopuyo/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (xpuyopuyo-0.9.8.tar.gz) = 29bcc028e027c3c3d8706a85cb3611ceadfc3119016cde14419eb0364cbe04d4 -SIZE (xpuyopuyo-0.9.8.tar.gz) = 1235619 diff --git a/games/xpuyopuyo/files/patch-Makefile.in b/games/xpuyopuyo/files/patch-Makefile.in deleted file mode 100644 index e16f8929f03a..000000000000 --- a/games/xpuyopuyo/files/patch-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.orig Sat Sep 25 18:11:27 1999 -+++ Makefile.in Fri Oct 8 10:34:51 1999 -@@ -135,7 +135,7 @@ - @GTK_FALSE@xpuyopuyo_DEPENDENCIES = libxpuyopuyo.a - @GTK_TRUE@xpuyopuyo_DEPENDENCIES = libxpuyopuyo.a - xpuyopuyo_LDFLAGS = --CFLAGS = @CFLAGS@ -+CFLAGS += @CFLAGS@ - COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) - LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) - CCLD = $(CC) diff --git a/games/xpuyopuyo/files/patch-pgame_Makefile.in b/games/xpuyopuyo/files/patch-pgame_Makefile.in deleted file mode 100644 index 87a41ba4025f..000000000000 --- a/games/xpuyopuyo/files/patch-pgame_Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- pgame/Makefile.in.orig Tue Jul 18 10:31:49 2000 -+++ pgame/Makefile.in Tue Jul 18 10:32:05 2000 -@@ -117,7 +117,7 @@ - libxpp_game_a_SOURCES = pconfig.c pfield.c pgame.c phighscore.c pinfo.c pmanip.c ppiece.c pplayer.c ptournament.c pconfig.h pconfigm.h pfield.h pgame.h phighscore.h pinfo.h pmanip.h ppiece.h pplayer.h ptime.h ptournament.h pwindow.h - - --INCLUDES = -I../putil -I../pai -I../pnet -I../psound -+INCLUDES = $(LIBMIKMOD_CFLAGS) -I../putil -I../pai -I../pnet -I../psound - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - CONFIG_HEADER = ../config.h - CONFIG_CLEAN_FILES = diff --git a/games/xpuyopuyo/pkg-descr b/games/xpuyopuyo/pkg-descr deleted file mode 100644 index 3bfa1ee3b646..000000000000 --- a/games/xpuyopuyo/pkg-descr +++ /dev/null @@ -1,17 +0,0 @@ -From its homepage: - - xpuyopuyo is a UNIX port of a very big time sink :) . Puyo puyo is a puzzle -game, somewhat like Tetris, where you strive to match up four "blobs" of the -same color. Each match you make gives points, and also dumps gray rocks on -the opponent which are irritating and troublesome to get rid of. Multiple -matches at a time score more points, and dump more rocks on the opponent (a -quintuple-match will dump around 20 rocks on the opponent, all at once). - - We ported it overnight to Linux, so we could play whenever we felt like. The -AI's evolved more slowly, over the course of a week or so. I welcome sugges- -tions on how to make the AI's more difficult during the game; currently, they -are rather easy to beat on easy level, but more difficult on hard. There are -still gaping holes in the game interface which should be fixed soon. Sugges- -tions for improvements are welcome. - -WWW: https://chaos2.org/xpuyopuyo/ diff --git a/games/xpuyopuyo/pkg-plist b/games/xpuyopuyo/pkg-plist deleted file mode 100644 index 168296a5318b..000000000000 --- a/games/xpuyopuyo/pkg-plist +++ /dev/null @@ -1,211 +0,0 @@ -bin/xpuyopuyo -man/man6/xpuyopuyo.6.gz -%%DATADIR%%/copying.txt -%%DATADIR%%/sounds/game.xm -%%DATADIR%%/sounds/gameover.xm -%%DATADIR%%/sounds/prelude.xm -%%DATADIR%%/themes/3dRokz/img_0.xpm -%%DATADIR%%/themes/3dRokz/img_0j.xpm -%%DATADIR%%/themes/3dRokz/img_1.xpm -%%DATADIR%%/themes/3dRokz/img_1j.xpm -%%DATADIR%%/themes/3dRokz/img_2.xpm -%%DATADIR%%/themes/3dRokz/img_2j.xpm -%%DATADIR%%/themes/3dRokz/img_3.xpm -%%DATADIR%%/themes/3dRokz/img_3j.xpm -%%DATADIR%%/themes/3dRokz/img_4.xpm -%%DATADIR%%/themes/3dRokz/img_4j.xpm -%%DATADIR%%/themes/3dRokz/img_5.xpm -%%DATADIR%%/themes/3dRokz/img_5j.xpm -%%DATADIR%%/themes/3dRokz/img_clear.xpm -%%DATADIR%%/themes/3dRokz/img_clearb.xpm -%%DATADIR%%/themes/3dRokz/img_expl.xpm -%%DATADIR%%/themes/3dRokz/img_gameover.xpm -%%DATADIR%%/themes/3dRokz/img_ind.xpm -%%DATADIR%%/themes/3dRokz/img_num0.xpm -%%DATADIR%%/themes/3dRokz/img_num1.xpm -%%DATADIR%%/themes/3dRokz/img_num2.xpm -%%DATADIR%%/themes/3dRokz/img_num3.xpm -%%DATADIR%%/themes/3dRokz/img_num4.xpm -%%DATADIR%%/themes/3dRokz/img_num5.xpm -%%DATADIR%%/themes/3dRokz/img_num6.xpm -%%DATADIR%%/themes/3dRokz/img_num7.xpm -%%DATADIR%%/themes/3dRokz/img_num8.xpm -%%DATADIR%%/themes/3dRokz/img_num9.xpm -%%DATADIR%%/themes/3dRokz/img_rock.xpm -%%DATADIR%%/themes/3dRokz/img_rockbig.xpm -%%DATADIR%%/themes/3dRokz/img_rockdemon.xpm -%%DATADIR%%/themes/3dRokz/img_side.xpm -%%DATADIR%%/themes/3dRokz/img_tile_bottom1.xpm -%%DATADIR%%/themes/3dRokz/img_tile_bottom2.xpm -%%DATADIR%%/themes/3dRokz/img_tile_bottom3.xpm -%%DATADIR%%/themes/3dRokz/img_tile_left.xpm -%%DATADIR%%/themes/3dRokz/img_tile_leftbottom.xpm -%%DATADIR%%/themes/3dRokz/img_tile_lefttop.xpm -%%DATADIR%%/themes/3dRokz/img_tile_ltrans.xpm -%%DATADIR%%/themes/3dRokz/img_tile_right.xpm -%%DATADIR%%/themes/3dRokz/img_tile_rightbottom.xpm -%%DATADIR%%/themes/3dRokz/img_tile_righttop.xpm -%%DATADIR%%/themes/3dRokz/img_tile_rtrans.xpm -%%DATADIR%%/themes/3dRokz/img_tile_top.xpm -%%DATADIR%%/themes/3dRokz/img_title.xpm -%%DATADIR%%/themes/3dRokz/img_top.xpm -%%DATADIR%%/themes/3dRokz/img_trans.xpm -%%DATADIR%%/themes/default/img_0.xpm -%%DATADIR%%/themes/default/img_0j.xpm -%%DATADIR%%/themes/default/img_1.xpm -%%DATADIR%%/themes/default/img_1j.xpm -%%DATADIR%%/themes/default/img_2.xpm -%%DATADIR%%/themes/default/img_2j.xpm -%%DATADIR%%/themes/default/img_3.xpm -%%DATADIR%%/themes/default/img_3j.xpm -%%DATADIR%%/themes/default/img_4.xpm -%%DATADIR%%/themes/default/img_4j.xpm -%%DATADIR%%/themes/default/img_5.xpm -%%DATADIR%%/themes/default/img_5j.xpm -%%DATADIR%%/themes/default/img_clear.xpm -%%DATADIR%%/themes/default/img_clearb.xpm -%%DATADIR%%/themes/default/img_expl.xpm -%%DATADIR%%/themes/default/img_gameover.xpm -%%DATADIR%%/themes/default/img_ind.xpm -%%DATADIR%%/themes/default/img_num0.xpm -%%DATADIR%%/themes/default/img_num1.xpm -%%DATADIR%%/themes/default/img_num2.xpm -%%DATADIR%%/themes/default/img_num3.xpm -%%DATADIR%%/themes/default/img_num4.xpm -%%DATADIR%%/themes/default/img_num5.xpm -%%DATADIR%%/themes/default/img_num6.xpm -%%DATADIR%%/themes/default/img_num7.xpm -%%DATADIR%%/themes/default/img_num8.xpm -%%DATADIR%%/themes/default/img_num9.xpm -%%DATADIR%%/themes/default/img_paused.xpm -%%DATADIR%%/themes/default/img_rock.xpm -%%DATADIR%%/themes/default/img_rockbig.xpm -%%DATADIR%%/themes/default/img_rockdemon.xpm -%%DATADIR%%/themes/default/img_side.xpm -%%DATADIR%%/themes/default/img_tile_bottom1.xpm -%%DATADIR%%/themes/default/img_tile_bottom2.xpm -%%DATADIR%%/themes/default/img_tile_bottom3.xpm -%%DATADIR%%/themes/default/img_tile_left.xpm -%%DATADIR%%/themes/default/img_tile_leftbottom.xpm -%%DATADIR%%/themes/default/img_tile_lefttop.xpm -%%DATADIR%%/themes/default/img_tile_ltrans.xpm -%%DATADIR%%/themes/default/img_tile_right.xpm -%%DATADIR%%/themes/default/img_tile_rightbottom.xpm -%%DATADIR%%/themes/default/img_tile_righttop.xpm -%%DATADIR%%/themes/default/img_tile_rtrans.xpm -%%DATADIR%%/themes/default/img_tile_top.xpm -%%DATADIR%%/themes/default/img_title.xpm -%%DATADIR%%/themes/default/img_top.xpm -%%DATADIR%%/themes/default/img_trans.xpm -%%DATADIR%%/themes/fabo/img_0.xpm -%%DATADIR%%/themes/fabo/img_0j.xpm -%%DATADIR%%/themes/fabo/img_1.xpm -%%DATADIR%%/themes/fabo/img_1j.xpm -%%DATADIR%%/themes/fabo/img_2.xpm -%%DATADIR%%/themes/fabo/img_2j.xpm -%%DATADIR%%/themes/fabo/img_3.xpm -%%DATADIR%%/themes/fabo/img_3j.xpm -%%DATADIR%%/themes/fabo/img_4.xpm -%%DATADIR%%/themes/fabo/img_4j.xpm -%%DATADIR%%/themes/fabo/img_5.xpm -%%DATADIR%%/themes/fabo/img_5j.xpm -%%DATADIR%%/themes/fabo/img_clear.xpm -%%DATADIR%%/themes/fabo/img_clearb.xpm -%%DATADIR%%/themes/fabo/img_expl.xpm -%%DATADIR%%/themes/fabo/img_gameover.xpm -%%DATADIR%%/themes/fabo/img_ind.xpm -%%DATADIR%%/themes/fabo/img_num0.xpm -%%DATADIR%%/themes/fabo/img_num1.xpm -%%DATADIR%%/themes/fabo/img_num2.xpm -%%DATADIR%%/themes/fabo/img_num3.xpm -%%DATADIR%%/themes/fabo/img_num4.xpm -%%DATADIR%%/themes/fabo/img_num5.xpm -%%DATADIR%%/themes/fabo/img_num6.xpm -%%DATADIR%%/themes/fabo/img_num7.xpm -%%DATADIR%%/themes/fabo/img_num8.xpm -%%DATADIR%%/themes/fabo/img_num9.xpm -%%DATADIR%%/themes/fabo/img_paused.xpm -%%DATADIR%%/themes/fabo/img_rock.xpm -%%DATADIR%%/themes/fabo/img_rockbig.xpm -%%DATADIR%%/themes/fabo/img_rockdemon.xpm -%%DATADIR%%/themes/fabo/img_side.xpm -%%DATADIR%%/themes/fabo/img_tile_bottom1.xpm -%%DATADIR%%/themes/fabo/img_tile_bottom2.xpm -%%DATADIR%%/themes/fabo/img_tile_bottom3.xpm -%%DATADIR%%/themes/fabo/img_tile_left.xpm -%%DATADIR%%/themes/fabo/img_tile_leftbottom.xpm -%%DATADIR%%/themes/fabo/img_tile_lefttop.xpm -%%DATADIR%%/themes/fabo/img_tile_ltrans.xpm -%%DATADIR%%/themes/fabo/img_tile_right.xpm -%%DATADIR%%/themes/fabo/img_tile_rightbottom.xpm -%%DATADIR%%/themes/fabo/img_tile_righttop.xpm -%%DATADIR%%/themes/fabo/img_tile_rtrans.xpm -%%DATADIR%%/themes/fabo/img_tile_top.xpm -%%DATADIR%%/themes/fabo/img_title.xpm -%%DATADIR%%/themes/fabo/img_top.xpm -%%DATADIR%%/themes/fabo/img_trans.xpm -%%DATADIR%%/themes/smileys/img_0.xpm -%%DATADIR%%/themes/smileys/img_0j.xpm -%%DATADIR%%/themes/smileys/img_1.xpm -%%DATADIR%%/themes/smileys/img_1j.xpm -%%DATADIR%%/themes/smileys/img_2.xpm -%%DATADIR%%/themes/smileys/img_2j.xpm -%%DATADIR%%/themes/smileys/img_3.xpm -%%DATADIR%%/themes/smileys/img_3j.xpm -%%DATADIR%%/themes/smileys/img_4.xpm -%%DATADIR%%/themes/smileys/img_4j.xpm -%%DATADIR%%/themes/smileys/img_5.xpm -%%DATADIR%%/themes/smileys/img_5j.xpm -%%DATADIR%%/themes/smileys/img_expl.xpm -%%DATADIR%%/themes/smileys/img_ind.xpm -%%DATADIR%%/themes/smileys/img_rock.xpm -%%DATADIR%%/themes/smileys/img_rockbig.xpm -%%DATADIR%%/themes/smileys/img_rockdemon.xpm -%%DATADIR%%/themes/spheres/img_0.xpm -%%DATADIR%%/themes/spheres/img_0j.xpm -%%DATADIR%%/themes/spheres/img_1.xpm -%%DATADIR%%/themes/spheres/img_1j.xpm -%%DATADIR%%/themes/spheres/img_2.xpm -%%DATADIR%%/themes/spheres/img_2j.xpm -%%DATADIR%%/themes/spheres/img_3.xpm -%%DATADIR%%/themes/spheres/img_3j.xpm -%%DATADIR%%/themes/spheres/img_4.xpm -%%DATADIR%%/themes/spheres/img_4j.xpm -%%DATADIR%%/themes/spheres/img_5.xpm -%%DATADIR%%/themes/spheres/img_5j.xpm -%%DATADIR%%/themes/spheres/img_clear.xpm -%%DATADIR%%/themes/spheres/img_clearb.xpm -%%DATADIR%%/themes/spheres/img_expl.xpm -%%DATADIR%%/themes/spheres/img_gameover.xpm -%%DATADIR%%/themes/spheres/img_ind.xpm -%%DATADIR%%/themes/spheres/img_num0.xpm -%%DATADIR%%/themes/spheres/img_num1.xpm -%%DATADIR%%/themes/spheres/img_num2.xpm -%%DATADIR%%/themes/spheres/img_num3.xpm -%%DATADIR%%/themes/spheres/img_num4.xpm -%%DATADIR%%/themes/spheres/img_num5.xpm -%%DATADIR%%/themes/spheres/img_num6.xpm -%%DATADIR%%/themes/spheres/img_num7.xpm -%%DATADIR%%/themes/spheres/img_num8.xpm -%%DATADIR%%/themes/spheres/img_num9.xpm -%%DATADIR%%/themes/spheres/img_paused.xpm -%%DATADIR%%/themes/spheres/img_rock.xpm -%%DATADIR%%/themes/spheres/img_rockbig.xpm -%%DATADIR%%/themes/spheres/img_rockdemon.xpm -%%DATADIR%%/themes/spheres/img_side.xpm -%%DATADIR%%/themes/spheres/img_tile_bottom1.xpm -%%DATADIR%%/themes/spheres/img_tile_bottom2.xpm -%%DATADIR%%/themes/spheres/img_tile_bottom3.xpm -%%DATADIR%%/themes/spheres/img_tile_left.xpm -%%DATADIR%%/themes/spheres/img_tile_leftbottom.xpm -%%DATADIR%%/themes/spheres/img_tile_lefttop.xpm -%%DATADIR%%/themes/spheres/img_tile_ltrans.xpm -%%DATADIR%%/themes/spheres/img_tile_right.xpm -%%DATADIR%%/themes/spheres/img_tile_rightbottom.xpm -%%DATADIR%%/themes/spheres/img_tile_righttop.xpm -%%DATADIR%%/themes/spheres/img_tile_rtrans.xpm -%%DATADIR%%/themes/spheres/img_tile_top.xpm -%%DATADIR%%/themes/spheres/img_title.xpm -%%DATADIR%%/themes/spheres/img_top.xpm -%%DATADIR%%/themes/spheres/img_trans.xpm -%%DATADIR%%/xpuyopuyo.txt diff --git a/games/znibbles/Makefile b/games/znibbles/Makefile deleted file mode 100644 index bb6784720d21..000000000000 --- a/games/znibbles/Makefile +++ /dev/null @@ -1,57 +0,0 @@ -# Created by: Yin-Jieh Chen <yinjieh@csie.nctu.edu.tw> -# $FreeBSD$ - -PORTNAME= znibbles -PORTVERSION= 0.0.7 -PORTREVISION= 8 -CATEGORIES= games -MASTER_SITES= http://www.zyllius.com/vmallet/archives/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Multi-player networked nibbles game - -DEPRECATED= Uses obsolete glib12 -EXPIRATION_DATE= 2018-12-20 - -LICENSE= GPLv2+ - -OPTIONS_DEFINE= GTK1 -OPTIONS_DEFAULT= GTK1 - -USES= motif -GNU_CONFIGURE= yes - -DESKTOP_ENTRIES="Znibbles" "" "" "znibblesX" "" "" - -PLIST_FILES= bin/nibbles bin/znibbles bin/znibblesX \ - man/man6/nibbles.6.gz man/man6/znibbles.6.gz \ - man/man6/znibblesX.6.gz - -GTK1_USE= GNOME=gtk12 -GTK1_PLIST_FILES= bin/gznibbles man/man6/gznibbles.6.gz -GTK1_CONFIGURE_ENABLE= gtk - -post-extract: - @${RM} ${WRKSRC}/src/getopt.h - -post-patch: - @${REINPLACE_CMD} -e \ - '/^SUBDIRS/s|doc||g' ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e \ - '/^getopt/d ; \ - s|getopt.[cho]||g ; \ - s|getopt1.[co]||g' ${WRKSRC}/src/Makefile.in -.for dir in GTK Motif X11 - @${REINPLACE_CMD} -e \ - 's|../getopt.h||g' ${WRKSRC}/src/${dir}/Makefile.in -.endfor - -post-install: - (cd ${WRKSRC}/doc && ${INSTALL_MAN} nibbles.6 znibbles.6 znibblesX.6 \ - ${STAGEDIR}${MAN6PREFIX}/man/man6) - -post-install-GTK1-on: - (cd ${WRKSRC}/doc && ${INSTALL_MAN} gznibbles.6 \ - ${STAGEDIR}${MAN6PREFIX}/man/man6) - -.include <bsd.port.mk> diff --git a/games/znibbles/distinfo b/games/znibbles/distinfo deleted file mode 100644 index cab7cd639c95..000000000000 --- a/games/znibbles/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (znibbles-0.0.7.tar.gz) = 77200c0c5efd9f41b6eafd3ae4c6dc3bf0c365902b99cc37c781d9026353b783 -SIZE (znibbles-0.0.7.tar.gz) = 173027 diff --git a/games/znibbles/files/patch-src_Base.H b/games/znibbles/files/patch-src_Base.H deleted file mode 100644 index 9a5105c0978e..000000000000 --- a/games/znibbles/files/patch-src_Base.H +++ /dev/null @@ -1,31 +0,0 @@ ---- src/Base.H.orig 1999-05-12 01:40:22 UTC -+++ src/Base.H -@@ -32,7 +32,7 @@ - #define __H_BASE__ - - --#include <iostream.h> -+#include <iostream> - - - // #define DEBUG -@@ -55,8 +55,8 @@ public: - inline ~Base() - { - total--; -- cout << " <" << id << "/" << global_id -- << " deleted><left=" << total << "> " << endl; -+ std::cout << " <" << id << "/" << global_id -+ << " deleted><left=" << total << "> " << std::endl; - } - #else - -@@ -65,7 +65,7 @@ public: - - #endif - -- void display() { cout << "ID: " << id << endl; } -+ void display() { std::cout << "ID: " << id << std::endl; } - - private: - static int global_id; diff --git a/games/znibbles/files/patch-src_DLList.cc b/games/znibbles/files/patch-src_DLList.cc deleted file mode 100644 index f22d5a28aa32..000000000000 --- a/games/znibbles/files/patch-src_DLList.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/DLList.cc.orig 1999-04-03 20:03:04 UTC -+++ src/DLList.cc -@@ -21,7 +21,7 @@ Foundation, 59 Temple Place - Suite 330, - //#pragma implementation - #endif - #include <limits.h> --#include <stream.h> -+//#include <stream> - #include <stdio.h> - #include <errno.h> - //#include <builtin.h> diff --git a/games/znibbles/files/patch-src_GTK_ClientGtk.C b/games/znibbles/files/patch-src_GTK_ClientGtk.C deleted file mode 100644 index 5f23429cab95..000000000000 --- a/games/znibbles/files/patch-src_GTK_ClientGtk.C +++ /dev/null @@ -1,11 +0,0 @@ ---- src/GTK/ClientGtk.C.orig 1999-04-23 16:47:47 UTC -+++ src/GTK/ClientGtk.C -@@ -51,7 +51,7 @@ int main(int argc, char **argv) - - world.run(); // start the client - -- cout << "Yeah !\n" << endl; -+ std::cout << "Yeah !\n" << std::endl; - return 0; - } - diff --git a/games/znibbles/files/patch-src_GTK_GtkInterface.C b/games/znibbles/files/patch-src_GTK_GtkInterface.C deleted file mode 100644 index dbfc95ee37e2..000000000000 --- a/games/znibbles/files/patch-src_GTK_GtkInterface.C +++ /dev/null @@ -1,344 +0,0 @@ ---- src/GTK/GtkInterface.C.orig 1999-05-12 11:43:29 UTC -+++ src/GTK/GtkInterface.C -@@ -37,7 +37,7 @@ - #include <gtk/gtk.h> - #include <gdk/gdkkeysyms.h> - --#include <iostream.h> -+#include <iostream> - - #include <unistd.h> - #include <stdlib.h> -@@ -138,7 +138,7 @@ void GtkInterface::init(int argc, char * - display_version(); - - if (_two_key) -- cout << "Two-key mode enabled" << endl; -+ std::cout << "Two-key mode enabled" << std::endl; - - - // connect pipe_handler to SIGPIPE signal -@@ -154,9 +154,9 @@ void GtkInterface::init(int argc, char * - exit(2); - } - -- cout << "Connecting to ZNibbles server: " \ -+ std::cout << "Connecting to ZNibbles server: " \ - << options.get_host_name() << ":" \ -- << options.get_port() << "... " << endl; -+ << options.get_port() << "... " << std::endl; - - // create and bind socket to any port - port = 0; -@@ -168,8 +168,8 @@ void GtkInterface::init(int argc, char * - } - - if (_debug) -- cout << "Client socket created on port: " \ -- << ntohs(client_address.sin_port) << endl; -+ std::cout << "Client socket created on port: " \ -+ << ntohs(client_address.sin_port) << std::endl; - - // Build server address - server_address.sin_family = AF_INET; -@@ -186,7 +186,7 @@ void GtkInterface::init(int argc, char * - - display_play_help(); - -- cout << "Connection accepted\n" << endl; -+ std::cout << "Connection accepted\n" << std::endl; - - _hack_socket_client = _socket_client; // hack for signal handling - action.sa_handler = stop_handler; -@@ -196,7 +196,7 @@ void GtkInterface::init(int argc, char * - - init_messages(options.get_message_file()); - -- cout << "initializing interface..." << endl; -+ std::cout << "initializing interface..." << std::endl; - make(argc, argv); - } - -@@ -294,7 +294,7 @@ gint GtkInterface::key_cb(GtkWidget *wid - case 'z': - { - // if (_debug) -- cout << "Sending welcome message..." << endl; -+ std::cout << "Sending welcome message..." << std::endl; - - Trame tzz; - tzz.reset(); -@@ -315,7 +315,7 @@ gint GtkInterface::key_cb(GtkWidget *wid - - default: - if (mythis._debug) -- cout << "key=" << event->keyval << endl; -+ std::cout << "key=" << event->keyval << std::endl; - return FALSE; - } - -@@ -337,7 +337,7 @@ gint GtkInterface::configure_event (GtkW - GtkInterface *pthis) - { - if (pthis->_debug) -- cerr << "GtkInterface:::configure_event()"<<endl; -+ std::cerr << "GtkInterface:::configure_event()"<<std::endl; - - return FALSE; - } -@@ -349,7 +349,7 @@ gint GtkInterface::expose_event (GtkWidg - GtkInterface *pthis) - { - if (pthis->_debug) -- cerr << "GtkInterface:::expose_event()"<<endl; -+ std::cerr << "GtkInterface:::expose_event()"<<std::endl; - - return FALSE; - } -@@ -476,7 +476,7 @@ void GtkInterface::make(int argc, char * - // GTK, the proper way to do this would be to use the - // gdk_input_add() function. - -- gtk_idle_add(myWorkProc, this); -+ gtk_idle_add((GtkFunction)myWorkProc, this); - - gdk_input_add(_socket_client, - GDK_INPUT_READ, -@@ -487,57 +487,57 @@ void GtkInterface::make(int argc, char * - // display version numbers (long format) - void GtkInterface::display_version() - { -- cerr << "ZNibbles v" VERSION " - A little silly game - " -+ std::cerr << "ZNibbles v" VERSION " - A little silly game - " - << "(c) Vincent Mallet 1997, 1998, 1999 - vmallet@enst.fr" -- << endl << endl; -+ << std::endl << std::endl; - } - - // display version number (short format) - void GtkInterface::display_version_short() - { -- cout << "ZNibbles Gtk Client " VERSION << endl; -+ std::cout << "ZNibbles Gtk Client " VERSION << std::endl; - } - - // display small help - void GtkInterface::display_help(char *name) - { -- cout << "Usage: " << name << " [OPTION].. PLAYERNAME" << endl; -- cout << endl; -- cout << "Start a ZNibbles Gtk client and connect to the specified nibbles server." << endl; -- cout << endl; -- cout << " -n, --host-name=HOST connect to server HOST [default is localhost]" << endl; -- cout << " -p, --port=NUM connect to port NUM of server [default is 5051]" << endl; -- cout << " -m, --message-file=FILE load predefined messages from file FILE" << endl; -- cout << " -t, --twokey control worm with only two keys, LEFT and RIGHT" << endl; -- cout << " -i, --enable-stdin enable standard input for sending messages" << endl; -- cout << " -d, --debug enable debug output" << endl; -- cout << " -V, --version print version number, then exit" \ -- << endl; -- cout << " -h, --help show this message and exit" << endl; -- cout << endl; -- cout << "Report bugs to <vmallet@enst.fr>." << endl; -+ std::cout << "Usage: " << name << " [OPTION].. PLAYERNAME" << std::endl; -+ std::cout << std::endl; -+ std::cout << "Start a ZNibbles Gtk client and connect to the specified nibbles server." << std::endl; -+ std::cout << std::endl; -+ std::cout << " -n, --host-name=HOST connect to server HOST [default is localhost]" << std::endl; -+ std::cout << " -p, --port=NUM connect to port NUM of server [default is 5051]" << std::endl; -+ std::cout << " -m, --message-file=FILE load predefined messages from file FILE" << std::endl; -+ std::cout << " -t, --twokey control worm with only two keys, LEFT and RIGHT" << std::endl; -+ std::cout << " -i, --enable-stdin enable standard input for sending messages" << std::endl; -+ std::cout << " -d, --debug enable debug output" << std::endl; -+ std::cout << " -V, --version print version number, then exit" \ -+ << std::endl; -+ std::cout << " -h, --help show this message and exit" << std::endl; -+ std::cout << std::endl; -+ std::cout << "Report bugs to <vmallet@enst.fr>." << std::endl; - } - - - - void GtkInterface::display_play_help() - { -- cout << endl; -- cout << "Welcome to ZNibbles!" << endl; -- cout << endl; -- cout << "Valid keys while playing:" << endl -- << endl -- << " Up, Down, Left, Right: move worm 1" << endl -- << endl -- << " p/u : pause/unpause game" << endl -- << endl -- << " P/U : pause/unpause _your_ worm" << endl -- << endl -- << " 1, 2, ... 0 : send predefined messages to other players" << endl -- << endl -- << " Ctrl+Q : quit game" << endl -- << endl -- << " Have fun!" << endl; -+ std::cout << std::endl; -+ std::cout << "Welcome to ZNibbles!" << std::endl; -+ std::cout << std::endl; -+ std::cout << "Valid keys while playing:" << std::endl -+ << std::endl -+ << " Up, Down, Left, Right: move worm 1" << std::endl -+ << std::endl -+ << " p/u : pause/unpause game" << std::endl -+ << std::endl -+ << " P/U : pause/unpause _your_ worm" << std::endl -+ << std::endl -+ << " 1, 2, ... 0 : send predefined messages to other players" << std::endl -+ << std::endl -+ << " Ctrl+Q : quit game" << std::endl -+ << std::endl -+ << " Have fun!" << std::endl; - } - - -@@ -547,7 +547,7 @@ void GtkInterface::display_play_help() - - void GtkInterface::pipe_handler(int sig) - { -- cerr << "--- Lost Server Connection! ---" << endl; -+ std::cerr << "--- Lost Server Connection! ---" << std::endl; - sig++; // warnings.. - _dead_server = 1; - } -@@ -555,7 +555,7 @@ void GtkInterface::pipe_handler(int sig) - - void GtkInterface::stop_handler(int sig) - { -- cerr << "--- Quitting game! ---" << endl; -+ std::cerr << "--- Quitting game! ---" << std::endl; - - if (_hack_socket_client) { - struct timeval tv; -@@ -647,11 +647,11 @@ void GtkInterface::display_message(Playe - char buf[300]; - - if (priv) { -- // cout << "Got *private* Message: '" << msg << "'" << endl; -+ // std::cout << "Got *private* Message: '" << msg << "'" << std::endl; - sprintf(buf, "[Private] %s> %s\n", from.get_name(), msg); - } - else { -- // cout << "Message: " << from.get_name() << "> " << msg << endl; -+ // std::cout << "Message: " << from.get_name() << "> " << msg << std::endl; - sprintf(buf, "%s> %s\n", from.get_name(), msg); - } - -@@ -707,7 +707,7 @@ void GtkInterface::run(void) - void GtkInterface::join_game() - { - if (_debug) -- cout << "Sending welcome message..." << endl; -+ std::cout << "Sending welcome message..." << std::endl; - - t.put_char(JOIN_GAME); - t.put_string(_own_name); -@@ -740,21 +740,21 @@ void GtkInterface::handle_server_input_s - gint source, - GdkInputCondition cond) - { --//DBG cerr << "!" ; -+//DBG std::cerr << "!" ; - ((GtkInterface *)pthis)->handle_server_input(); - } - - - void GtkInterface::handle_server_input() - { --//DBG cerr << nnn << " " ; -+//DBG std::cerr << nnn << " " ; - //DBG nnn = 0; - - static int done = 0; --//DBG cerr<<"<"; -+//DBG std::cerr<<"<"; - if (t.receive_from(_socket_client)) { - _errors++; -- cerr << "GtkInterface::handle_server_input(): read error" << endl; -+ std::cerr << "GtkInterface::handle_server_input(): read error" << std::endl; - if (_errors >= 5) { - pipe_handler(SIGPIPE); - } -@@ -762,9 +762,9 @@ void GtkInterface::handle_server_input() - } - - _errors = 0; --//DBG cerr<<">"; -+//DBG std::cerr<<">"; - --//DBG cerr << "X"; -+//DBG std::cerr << "X"; - - switch(t.peek_char()) { - case TRAME_ERROR: -@@ -802,14 +802,14 @@ void GtkInterface::handle_server_input() - - case QUIT_GAME: - if (_debug) -- cout << "Got QUIT_GAME" << endl; -- cout << "Client shutting down.... " << endl; -+ std::cout << "Got QUIT_GAME" << std::endl; -+ std::cout << "Client shutting down.... " << std::endl; - done = 1; - break; - - default: - if (_debug) -- cout << "got unknown frame type: " << (int) t.peek_char() << endl; -+ std::cout << "got unknown frame type: " << (int) t.peek_char() << std::endl; - break; - } - } -@@ -840,7 +840,7 @@ void GtkInterface::do_your_other_player( - int my_other_player_id = t.get_int(); - - if (_debug) -- cout << "my new player: " << my_other_player_id << endl; -+ std::cout << "my new player: " << my_other_player_id << std::endl; - - Player& p = world.lookup_player(my_other_player_id); - -@@ -848,8 +848,8 @@ void GtkInterface::do_your_other_player( - - if (_other_player == NULL) { - if (_debug) -- cout << "GtkInterface::do_your_other_player(): bad id: " \ -- << my_other_player_id << endl; -+ std::cout << "GtkInterface::do_your_other_player(): bad id: " \ -+ << my_other_player_id << std::endl; - return; - } - -@@ -870,7 +870,7 @@ void GtkInterface::do_your_other_player( - void GtkInterface::do_void_trame() - { - if (_debug) -- cout << "got VOID_TRAME " << endl; -+ std::cout << "got VOID_TRAME " << std::endl; - t.get_char(); - char *p = t.get_string(); - if (p && strcmp(p, "w") == 0) -@@ -978,8 +978,8 @@ void GtkInterface::set_own_player(Player - - if (gtk_player == NULL) { - if (_debug) -- cerr << "GtkInterface::set_own_player(): SERIOUS: player not found !" \ -- << endl; -+ std::cerr << "GtkInterface::set_own_player(): SERIOUS: player not found !" \ -+ << std::endl; - return; - } - -@@ -999,7 +999,7 @@ void GtkInterface::activate_other_player - { - if (_other_player == NULL) { - if (_debug) -- cout << "Sending welcome message..." << endl; -+ std::cout << "Sending welcome message..." << std::endl; - - Trame tzz; - char s[100]; diff --git a/games/znibbles/files/patch-src_GTK_Menus.C b/games/znibbles/files/patch-src_GTK_Menus.C deleted file mode 100644 index 6d19af532b3b..000000000000 --- a/games/znibbles/files/patch-src_GTK_Menus.C +++ /dev/null @@ -1,11 +0,0 @@ ---- src/GTK/Menus.C.orig 1999-05-12 01:51:42 UTC -+++ src/GTK/Menus.C -@@ -61,7 +61,7 @@ GtkInterface * Menus::_interface; - // Obligatory basic callback - void Menus::menu_callback_static(gpointer data, gpointer action, GtkWidget *w) { - -- switch((gint) action) { -+ switch((gulong)action) { - case ItemFileOther: - Menus::_interface->activate_other_player(); - gtk_widget_set_sensitive(w, FALSE); diff --git a/games/znibbles/files/patch-src_GTK_NibblesArea.C b/games/znibbles/files/patch-src_GTK_NibblesArea.C deleted file mode 100644 index 0ca9bbd8a61a..000000000000 --- a/games/znibbles/files/patch-src_GTK_NibblesArea.C +++ /dev/null @@ -1,11 +0,0 @@ ---- src/GTK/NibblesArea.C.orig 1999-05-12 01:48:25 UTC -+++ src/GTK/NibblesArea.C -@@ -323,7 +323,7 @@ gint NibblesArea::draw_exp_cb(GtkWidget - GdkEventExpose *event, - NibblesArea *mythis) - { -- cout << "expose !" << endl; -+ std::cout << "expose !" << std::endl; - - if (!mythis->joined) { - mythis->gif.join_game(); diff --git a/games/znibbles/files/patch-src_LongObject.C b/games/znibbles/files/patch-src_LongObject.C deleted file mode 100644 index 17831fed8afe..000000000000 --- a/games/znibbles/files/patch-src_LongObject.C +++ /dev/null @@ -1,33 +0,0 @@ ---- src/LongObject.C.orig 1999-05-09 22:59:45 UTC -+++ src/LongObject.C -@@ -128,7 +128,7 @@ void LongObject::add_description(Trame & - void LongObject::read_description(Trame &t) - { - if (t.get_char() != NEW_LONGOBJ) { -- cerr << "LongObject::read_description(): ohhh le bordel!\n"; -+ std::cerr << "LongObject::read_description(): ohhh le bordel!\n"; - exit(1); - } - -@@ -161,17 +161,17 @@ void LongObject::read_description0(Trame - - void LongObject::display() - { -- cout << " ID:"<< id; -+ std::cout << " ID:"<< id; - printf(" %04x", classtype); -- cout << " LongObj " << pos.x << "x" \ -+ std::cout << " LongObj " << pos.x << "x" \ - << pos.y << " len=" << length << " q=[ " ; - - Pix pix = queue.first(); - for (int i = length - 1; i > 0; i--) { -- cout << queue(pix) << " "; -+ std::cout << queue(pix) << " "; - queue.next(pix); - } -- cout << "]" << endl; -+ std::cout << "]" << std::endl; - } - - diff --git a/games/znibbles/files/patch-src_Map.C b/games/znibbles/files/patch-src_Map.C deleted file mode 100644 index 4aecc69c9b1b..000000000000 --- a/games/znibbles/files/patch-src_Map.C +++ /dev/null @@ -1,89 +0,0 @@ ---- src/Map.C.orig 1999-05-10 03:39:48 UTC -+++ src/Map.C -@@ -32,7 +32,7 @@ - #endif - - #include <stdio.h> --#include <iostream.h> -+#include <iostream> - #include <string.h> - - #include "Map.H" -@@ -61,7 +61,7 @@ void Map::make(int x, int y) - - // @@ do something appropriate here - if (_types == NULL) -- cerr << "Map::make(): malloc failed. Everything should crash." << endl; -+ std::cerr << "Map::make(): malloc failed. Everything should crash." << std::endl; - - clear(); - } -@@ -112,39 +112,39 @@ void Map::draw_point(int x, int y, int c - // Text based display of this map (debug purposes) - void Map::display() - { -- cout << endl; -+ std::cout << std::endl; - - for (int i = 0; i < _y; i++) { - for (int j = 0; j < _x; j++) -- cout << _map[i][j] << " "; -- cout << endl; -+ std::cout << _map[i][j] << " "; -+ std::cout << std::endl; - } - } - - // Text based display of the types in the map (debug purposes) - void Map::display_t() - { -- cout << endl; -+ std::cout << std::endl; - - for (int i = 0; i < _y; i++) { - for (int j = 0; j < _x; j++) { -- cout << "? " ; -- // cout << _maptype[i][j].length() << " "; -+ std::cout << "? " ; -+ // std::cout << _maptype[i][j].length() << " "; - } -- cout << endl; -+ std::cout << std::endl; - } - } - - void Map::add_type(int x, int y, _Object& obj) - { - if (_types_index >= _types_size - 1) { --// cout << "Map::add_type(): realloc()" << endl; -+// std::cout << "Map::add_type(): realloc()" << std::endl; - // resize type array - _types_size += 200; // @@ computation has to be done correctly - _types = (MapType *) realloc(_types, _types_size * sizeof(MapType)); - // @@ Do something in case of error ! - if (_types == NULL) -- cerr << "Map::add_type: realloc failed. Everything should crash." << endl; -+ std::cerr << "Map::add_type: realloc failed. Everything should crash." << std::endl; - } - - _types[_types_index].object = &obj; -@@ -170,15 +170,15 @@ void Map::print_type(int x, int y) - MapType * mt = get_type(x, y); - - if (mt == NULL) -- cout << "<empty>"; -+ std::cout << "<empty>"; - else { -- cout << "<" << mt->object; -+ std::cout << "<" << mt->object; - mt = mt->next; - while (mt != NULL) { -- cout << "," << mt->object; -+ std::cout << "," << mt->object; - mt = mt->next; - } -- cout << ">"; -+ std::cout << ">"; - } - - } diff --git a/games/znibbles/files/patch-src_Map.H b/games/znibbles/files/patch-src_Map.H deleted file mode 100644 index dc32fceadf2d..000000000000 --- a/games/znibbles/files/patch-src_Map.H +++ /dev/null @@ -1,11 +0,0 @@ ---- src/Map.H.orig 1999-05-10 03:39:38 UTC -+++ src/Map.H -@@ -45,7 +45,7 @@ typedef struct _MapType { - - class Map { - -- friend NibblesArea; -+ friend class NibblesArea; - - public: - diff --git a/games/znibbles/files/patch-src_Motif_MotifInterface.C b/games/znibbles/files/patch-src_Motif_MotifInterface.C deleted file mode 100644 index 1935a6124af4..000000000000 --- a/games/znibbles/files/patch-src_Motif_MotifInterface.C +++ /dev/null @@ -1,214 +0,0 @@ ---- src/Motif/MotifInterface.C.orig 1999-05-12 11:43:51 UTC -+++ src/Motif/MotifInterface.C -@@ -32,7 +32,7 @@ - # include <config.h> - #endif - --#include <iostream.h> -+#include <iostream> - - #include <unistd.h> - #include <stdlib.h> -@@ -131,7 +131,7 @@ void MotifInterface::init(int argc, char - display_version(); - - if (two_key) -- cout << "Two-key mode enabled" << endl; -+ std::cout << "Two-key mode enabled" << std::endl; - - - // connect pipe_handler to SIGPIPE signal -@@ -147,8 +147,8 @@ void MotifInterface::init(int argc, char - exit(2); - } - -- cout << "Connecting to ZNibbles server: " \ -- << options.get_host_name() << ":" << options.get_port() << "... " << endl; -+ std::cout << "Connecting to ZNibbles server: " \ -+ << options.get_host_name() << ":" << options.get_port() << "... " << std::endl; - - // create and bind socket to any port - port = 0; -@@ -158,7 +158,7 @@ void MotifInterface::init(int argc, char - } - - if (debug) -- cout << "Client socket created on port: " << ntohs(client_address.sin_port) << endl; -+ std::cout << "Client socket created on port: " << ntohs(client_address.sin_port) << std::endl; - - // Build server address - server_address.sin_family = AF_INET; -@@ -175,7 +175,7 @@ void MotifInterface::init(int argc, char - - display_play_help(); - -- cout << "Connection accepted\n" << endl; -+ std::cout << "Connection accepted\n" << std::endl; - - hack_socket_client = socket_client; // hack for signal handling - action.sa_handler = stop_handler; -@@ -185,7 +185,7 @@ void MotifInterface::init(int argc, char - - init_messages(options.get_message_file()); - -- cout << "initializing interface..." << endl; -+ std::cout << "initializing interface..." << std::endl; - make(argc, argv); - } - -@@ -262,54 +262,54 @@ void MotifInterface::make(int argc, char - - void MotifInterface::display_version() - { -- cerr << "ZNibbles v" VERSION " - A little silly game - " -+ std::cerr << "ZNibbles v" VERSION " - A little silly game - " - << "(c) Vincent Mallet 1997, 1998, 1999 - vmallet@enst.fr" -- << endl << endl; -+ << std::endl << std::endl; - } - - void MotifInterface::display_version_short() - { -- cout << "ZNibbles Motif Client " VERSION << endl; -+ std::cout << "ZNibbles Motif Client " VERSION << std::endl; - } - - void MotifInterface::display_help(char *name) - { -- cout << "Usage: " << name << " [OPTION].. PLAYERNAME" << endl; -- cout << endl; -- cout << "Start a ZNibbles Motif client and connect to the specified nibbles server." << endl; -- cout << endl; -- cout << " -n, --host-name=HOST connect to server HOST [default is localhost]" << endl; -- cout << " -p, --port=NUM connect to port NUM of server [default is 5051]" << endl; -- cout << " -m, --message-file=FILE load predefined messages from file FILE" << endl; -- cout << " -t, --twokey control worm with only two keys, LEFT and RIGHT" << endl; -- cout << " -i, --enable-stdin enable standard input for sending messages" << endl; -- cout << " -d, --debug enable debug output" << endl; -- cout << " -V, --version print version number, then exit" << endl; -- cout << " -h, --help show this message and exit" << endl; -- cout << endl; -- cout << "Report bugs to <vmallet@enst.fr>." << endl; -+ std::cout << "Usage: " << name << " [OPTION].. PLAYERNAME" << std::endl; -+ std::cout << std::endl; -+ std::cout << "Start a ZNibbles Motif client and connect to the specified nibbles server." << std::endl; -+ std::cout << std::endl; -+ std::cout << " -n, --host-name=HOST connect to server HOST [default is localhost]" << std::endl; -+ std::cout << " -p, --port=NUM connect to port NUM of server [default is 5051]" << std::endl; -+ std::cout << " -m, --message-file=FILE load predefined messages from file FILE" << std::endl; -+ std::cout << " -t, --twokey control worm with only two keys, LEFT and RIGHT" << std::endl; -+ std::cout << " -i, --enable-stdin enable standard input for sending messages" << std::endl; -+ std::cout << " -d, --debug enable debug output" << std::endl; -+ std::cout << " -V, --version print version number, then exit" << std::endl; -+ std::cout << " -h, --help show this message and exit" << std::endl; -+ std::cout << std::endl; -+ std::cout << "Report bugs to <vmallet@enst.fr>." << std::endl; - } - - - - void MotifInterface::display_play_help() - { -- cout << endl; -- cout << "Welcome to ZNibbles!" << endl; -- cout << endl; -- cout << "Valid keys while playing:" << endl -- << endl -- << " Up, Down, Left, Right: move worm 1" << endl -- << endl -- << " p/u : pause/unpause game" << endl -- << endl -- << " P/U : pause/unpause _your_ worm" << endl -- << endl -- << " 1, 2, ... 0 : send predefined messages to other players" << endl -- << endl -- << " Ctrl+Q : quit game" << endl -- << endl -- << " Have fun!" << endl; -+ std::cout << std::endl; -+ std::cout << "Welcome to ZNibbles!" << std::endl; -+ std::cout << std::endl; -+ std::cout << "Valid keys while playing:" << std::endl -+ << std::endl -+ << " Up, Down, Left, Right: move worm 1" << std::endl -+ << std::endl -+ << " p/u : pause/unpause game" << std::endl -+ << std::endl -+ << " P/U : pause/unpause _your_ worm" << std::endl -+ << std::endl -+ << " 1, 2, ... 0 : send predefined messages to other players" << std::endl -+ << std::endl -+ << " Ctrl+Q : quit game" << std::endl -+ << std::endl -+ << " Have fun!" << std::endl; - } - - -@@ -318,7 +318,7 @@ void MotifInterface::display_play_help() - - void MotifInterface::pipe_handler(int sig) - { -- cerr << "--- Lost Server Connection! ---" << endl; -+ std::cerr << "--- Lost Server Connection! ---" << std::endl; - sig++; // warnings.. - dead_server = 1; - } -@@ -326,7 +326,7 @@ void MotifInterface::pipe_handler(int si - - void MotifInterface::stop_handler(int sig) - { -- cerr << "--- Quitting game! ---" << endl; -+ std::cerr << "--- Quitting game! ---" << std::endl; - - if (hack_socket_client) { - struct timeval tv; -@@ -391,11 +391,11 @@ void MotifInterface::display_message(Pla - char buf[300]; - - if (priv) { -- // cout << "Got *private* Message: '" << msg << "'" << endl; -+ // std::cout << "Got *private* Message: '" << msg << "'" << std::endl; - sprintf(buf, "[Private] %s> %s\n", from.get_name(), msg); - } - else { -- // cout << "Message: " << from.name << "> " << msg << endl; -+ // std::cout << "Message: " << from.name << "> " << msg << std::endl; - sprintf(buf, "%s> %s\n", from.get_name(), msg); - } - textarea.add_line(buf); -@@ -545,7 +545,7 @@ Boolean MotifInterface::myWorkProc(XtPoi - case VOID_TRAME: - { - if (mythis.debug) -- cout << "got VOID_TRAME " << endl; -+ std::cout << "got VOID_TRAME " << std::endl; - mt.get_char(); - char *p = mt.get_string(); - if (p && strcmp(p, "w") == 0) -@@ -595,14 +595,14 @@ Boolean MotifInterface::myWorkProc(XtPoi - - case QUIT_GAME: - if (mythis.debug) -- cout << "Got QUIT_GAME" << endl; -- cout << "Client shutting down.... " << endl; -+ std::cout << "Got QUIT_GAME" << std::endl; -+ std::cout << "Client shutting down.... " << std::endl; - done = 1; - break; - - default: - if (mythis.debug) -- cout << "got unknown frame type: " << (int) mt.peek_char() << endl; -+ std::cout << "got unknown frame type: " << (int) mt.peek_char() << std::endl; - break; - } - } -@@ -661,7 +661,7 @@ void MotifInterface::pause_request(int p - void MotifInterface::join_game() - { - if (debug) -- cout << "Sending welcome message..." << endl; -+ std::cout << "Sending welcome message..." << std::endl; - - t.put_char(JOIN_GAME); - t.put_string(own_name); diff --git a/games/znibbles/files/patch-src_Motif_menus.C b/games/znibbles/files/patch-src_Motif_menus.C deleted file mode 100644 index b5d4fdf33b75..000000000000 --- a/games/znibbles/files/patch-src_Motif_menus.C +++ /dev/null @@ -1,20 +0,0 @@ ---- src/Motif/menus.C.orig 1999-04-14 14:50:14 UTC -+++ src/Motif/menus.C -@@ -52,7 +52,7 @@ void Menus::file_handler(Widget w, XtPoi - { - w = w; cbs = cbs; - -- switch( (int) client_data) { -+ switch( (unsigned long) client_data) { - case ItemFileQuit: - quit(); - break; -@@ -64,7 +64,7 @@ void Menus::help_handler(Widget w, XtPoi - { - w = w; cbs = cbs; - -- switch( (int) client_data) { -+ switch( (unsigned long) client_data) { - case ItemHelpAbout: - if (NULL != mythis->about) - mythis->about->show_dialog(); diff --git a/games/znibbles/files/patch-src_Motif_textarea.C b/games/znibbles/files/patch-src_Motif_textarea.C deleted file mode 100644 index d0b8e82d9fef..000000000000 --- a/games/znibbles/files/patch-src_Motif_textarea.C +++ /dev/null @@ -1,20 +0,0 @@ ---- src/Motif/textarea.C.orig 1998-11-17 08:40:25 UTC -+++ src/Motif/textarea.C -@@ -33,7 +33,7 @@ - #include <Xm/ScrollBar.h> - #include <Xm/Text.h> - --#include <iostream.h> -+#include <iostream> - #include "string.h" - - #include "motifutil.H" -@@ -92,7 +92,7 @@ void TextArea::add_line(char *line) - XmTextSetCursorPosition(widget, XmTextGetLastPosition(widget)); - XmTextShowPosition(widget, XmTextGetLastPosition(widget)); - if (length > 9500) { -- cout << "textarea warning!" << endl; -+ std::cout << "textarea warning!" << std::endl; - bbuf[0] = '\0'; - } - } diff --git a/games/znibbles/files/patch-src_Movable.C b/games/znibbles/files/patch-src_Movable.C deleted file mode 100644 index 41ddff5d296e..000000000000 --- a/games/znibbles/files/patch-src_Movable.C +++ /dev/null @@ -1,71 +0,0 @@ ---- src/Movable.C.orig 1999-05-11 02:15:20 UTC -+++ src/Movable.C -@@ -51,7 +51,7 @@ void Movable::add_description(Trame& t) - void Movable::read_description(Trame& t) - { - if (t.get_char() != NEW_MOVABLE) { -- cerr << "Movable::read_description(): ohhh le bordel!\n"; -+ std::cerr << "Movable::read_description(): ohhh le bordel!\n"; - exit(1); - } - -@@ -91,19 +91,19 @@ void Movable::read_description0(Trame& t - // for debug purposes - void Movable::display() - { -- cout << " ID:"<< id; -+ std::cout << " ID:"<< id; - printf(" %04x", classtype); -- cout <<" Movable " << pos.x << "x" << pos.y << " sp=" << speed -+ std::cout <<" Movable " << pos.x << "x" << pos.y << " sp=" << speed - << " dir=" << direction << " len=" << length - << " full=" << full_length << " pid=" << player_id - << " paused=" << paused << " q=[ " ; - - Pix pix = queue.first(); - for (int i = length - 1; i > 0; i--) { -- cout << queue(pix) << " "; -+ std::cout << queue(pix) << " "; - queue.next(pix); - } -- cout << "]" << endl; -+ std::cout << "]" << std::endl; - } - - -@@ -282,7 +282,7 @@ int Movable::auto_dir() - && !update_pos(p = pos, D_RIGHT)) - newdir = D_RIGHT; - // else --// cout << "Movable::auto_dir(): couldn't find a way to go!" << endl; -+// std::cout << "Movable::auto_dir(): couldn't find a way to go!" << std::endl; - - if (direction != newdir) { - direction = newdir; -@@ -401,7 +401,7 @@ void Movable::getcut(_Position cutpos) - _Position pos2 = pos; - - if (length == 1) { -- cerr << "getcut too short" << endl; -+ std::cerr << "getcut too short" << std::endl; - return; - } - -@@ -415,7 +415,7 @@ void Movable::getcut(_Position cutpos) - - // should never happen. (should be an assertion) - if (!p) { -- cerr << "Movable::cut(): reached end of queue!" << endl; -+ std::cerr << "Movable::cut(): reached end of queue!" << std::endl; - return; - } - -@@ -447,7 +447,7 @@ void Movable::getcut(_Position cutpos) - //evidemment ca bug! world.add_object(worm); - } - //else -- // cerr << "petard de pas de p" << endl; -+ // std::cerr << "petard de pas de p" << std::endl; - } - - diff --git a/games/znibbles/files/patch-src_Nibble.C b/games/znibbles/files/patch-src_Nibble.C deleted file mode 100644 index 8c7757fe1575..000000000000 --- a/games/znibbles/files/patch-src_Nibble.C +++ /dev/null @@ -1,25 +0,0 @@ ---- src/Nibble.C.orig 1998-11-17 08:36:32 UTC -+++ src/Nibble.C -@@ -58,7 +58,7 @@ void Nibble:: add_description(Trame &t) - void Nibble:: read_description(Trame &t) - { - if (t.get_char() != NEW_NIBBLE) { -- cerr << "Nibble::read_description(): ohhh le bordel!\n"; -+ std::cerr << "Nibble::read_description(): ohhh le bordel!\n"; - exit(1); - } - -@@ -81,10 +81,10 @@ void Nibble::read_description0(Trame &t) - - void Nibble::display() - { -- cout << " ID:"<< id; -+ std::cout << " ID:"<< id; - printf(" %04x", classtype); -- cout << " Nibble " << pos.x << "x" << pos.y << " value=" << value -- << " type=" << type << endl; -+ std::cout << " Nibble " << pos.x << "x" << pos.y << " value=" << value -+ << " type=" << type << std::endl; - } - - diff --git a/games/znibbles/files/patch-src_Object.C b/games/znibbles/files/patch-src_Object.C deleted file mode 100644 index 79a7248cecb5..000000000000 --- a/games/znibbles/files/patch-src_Object.C +++ /dev/null @@ -1,20 +0,0 @@ ---- src/Object.C.orig 1999-05-10 03:41:22 UTC -+++ src/Object.C -@@ -28,7 +28,7 @@ - */ - - #include <stdlib.h> --#include <iostream.h> -+#include <iostream> - - #include "Object.H" - #include "World.H" -@@ -89,7 +89,7 @@ void _Object::auto_position(Map& map) - - do { - // if (yes) -- // cout << "Object::auto_position(): collide #" << yes << endl; -+ // std::cout << "Object::auto_position(): collide #" << yes << std::endl; - // yes++; - pos.x = rand() % world.x_dim; - pos.y = rand() % world.y_dim; diff --git a/games/znibbles/files/patch-src_Options.C b/games/znibbles/files/patch-src_Options.C deleted file mode 100644 index 1ba8dc0561c5..000000000000 --- a/games/znibbles/files/patch-src_Options.C +++ /dev/null @@ -1,114 +0,0 @@ ---- src/Options.C.orig 1999-05-12 01:40:13 UTC -+++ src/Options.C -@@ -35,7 +35,7 @@ - - #include <stdio.h> - #include <stdlib.h> --#include <iostream.h> -+#include <iostream> - - #include "Options.H" - -@@ -150,7 +150,7 @@ bool Options::parse(int argc, char **arg - case 'p': - _port = atoi(optarg); - if (_port == 0) { // cannot be 0 -- cerr << *argv << ": port: invalid argument: " << optarg << endl; -+ std::cerr << *argv << ": port: invalid argument: " << optarg << std::endl; - bad_params = true; - } - break; -@@ -160,7 +160,7 @@ bool Options::parse(int argc, char **arg - if (2 != (ooo = sscanf(optarg, "%dx%d", &_width, &_height)) || - _height == 0 || - _width == 0) { -- cerr << *argv << ": size: invalid argument: " << optarg << endl; -+ std::cerr << *argv << ": size: invalid argument: " << optarg << std::endl; - bad_params = true; - } - break; -@@ -168,8 +168,8 @@ bool Options::parse(int argc, char **arg - case 'g': // height (server only) - _height = atoi(optarg); - if (_height == 0) { // cannot be 0 -- cerr << *argv << ": height: invalid argument: " << optarg \ -- << endl; -+ std::cerr << *argv << ": height: invalid argument: " << optarg \ -+ << std::endl; - bad_params = true; - } - break; -@@ -177,8 +177,8 @@ bool Options::parse(int argc, char **arg - case 'w': // width (server only) - _width = atoi(optarg); - if (_width == 0) { // cannot be 0 -- cerr << *argv << ": width: invalid argument: " << optarg \ -- << endl; -+ std::cerr << *argv << ": width: invalid argument: " << optarg \ -+ << std::endl; - bad_params = true; - } - break; -@@ -194,7 +194,7 @@ bool Options::parse(int argc, char **arg - - if (_set == OPTIONS_CLIENT_SET) { - if (argv[optind] == NULL) { -- cerr << *argv << ": missing player name" << endl; -+ std::cerr << *argv << ": missing player name" << std::endl; - bad_params = true; - } - else { -@@ -208,7 +208,7 @@ bool Options::parse(int argc, char **arg - if (p != 0) - _port = p; - else { -- cerr << *argv << ": too many parameters: " << argv[optind] << endl; -+ std::cerr << *argv << ": too many parameters: " << argv[optind] << std::endl; - bad_params = true; - } - } -@@ -227,34 +227,34 @@ int main(int argc, char **argv) - options.set_option_set(0); - - if (!options.parse(argc, argv)) { -- cout << "usage: .... " << endl; -+ std::cout << "usage: .... " << std::endl; - delete &options; - return 1; - } - - if (options.is_help()) { -- cout << "help: ..." << endl; -+ std::cout << "help: ..." << std::endl; - delete &options; - return 0; - } - - if (options.is_version()) { -- cout << "... version ... " << endl; -+ std::cout << "... version ... " << std::endl; - delete &options; - return 0; - } - -- cout << "host: " << options.get_host_name() << ":" \ -- << options.get_port() << endl; -- cout << "message_file: " << options.get_message_file() << endl; -- cout << "twokey(" << options.is_twokey() << ") debug(" \ -- << options.is_debug() <<")" << endl; -+ std::cout << "host: " << options.get_host_name() << ":" \ -+ << options.get_port() << std::endl; -+ std::cout << "message_file: " << options.get_message_file() << std::endl; -+ std::cout << "twokey(" << options.is_twokey() << ") debug(" \ -+ << options.is_debug() <<")" << std::endl; - - int i = options.get_nonoption_index(); -- cout << "argv left = " << endl; -+ std::cout << "argv left = " << std::endl; - argv += i; - while (*argv) { -- cout << " " << *argv++ << endl; -+ std::cout << " " << *argv++ << std::endl; - } - - delete &options; diff --git a/games/znibbles/files/patch-src_Player.C b/games/znibbles/files/patch-src_Player.C deleted file mode 100644 index 2281f976e977..000000000000 --- a/games/znibbles/files/patch-src_Player.C +++ /dev/null @@ -1,33 +0,0 @@ ---- src/Player.C.orig 1999-05-11 02:17:08 UTC -+++ src/Player.C -@@ -36,7 +36,7 @@ - #include <string.h> - #include <time.h> - --#include <iostream.h> -+#include <iostream> - - #include "Player.H" - -@@ -78,7 +78,7 @@ void Player::add_description(Trame &t) - void Player::read_description(Trame &t) - { - if (t.get_char() != PLAYER_DESC) { -- cerr << "Player::read_description(): ohhh le bordel!\n"; -+ std::cerr << "Player::read_description(): ohhh le bordel!\n"; - exit(1); - } - -@@ -98,10 +98,10 @@ void Player::read_description(Trame &t) - // debug: print a brief representation of the player - void Player::display() - { -- cout << " ID:" << id << " Player #" << _number \ -+ std::cout << " ID:" << id << " Player #" << _number \ - << " '" << _name << "' score=" << _score << " frags=" \ - << _frag << " best=" << _best_length << " wid=" \ -- << worm_id<< endl; -+ << worm_id<< std::endl; - } - - diff --git a/games/znibbles/files/patch-src_ServerInterface.C b/games/znibbles/files/patch-src_ServerInterface.C deleted file mode 100644 index 8494af6d7c40..000000000000 --- a/games/znibbles/files/patch-src_ServerInterface.C +++ /dev/null @@ -1,215 +0,0 @@ ---- src/ServerInterface.C.orig 1999-05-11 02:13:52 UTC -+++ src/ServerInterface.C -@@ -48,6 +48,9 @@ - #include <errno.h> - - #include <sys/times.h> -+#ifdef __FreeBSD__ -+#include <sys/param.h> -+#endif - - #include "DLList.h" // Doubly linked lists - -@@ -118,9 +121,9 @@ void ServerInterface::init(int argc, cha - - display_version(); - -- cerr << "ServerInterface(): experimental nibbles" \ -+ std::cerr << "ServerInterface(): experimental nibbles" \ - << "interface! Don't run it in background... " \ -- << endl << endl; -+ << std::endl << std::endl; - - srand(time(NULL)); - -@@ -144,12 +147,12 @@ void ServerInterface::init(int argc, cha - sigaction(SIGCHLD, &action, NULL); - */ - -- cout << "Starting ZNibbles Server on port: " << port << endl; -+ std::cout << "Starting ZNibbles Server on port: " << port << std::endl; - - // Create and attach the listening socket - if((socket_ecoute = creer_socket(SOCK_STREAM, &port, &address)) == -1) { -- cerr << "Unable to create socket. Try option `--help' to get some help."\ -- << endl; -+ std::cerr << "Unable to create socket. Try option `--help' to get some help."\ -+ << std::endl; - exit(2); - } - -@@ -170,36 +173,36 @@ void ServerInterface::init(int argc, cha - // display version numbers (long format) - void ServerInterface::display_version() - { -- cerr << "ZNibbles Server v" VERSION " - A little silly game - " -+ std::cerr << "ZNibbles Server v" VERSION " - A little silly game - " - << "(c) Vincent Mallet 1997, 1998, 1999 - vmallet@enst.fr" -- << endl << endl; -+ << std::endl << std::endl; - } - - - // display version number (short format) - void ServerInterface::display_version_short() - { -- cout << "ZNibbles Server " VERSION << endl; -+ std::cout << "ZNibbles Server " VERSION << std::endl; - } - - - // display small help - void ServerInterface::display_help(char *name) - { -- cout << "usage: " << name << " [OPTIONS].." << endl; -- cout << endl; -- cout << "Start a ZNibbles Server." << endl; -- cout << endl; -- cout << " -p, --port=NUM listen for clients on port NUM [default is 5051]" << endl; -- cout << " -s, --size=NUMxNUM create a world of dimension NUMxNUM [default is 80x40]" << endl; -- cout << " -w, --width=NUM create a world of width NUM [default is 80]" << endl; -- cout << " -g, --height=NUM create a world of height NUM [default is 40]" << endl; -- cout << " -c, --no-computer disable computer-controlled worms" << endl; -- cout << " -d, --debug enable debug output" << endl; -- cout << " -V, --version print version number, then exit" << endl; -- cout << " -h, --help show this message and exit" << endl; -- cout << endl; -- cout << "Report bugs to <vmallet@enst.fr>." << endl; -+ std::cout << "usage: " << name << " [OPTIONS].." << std::endl; -+ std::cout << std::endl; -+ std::cout << "Start a ZNibbles Server." << std::endl; -+ std::cout << std::endl; -+ std::cout << " -p, --port=NUM listen for clients on port NUM [default is 5051]" << std::endl; -+ std::cout << " -s, --size=NUMxNUM create a world of dimension NUMxNUM [default is 80x40]" << std::endl; -+ std::cout << " -w, --width=NUM create a world of width NUM [default is 80]" << std::endl; -+ std::cout << " -g, --height=NUM create a world of height NUM [default is 40]" << std::endl; -+ std::cout << " -c, --no-computer disable computer-controlled worms" << std::endl; -+ std::cout << " -d, --debug enable debug output" << std::endl; -+ std::cout << " -V, --version print version number, then exit" << std::endl; -+ std::cout << " -h, --help show this message and exit" << std::endl; -+ std::cout << std::endl; -+ std::cout << "Report bugs to <vmallet@enst.fr>." << std::endl; - } - - -@@ -230,9 +233,15 @@ void ServerInterface::run() - socket_service = -1; - while (socket_service == -1) { - // wait for connection -+#if defined(__FreeBSD__) && (__FreeBSD_version >= 400013) -+ socket_service = accept(socket_ecoute, -+ (struct sockaddr *) &address, -+ (socklen_t *) &lg_address); -+#else - socket_service = accept(socket_ecoute, - (struct sockaddr *) &address, - &lg_address); -+#endif - - // Reception d'un signal (probablement SIGCHLD) - if(socket_service == -1 && errno == EINTR) { -@@ -277,7 +286,7 @@ void ServerInterface::run() - char *peol; - - if (debug) { -- cout << "chaine: "; -+ std::cout << "chaine: "; - } - - fgets(line, MAXLINE, stdin); -@@ -305,28 +314,28 @@ void ServerInterface::run() - } else if (strcmp(line, "p") == 0) { // pause - xpaused = !xpaused; - display_system_message(((xpaused) -- ? "Pausing...\n" -- : "Running...\n")); -+ ? (char *)"Pausing...\n" -+ : (char *)"Running...\n")); - continue; - } else if (strcmp(line, "-") == 0) { // slower... - if (debug) { -- cout << "slower... ival="; -+ std::cout << "slower... ival="; - } - ival += 25000UL; - if (debug) { -- cout << ival << endl; -+ std::cout << ival << std::endl; - } - continue; - } else if (strcmp(line, "+") == 0) { // faster! - if (ival > 0UL) { - if (debug) { -- cout << "Faster! ival="; -+ std::cout << "Faster! ival="; - } - ival -= 25000UL; - if (ival > 10000000) - ival = 0; - if (debug) { -- cout << ival << endl; -+ std::cout << ival << std::endl; - } - } else - display_system_message("Can't go faster :)\n"); -@@ -388,7 +397,7 @@ void ServerInterface::run() - void ServerInterface::pipe_handler(int sig) - { - sig++; -- // cerr << "got SIGPIPE!" << endl; -+ // std::cerr << "got SIGPIPE!" << std::endl; - // pipe_rw_error = 1; - } - -@@ -407,9 +416,9 @@ void ServerInterface::set_timer(int nbse - // void ServerInterface::alarm_handler(int sig) - // { - // if (curworld) { --// cout << "---- TIMED: " << (curworld->playcycle - startcycle) -+// std::cout << "---- TIMED: " << (curworld->playcycle - startcycle) - // << " cycles -------" --// << "(sig=" << sig << ")" << endl; -+// << "(sig=" << sig << ")" << std::endl; - // startcycle = curworld->playcycle; - // } - // } -@@ -433,9 +442,15 @@ int ServerInterface::accept_new(int sock - - while (read_ready(socketnum)) { - -+#if defined(__FreeBSD__) && (__FreeBSD_version >= 400013) -+ socket_service = accept(socketnum, -+ (struct sockaddr *) &address, -+ (socklen_t *) &lg_address); -+#else - socket_service = accept(socketnum, - (struct sockaddr *) &address, - &lg_address); -+#endif - - // s'il y a une erreur, ce n'est pas une EINTR (cf appel a read_ready()) - if(socket_service == -1) { -@@ -475,9 +490,9 @@ void ServerInterface::display_message(Pl - return; - - if (priv) -- cout << "*private* Message: " << from.get_name() << "> " << msg << endl; -+ std::cout << "*private* Message: " << from.get_name() << "> " << msg << std::endl; - else -- cout << "Message: " << from.get_name() << "> " << msg << endl; -+ std::cout << "Message: " << from.get_name() << "> " << msg << std::endl; - } - - void ServerInterface::display_system_message(char * msg, -@@ -488,8 +503,8 @@ void ServerInterface::display_system_mes - return; - - color++; -- cout << "*** "; -+ std::cout << "*** "; - if (p) -- cout << p->get_name() << " "; -- cout << msg; -+ std::cout << p->get_name() << " "; -+ std::cout << msg; - } diff --git a/games/znibbles/files/patch-src_Trame.C b/games/znibbles/files/patch-src_Trame.C deleted file mode 100644 index c331cdfeb73e..000000000000 --- a/games/znibbles/files/patch-src_Trame.C +++ /dev/null @@ -1,124 +0,0 @@ ---- src/Trame.C.orig 1999-05-09 22:57:09 UTC -+++ src/Trame.C -@@ -39,7 +39,7 @@ - # include <config.h> - #endif - --#include <iostream.h> -+#include <iostream> - - #include <stdlib.h> - #include <stdio.h> -@@ -93,11 +93,11 @@ int Trame::send_to(int socket_number) - #endif - - #ifdef DEBUG_TRACE -- cout << "sending: ["; -+ std::cout << "sending: ["; - printf("%02x %02x] ", rbuf[0], rbuf[1]); - for (int i = 0; i < len; i++) - printf("%02x ", (unsigned int) buf[i]); -- cout << endl; -+ std::cout << std::endl; - #endif - - // always write at least 4 bytes -@@ -161,19 +161,19 @@ int Trame::receive_from(int socket_numbe - return -1; - - if (retval <= 0) { -- cerr << "trame.fuck. error=" << errno << endl; -+ std::cerr << "trame.fuck. error=" << errno << std::endl; - switch(errno) { - case EBADF: -- cerr << " EBADF invalid file desc " << endl; -+ std::cerr << " EBADF invalid file desc " << std::endl; - break; - case EINTR: -- cerr << " EINTR: signal was caught " << endl; -+ std::cerr << " EINTR: signal was caught " << std::endl; - break; - case EINVAL: -- cerr << " EINVAL n is negative " << endl; -+ std::cerr << " EINVAL n is negative " << std::endl; - break; - case ENOMEM: -- cerr << " ENOMEM unable to allocate memory " << endl; -+ std::cerr << " ENOMEM unable to allocate memory " << std::endl; - break; - } - -@@ -196,14 +196,14 @@ int Trame::receive_from(int socket_numbe - - if (xx < 0) { - if (errno == 0) -- cerr << "Trame::receive_from(): error #0!" << endl; -+ std::cerr << "Trame::receive_from(): error #0!" << std::endl; - else -- cerr << "Trame::receive_from(): real error..." << endl; -+ std::cerr << "Trame::receive_from(): real error..." << std::endl; - return -1; - } else { - if (xx != len - 2) { -- cerr << "Trame::receive_from(): short read (read " -- << xx + 2 << " instead of " << len << ")" << endl; -+ std::cerr << "Trame::receive_from(): short read (read " -+ << xx + 2 << " instead of " << len << ")" << std::endl; - return -1; - } - } -@@ -212,11 +212,11 @@ int Trame::receive_from(int socket_numbe - cursize = len; - - #ifdef DEBUG_TRACE -- cout << "receivd: ["; -+ std::cout << "receivd: ["; - printf("%02x %02x] ", rbuf[0], rbuf[1]); - for (int i = 0; i < len; i++) - printf("%02x ", (int) buf[i]); -- cout << endl; -+ std::cout << std::endl; - #endif - - #ifdef DEBUG_LOAD -@@ -381,7 +381,7 @@ short Trame::get_short() - idx += 2; - } - else { -- cerr << "bordel dans get_short()" << endl; -+ std::cerr << "bordel dans get_short()" << std::endl; - sh = -1; - } - -@@ -408,7 +408,7 @@ int Trame::peek_int() - return val; - } - else -- cerr << "bordel dans peek_int()" << endl; -+ std::cerr << "bordel dans peek_int()" << std::endl; - - return -1; - } -@@ -423,7 +423,7 @@ int Trame::get_int() - idx += 4; - } - else { -- cerr << "bordel dans get_int()" << endl; -+ std::cerr << "bordel dans get_int()" << std::endl; - sh = -1; - } - -@@ -454,10 +454,10 @@ char * Trame::get_string() - - void Trame::dump_left() - { -- cerr << "[ "; -+ std::cerr << "[ "; - while (idx < cursize) -- cerr << (int) buf[idx++] << " "; -- cerr << "]" << endl; -+ std::cerr << (int) buf[idx++] << " "; -+ std::cerr << "]" << std::endl; - } - - diff --git a/games/znibbles/files/patch-src_Trame.H b/games/znibbles/files/patch-src_Trame.H deleted file mode 100644 index 46fce2cea772..000000000000 --- a/games/znibbles/files/patch-src_Trame.H +++ /dev/null @@ -1,11 +0,0 @@ ---- src/Trame.H.orig 1999-05-09 22:58:39 UTC -+++ src/Trame.H -@@ -38,7 +38,7 @@ - #ifndef __H_TRAME__ - #define __H_TRAME__ - --#include <iostream.h> -+#include <iostream> - - // some compilers consider char as unsigned by default. - typedef signed char schar; diff --git a/games/znibbles/files/patch-src_World.C b/games/znibbles/files/patch-src_World.C deleted file mode 100644 index 51d1b8f27b5b..000000000000 --- a/games/znibbles/files/patch-src_World.C +++ /dev/null @@ -1,227 +0,0 @@ ---- src/World.C.orig 1999-05-12 01:45:46 UTC -+++ src/World.C -@@ -145,8 +145,8 @@ _Object& World::lookup_object(int obj_id - - if (!p) { // here it's really bad. Have to raise an exception ! - if (debug) -- cerr << "World::lookup_object(): invalid object id=" << obj_id \ -- << " !!!" << endl; -+ std::cerr << "World::lookup_object(): invalid object id=" << obj_id \ -+ << " !!!" << std::endl; - return * objects.front(); /// @@ NNNNOOOOOONNNNNNNNNNNNNNNNNNNNNNNN! - } - -@@ -182,7 +182,7 @@ _Object * World::read_new_object(Trame & - break; - default: - if (debug) -- cerr << "World::read_new_object(): unknown object!\n"; -+ std::cerr << "World::read_new_object(): unknown object!\n"; - break; - } - -@@ -201,7 +201,7 @@ void World::remove_object(int obj_id) - remove_object0(p); - else { - if (debug) -- cerr << "remove_object(): invalid object_id! id=" << obj_id << endl; -+ std::cerr << "remove_object(): invalid object_id! id=" << obj_id << std::endl; - } - } - -@@ -243,8 +243,8 @@ Player& World::lookup_player(int player_ - - if (!p) { // la, c'est tres grave. Faut faire une exception! - if (debug) -- cerr << "World::lookup_player(): invalid player id=" << player_id \ -- << " !!!" << endl; -+ std::cerr << "World::lookup_player(): invalid player id=" << player_id \ -+ << " !!!" << std::endl; - return * new Player(*this); // <- en attendant mieux. - } - -@@ -269,7 +269,7 @@ void World::server_add_player(int socknu - /* unlimited number of players! - if (nbplayers >= maxplayers) { - close(socknum); -- cerr << "Too many players ! \n"; -+ std::cerr << "Too many players ! \n"; - return; - } - */ -@@ -278,16 +278,16 @@ void World::server_add_player(int socknu - trame.set_timeout(5000); - if (-1 == trame.receive_from(socknum)) { - if (debug) -- cerr << "World::server_add_player(): cannot read welcome packet " \ -- "from client" << endl; -+ std::cerr << "World::server_add_player(): cannot read welcome packet " \ -+ "from client" << std::endl; - close(socknum); - return; - } - - if (trame.peek_char() != JOIN_GAME) { - if (debug) -- cerr << "World::server_add_player(): Should have got JOIN_GAME ( " -- << (int) JOIN_GAME << "), got " << (int) trame.peek_char() << endl; -+ std::cerr << "World::server_add_player(): Should have got JOIN_GAME ( " -+ << (int) JOIN_GAME << "), got " << (int) trame.peek_char() << std::endl; - return; - } - trame.get_char(); -@@ -321,7 +321,7 @@ void World::server_add_player_other(int - trameZ.set_timeout(1); - - if (debug) -- cout << "World::server_add_player_other(): adding a subplayer" << endl; -+ std::cout << "World::server_add_player_other(): adding a subplayer" << std::endl; - - Player& p = * new Player(*this, socknum); - -@@ -357,8 +357,8 @@ void World::remove_player(int player_id) - - if (!p) { // la, c'est tres grave. Faut faire une exception! - if (debug) -- cerr << "World::remove_player(): invalid player id=" << player_id \ -- << " !!!" << endl; -+ std::cerr << "World::remove_player(): invalid player id=" << player_id \ -+ << " !!!" << std::endl; - return; - } - -@@ -513,11 +513,11 @@ void World::own_cycle() - && ((Movable *) objects(p))->player_id == 0) - nbworm++; - -- // cout << "actually I have " << nbworm << " own worms..." << endl; -+ // std::cout << "actually I have " << nbworm << " own worms..." << std::endl; - - // @@ 2: a mettre en parametre - if (nbworm < 2) { -- // cout << "adding one.. heehe" << endl; -+ // std::cout << "adding one.. heehe" << std::endl; - Movable& worm = * new Movable(*this); - worm.auto_position(map); - worm.add_type(map); -@@ -569,7 +569,7 @@ void World::read_description(Trame& t) - { - if (t.get_char() != WORLD_DESC) { - if (debug) -- cerr << " petard le bordel geant! \n"; -+ std::cerr << " petard le bordel geant! \n"; - exit(1); - } - -@@ -708,11 +708,11 @@ void World::read_changes(Trame &t) - - default: - if (debug) -- cerr<< "read_changes(): unexpected trame Id == " \ -- << (int) t.peek_char() << endl; -+ std::cerr<< "read_changes(): unexpected trame Id == " \ -+ << (int) t.peek_char() << std::endl; - t.get_char(); - if (debug) -- cerr<< "read_changes(): left in trame = "; -+ std::cerr<< "read_changes(): left in trame = "; - t.dump_left(); - break; - } -@@ -743,16 +743,16 @@ void World::build_maptype() - // for debug purposes - void World::display() - { -- cout << "ID: " << id << " WORLD"; -- cout << " dims=" << x_dim << "x" << y_dim; -- cout << " cycle=" << playcycle << endl; -- cout << " " << nbplayers << " players " << endl; -+ std::cout << "ID: " << id << " WORLD"; -+ std::cout << " dims=" << x_dim << "x" << y_dim; -+ std::cout << " cycle=" << playcycle << std::endl; -+ std::cout << " " << nbplayers << " players " << std::endl; - - // here we add if(1) to avoid bogus compilers problems - if (1) for (Pix p = players.first(); p; players.next(p)) - players(p)->display(); - -- cout << " " << nbobjects << " objects " << endl; -+ std::cout << " " << nbobjects << " objects " << std::endl; - - for (Pix p = objects.first(); p; objects.next(p)) - objects(p)->display(); -@@ -826,7 +826,7 @@ void World::get_client_responses() - - if (retval < 0) { - if (debug) -- cerr << "World::get_client_responses(): bug quelque part!" << endl; -+ std::cerr << "World::get_client_responses(): bug quelque part!" << std::endl; - return; // bah violent comme d'hab. - } - -@@ -915,7 +915,7 @@ void World::read_player_response(Player& - int newdir = t.get_char(); - - if (debug) -- cout << "subplayer dir: ( " << worm_id << ") to " << newdir << endl; -+ std::cout << "subplayer dir: ( " << worm_id << ") to " << newdir << std::endl; - - Movable & mv = (Movable &) lookup_object(worm_id); - Player * other_player = NULL; -@@ -928,8 +928,8 @@ void World::read_player_response(Player& - || other_player->socket_number != p.socket_number) { - - if (debug) -- cerr << "World::PLAYER_CHANGEDIR_OTHER: bad id: " << worm_id \ -- << endl; -+ std::cerr << "World::PLAYER_CHANGEDIR_OTHER: bad id: " << worm_id \ -+ << std::endl; - } - else { - if (!paused) { -@@ -954,12 +954,12 @@ void World::read_player_response(Player& - - case TEXT_MESSAGE: - { -- // cout << "got TEXT_MESSAGE == '"; -+ // std::cout << "got TEXT_MESSAGE == '"; - t.get_char(); // skip msg id - int dest_id = t.get_int(); - char *msg = t.get_string(); // warning: use it fast! - -- // cout << msg << "'" << endl; -+ // std::cout << msg << "'" << std::endl; - - if (!dest_id) { // broadcast message - cycle_trame.put_char(TEXT_MESSAGE); -@@ -1039,16 +1039,16 @@ void World::read_player_response(Player& - - case TRAME_ERROR: - if (debug) -- cerr << "World::read_player_response(): id=" << p.id \ -- << " sent an error trame:! " << (int) t.peek_char() << endl; -+ std::cerr << "World::read_player_response(): id=" << p.id \ -+ << " sent an error trame:! " << (int) t.peek_char() << std::endl; - done = 1; - break; - - default: - if (debug) { -- cerr << "World::read_player_response(): id=" << p.id \ -- << " sent an unknown message: " << (int) t.peek_char() << endl; -- cerr << " ignoring rest of frame="; -+ std::cerr << "World::read_player_response(): id=" << p.id \ -+ << " sent an unknown message: " << (int) t.peek_char() << std::endl; -+ std::cerr << " ignoring rest of frame="; - t.dump_left(); - } - break; -@@ -1117,7 +1117,7 @@ Pix World::lookup_object0(int obj_id) - - void World::remove_object0(Pix& p) - { -- //FAST cout << "? killing id=" << objects(p)->id << endl; -+ //FAST std::cout << "? killing id=" << objects(p)->id << std::endl; - delete objects(p); - objects.del(p, -1); - nbobjects--; diff --git a/games/znibbles/files/patch-src_X11_X11Interface.C b/games/znibbles/files/patch-src_X11_X11Interface.C deleted file mode 100644 index cd732a19901d..000000000000 --- a/games/znibbles/files/patch-src_X11_X11Interface.C +++ /dev/null @@ -1,285 +0,0 @@ ---- src/X11/X11Interface.C.orig 1999-05-12 11:43:42 UTC -+++ src/X11/X11Interface.C -@@ -38,7 +38,7 @@ - # include <config.h> - #endif - --#include <iostream.h> -+#include <iostream> - - #include <unistd.h> - #include <stdlib.h> -@@ -109,7 +109,7 @@ void X11Interface::init(int argc, char * - display_version(); - - if (_two_key) -- cout << "Two-key mode enabled" << endl; -+ std::cout << "Two-key mode enabled" << std::endl; - - - // connect pipe_handler to SIGPIPE signal -@@ -125,8 +125,8 @@ void X11Interface::init(int argc, char * - exit(2); - } - -- cout << "Connecting to ZNibbles server: " \ -- << options.get_host_name() << ":" << options.get_port() << "... " << endl; -+ std::cout << "Connecting to ZNibbles server: " \ -+ << options.get_host_name() << ":" << options.get_port() << "... " << std::endl; - - // create and bind socket to any port - port = 0; -@@ -136,7 +136,7 @@ void X11Interface::init(int argc, char * - } - - // if (debug) --// cout << "Client socket created on port: " << ntohs(client_address.sin_port) << endl; -+// std::cout << "Client socket created on port: " << ntohs(client_address.sin_port) << std::endl; - - // Build server address - server_address.sin_family = AF_INET; -@@ -153,7 +153,7 @@ void X11Interface::init(int argc, char * - - display_play_help(); - -- cout << "Connection accepted\n" << endl; -+ std::cout << "Connection accepted\n" << std::endl; - - // hack_socket_client = socket_client; // hack for signal handling - // action.sa_handler = stop_handler; -@@ -163,7 +163,7 @@ void X11Interface::init(int argc, char * - - init_messages(options.get_message_file()); - -- cout << "initializing interface..." << endl; -+ std::cout << "initializing interface..." << std::endl; - X11Init(argc, argv); - } - -@@ -201,56 +201,56 @@ void X11Interface::X11Init(int argc, cha - // display version number (long format) - void X11Interface::display_version() - { -- cerr << "ZNibbles v" VERSION " - A little silly game - " -+ std::cerr << "ZNibbles v" VERSION " - A little silly game - " - << "(c) Vincent Mallet 1997, 1998, 1999 - vmallet@enst.fr" -- << endl << endl; -+ << std::endl << std::endl; - } - - // display version number (short format) - void X11Interface::display_version_short() - { -- cout << "ZNibbles X11 Client -experimental- " VERSION << endl; -+ std::cout << "ZNibbles X11 Client -experimental- " VERSION << std::endl; - } - - //display small help for invocation - void X11Interface::display_help(char *name) - { -- cout << "Usage: " << name << " [OPTION].. PLAYERNAME" << endl; -- cout << endl; -- cout << "Start a ZNibbles X11 client and connect to the specified nibbles server." << endl; -- cout << endl; -- cout << " -n, --host-name=HOST connect to server HOST [default is localhost]" << endl; -- cout << " -p, --port=NUM connect to port NUM of server [default is 5051]" << endl; -- cout << " -m, --message-file=FILE load predefined messages from file FILE" << endl; -- cout << " -t, --twokey control worm with only two keys, LEFT and RIGHT" << endl; -- cout << " -i, --enable-stdin enable standard input for sending messages" << endl; -- cout << " -d, --debug enable debug output" << endl; -- cout << " -V, --version print version number, then exit" << endl; -- cout << " -h, --help show this message and exit" << endl; -- cout << endl; -- cout << "Report bugs to <vmallet@enst.fr>." << endl; -+ std::cout << "Usage: " << name << " [OPTION].. PLAYERNAME" << std::endl; -+ std::cout << std::endl; -+ std::cout << "Start a ZNibbles X11 client and connect to the specified nibbles server." << std::endl; -+ std::cout << std::endl; -+ std::cout << " -n, --host-name=HOST connect to server HOST [default is localhost]" << std::endl; -+ std::cout << " -p, --port=NUM connect to port NUM of server [default is 5051]" << std::endl; -+ std::cout << " -m, --message-file=FILE load predefined messages from file FILE" << std::endl; -+ std::cout << " -t, --twokey control worm with only two keys, LEFT and RIGHT" << std::endl; -+ std::cout << " -i, --enable-stdin enable standard input for sending messages" << std::endl; -+ std::cout << " -d, --debug enable debug output" << std::endl; -+ std::cout << " -V, --version print version number, then exit" << std::endl; -+ std::cout << " -h, --help show this message and exit" << std::endl; -+ std::cout << std::endl; -+ std::cout << "Report bugs to <vmallet@enst.fr>." << std::endl; - } - - - // display help on key used - void X11Interface::display_play_help() - { -- cout << endl; -- cout << "Welcome to ZNibbles!" << endl; -- cout << endl; -- cout << "Valid keys while playing:" << endl -- << endl -- << " Up, Down, Left, Right: move worm 1" << endl -- << endl -- << " p/u : pause/unpause game" << endl -- << endl -- << " P/U : pause/unpause _your_ worm" << endl -- << endl -- << " 1, 2, ... 0 : send predefined messages to other players" << endl -- << endl -- << " Ctrl+Q : quit game" << endl -- << endl -- << " Have fun!" << endl; -+ std::cout << std::endl; -+ std::cout << "Welcome to ZNibbles!" << std::endl; -+ std::cout << std::endl; -+ std::cout << "Valid keys while playing:" << std::endl -+ << std::endl -+ << " Up, Down, Left, Right: move worm 1" << std::endl -+ << std::endl -+ << " p/u : pause/unpause game" << std::endl -+ << std::endl -+ << " P/U : pause/unpause _your_ worm" << std::endl -+ << std::endl -+ << " 1, 2, ... 0 : send predefined messages to other players" << std::endl -+ << std::endl -+ << " Ctrl+Q : quit game" << std::endl -+ << std::endl -+ << " Have fun!" << std::endl; - } - - -@@ -261,7 +261,7 @@ void X11Interface::display_play_help() - - void X11Interface::pipe_handler(int sig) - { -- cerr << "--- Lost Server Connection! ---" << endl; -+ std::cerr << "--- Lost Server Connection! ---" << std::endl; - sig++; // warnings.. - dead_server = 1; - } -@@ -285,7 +285,7 @@ void X11Interface::run() - - z++; - if (t.receive_from(socket_client)) { -- // cout << "receive error, errno=" << errno << endl; -+ // std::cout << "receive error, errno=" << errno << std::endl; - - handle_Xevent(); - -@@ -309,7 +309,7 @@ void X11Interface::run() - } - - if (dir) { -- cout << "Sending Direction ==" << dir << endl; -+ std::cout << "Sending Direction ==" << dir << std::endl; - tx.reset(); - tx.put_char(PLAYER_CHANGEDIR); - tx.put_char(dir); -@@ -323,7 +323,7 @@ void X11Interface::run() - break; // on verra ca plus tard. - - case WORLD_DESC: -- cout << endl << "got WORLD_DESC " << endl; -+ std::cout << std::endl << "got WORLD_DESC " << std::endl; - w.read_description(t); - tx.reset(); - tx.put_char(CYCLE_ACK); -@@ -333,14 +333,14 @@ void X11Interface::run() - break; - - case CHANGE_NOTIFY: -- //FAST cout << endl << "got CHANGE_NOTIFY " << endl; -+ //FAST std::cout << std::endl << "got CHANGE_NOTIFY " << std::endl; - t.get_char(); - w.read_changes(t); - break; - - case VOID_TRAME: - { -- cout << "got VOID_TRAME " << endl; -+ std::cout << "got VOID_TRAME " << std::endl; - t.get_char(); - char *p = t.get_string(); - if (p && strcmp(p, "w") == 0) -@@ -358,10 +358,10 @@ void X11Interface::run() - - case TEXT_MESSAGE: - { -- cout << "got *private* TEXT_MESSAGE == '"; -+ std::cout << "got *private* TEXT_MESSAGE == '"; - t.get_char(); // skip packet id - char *msg = t.get_string(); -- cout << msg << "'" << endl; -+ std::cout << msg << "'" << std::endl; - } - break; - -@@ -393,13 +393,13 @@ void X11Interface::run() - break; - - case QUIT_GAME: -- cout << "Got QUIT_GAME" << endl; -- cout << "Client shutting down.... " << endl; -+ std::cout << "Got QUIT_GAME" << std::endl; -+ std::cout << "Client shutting down.... " << std::endl; - done = 1; - break; - - default: -- cout << "got unknown frame type: " << (int) t.peek_char() << endl; -+ std::cout << "got unknown frame type: " << (int) t.peek_char() << std::endl; - break; - } - } -@@ -427,13 +427,13 @@ void X11Interface::handle_Xevent() - nibblesarea.redraw2(); - break; - case ButtonPress: -- cout << "ButtonPress" << endl; -+ std::cout << "ButtonPress" << std::endl; - break; - case KeyPress: - nibblesarea.handle_key(&report); - break; - case ConfigureNotify: -- cout << "Configure" << endl; -+ std::cout << "Configure" << std::endl; - break; - } - } -@@ -442,30 +442,30 @@ void X11Interface::handle_Xevent() - - void X11Interface::add_player(Player& p) - { -- cout << "Player <" << p.get_name() <<"> joined the game!" << endl; -+ std::cout << "Player <" << p.get_name() <<"> joined the game!" << std::endl; - } - - void X11Interface::kill_player(Player& p, int reason) - { -- cout << "Player <" << p.get_name() <<"> LEFT the game! (reason=" << reason << ")" << endl; -+ std::cout << "Player <" << p.get_name() <<"> LEFT the game! (reason=" << reason << ")" << std::endl; - } - - - void X11Interface::display_message(Player& from, char *msg, int priv) - { - if (priv) -- cout << "*private* Message: " << from.get_name() << "> " << msg << endl; -+ std::cout << "*private* Message: " << from.get_name() << "> " << msg << std::endl; - else -- cout << "Message: " << from.get_name() << "> " << msg << endl; -+ std::cout << "Message: " << from.get_name() << "> " << msg << std::endl; - } - - void X11Interface::display_system_message(char *msg, Player *p, int color) // default p=NULL, color=0 - { - color++; -- cout << "*** "; -+ std::cout << "*** "; - if (p) -- cout << p->get_name() << " "; -- cout << msg; -+ std::cout << p->get_name() << " "; -+ std::cout << msg; - } - - diff --git a/games/znibbles/files/patch-src_X11_textarea.C b/games/znibbles/files/patch-src_X11_textarea.C deleted file mode 100644 index ef75631e8ea6..000000000000 --- a/games/znibbles/files/patch-src_X11_textarea.C +++ /dev/null @@ -1,20 +0,0 @@ ---- src/X11/textarea.C.orig 1998-11-17 08:42:50 UTC -+++ src/X11/textarea.C -@@ -32,7 +32,7 @@ - #include <Xm/ScrollBar.h> - #include <Xm/Text.h> - --#include <iostream.h> -+#include <iostream> - #include "string.h" - - #include "motifutil.H" -@@ -91,7 +91,7 @@ void TextArea::add_line(char *line) - XmTextSetCursorPosition(widget, XmTextGetLastPosition(widget)); - XmTextShowPosition(widget, XmTextGetLastPosition(widget)); - if (length > 9500) { -- cout << "textarea warning!" << endl; -+ std::cout << "textarea warning!" << std::endl; - bbuf[0] = '\0'; - } - } diff --git a/games/znibbles/pkg-descr b/games/znibbles/pkg-descr deleted file mode 100644 index 3a472bd3f3f6..000000000000 --- a/games/znibbles/pkg-descr +++ /dev/null @@ -1,23 +0,0 @@ -ZNibbles is a multi-player networked game. It is based on the old -nibbles game: you've got a worm, eat nibbles and get your worm growing. -Several players can play together, each of them controlling its own worm -on its own computer. - -There is theoretically an unlimited number of simultaneous players, it's -more a matter of network speed. It has been tested with more than 10 -players and it was real fun :) ZNibbles is written for Unix. It has been -tested under Linux, SunOS, Solaris and Irix. The game can run either -directly on top of X11, use the GTK+ toolkit (get it on the GTK+ site) -or use the Motif toolkit (get a good Motif free implementation called -LessTif) - -Once compiled, you get the files: - - nibbles : the ZNibbles server - gznibbles : the ZNibbles GTK+ client - znibblesX : the ZNibbless X11-only client (poor) - -Run "nibbles" first as the ZNibbles server, and then run its clients to -play. - -WWW: http://www.zyllius.com/vmallet/ZNibbles.html |