diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-03-16 18:31:43 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-03-16 18:31:43 +0000 |
commit | ee2ad2d25ce3e5416be9c5ba42de5bd6ec6e1c77 (patch) | |
tree | caee036797690d96cd2b3c42e140ef2f3b18781d /games | |
parent | 0b46ea5651bdbc87851ea22fab3690b14d5edc5d (diff) | |
download | ports-ee2ad2d25ce3e5416be9c5ba42de5bd6ec6e1c77.tar.gz ports-ee2ad2d25ce3e5416be9c5ba42de5bd6ec6e1c77.zip |
- Update to 1.8.0
- SDL is no longer optional
PR: ports/92748
Submitted by: Mark Daniel Reidel <mark@alu.reidel.info> (maintainer)
Notes
Notes:
svn path=/head/; revision=157445
Diffstat (limited to 'games')
-rw-r--r-- | games/crossfire-client/Makefile | 61 | ||||
-rw-r--r-- | games/crossfire-client/distinfo | 12 | ||||
-rw-r--r-- | games/crossfire-client/files/patch-common-misc.c (renamed from games/crossfire-client/files/patch-common::misc.c) | 12 | ||||
-rw-r--r-- | games/crossfire-client/files/patch-common-script.c | 10 | ||||
-rw-r--r-- | games/crossfire-client/files/patch-common-script.c::signal.c | 11 | ||||
-rw-r--r-- | games/crossfire-client/pkg-plist | 38 |
6 files changed, 70 insertions, 74 deletions
diff --git a/games/crossfire-client/Makefile b/games/crossfire-client/Makefile index f2f80f6e106f..0bd0b8cf21c6 100644 --- a/games/crossfire-client/Makefile +++ b/games/crossfire-client/Makefile @@ -6,15 +6,14 @@ # PORTNAME= crossfire-client -PORTVERSION= 1.7.0 -PORTREVISION= 1 +PORTVERSION= 1.8.0 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ ftp://ftp.ifi.uio.no/pub/crossfire/ \ ftp://ftp.real-time.com/pub/games/crossfire/ MASTER_SITE_SUBDIR= ${PORTNAME:S/-client//} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ - ${PORTNAME}-images-1.5.0${EXTRACT_SUFX} \ + ${PORTNAME}-images-1.7.1${EXTRACT_SUFX} \ ${PORTNAME}-sounds-1.4.0${EXTRACT_SUFX} MAINTAINER= ports@mark.reidel.info @@ -26,29 +25,67 @@ USE_XPM= yes WANT_GNOME= yes USE_GNOME= gnometarget USE_GMAKE= yes +USE_SDL= image sdl GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" CONFIGURE_ARGS= --with-sound-dir=${DATADIR}/sounds -OPTIONS= SDL "Use SDL for images" on - -MAN1= cfclient.1 +MAN6= cfclient.6 .include <bsd.port.pre.mk> +PLIST_FILES= bin/cfclient \ + bin/cfsndserv +.if ${HAVE_GNOME:Mgtk20}!="" || ${HAVE_GNOME:Mgtk12}!="" +MAN6+= gcfclient.6 +.if ${HAVE_GNOME:Mgtk20}!="" +USE_GNOME+= gtk20 +PLIST_FILES+=bin/gcfclient2 +.endif .if ${HAVE_GNOME:Mgtk12}!="" USE_GNOME+= gtk12 -MAN1+= gcfclient.1 +PLIST_FILES+=bin/gcfclient +.endif .else CONFIGURE_ARGS+= --disable-gtk .endif -.if defined(WITHOUT_SDL) -CONFIGURE_ARGS+= --disable-sdl -.else -USE_SDL= image sdl -.endif +PLIST_DIRS= %%DATADIR%%/sounds \ + %%DATADIR%% +PLIST_FILES+= %%DATADIR%%/bmaps.client \ + %%DATADIR%%/crossfire.base \ + %%DATADIR%%/crossfire.clsc \ + %%DATADIR%%/sounds/README \ + %%DATADIR%%/sounds/Creaky-1.raw \ + %%DATADIR%%/sounds/Evil_Laugh.raw \ + %%DATADIR%%/sounds/Explosion.raw \ + %%DATADIR%%/sounds/FloorTom.raw \ + %%DATADIR%%/sounds/Gun-5.raw \ + %%DATADIR%%/sounds/MetalCrash.raw \ + %%DATADIR%%/sounds/Missed.raw \ + %%DATADIR%%/sounds/Missle1.raw \ + %%DATADIR%%/sounds/Puke.raw \ + %%DATADIR%%/sounds/Tear.raw \ + %%DATADIR%%/sounds/Teeswing.raw \ + %%DATADIR%%/sounds/TowerClock.raw \ + %%DATADIR%%/sounds/Whoosh.raw \ + %%DATADIR%%/sounds/blip.raw \ + %%DATADIR%%/sounds/boink2.raw \ + %%DATADIR%%/sounds/bugle_charge.raw \ + %%DATADIR%%/sounds/chord.raw \ + %%DATADIR%%/sounds/click1.raw \ + %%DATADIR%%/sounds/click2.raw \ + %%DATADIR%%/sounds/drip.raw \ + %%DATADIR%%/sounds/first_try.raw \ + %%DATADIR%%/sounds/gong.raw \ + %%DATADIR%%/sounds/lightning1.raw \ + %%DATADIR%%/sounds/magic.raw \ + %%DATADIR%%/sounds/ouch1.raw \ + %%DATADIR%%/sounds/phit2.raw \ + %%DATADIR%%/sounds/sci_fi_gun.raw \ + %%DATADIR%%/sounds/squish.raw \ + %%DATADIR%%/sounds/swish.raw \ post-install: @${MKDIR} ${DATADIR} diff --git a/games/crossfire-client/distinfo b/games/crossfire-client/distinfo index 687a64d65f75..47dfcdedd683 100644 --- a/games/crossfire-client/distinfo +++ b/games/crossfire-client/distinfo @@ -1,9 +1,9 @@ -MD5 (crossfire-client-1.7.0.tar.gz) = ef405f78d54be0bf22feeef6b4fc0d73 -SHA256 (crossfire-client-1.7.0.tar.gz) = 4704cbb0088665337a930f576d4cda36b2b272ef4b2da1a1e0363d416871e6fd -SIZE (crossfire-client-1.7.0.tar.gz) = 458940 -MD5 (crossfire-client-images-1.5.0.tar.gz) = 63cbfb00ff8000f2567880b72c8162bd -SHA256 (crossfire-client-images-1.5.0.tar.gz) = 65c61d6cd5be2fa25d93d66ace1624d36ad24535845b0dfe1392cec1ccb5431d -SIZE (crossfire-client-images-1.5.0.tar.gz) = 1504405 +MD5 (crossfire-client-1.8.0.tar.gz) = 3198bb5ad0e85ca7d8dcdd812bdf4c2f +SHA256 (crossfire-client-1.8.0.tar.gz) = 4968da4e5d74097ddb009298ec9f196bef88cc9ab92adb983396a376579c5a5d +SIZE (crossfire-client-1.8.0.tar.gz) = 663735 +MD5 (crossfire-client-images-1.7.1.tar.gz) = 30dc5c22e864694a3d01309a073642f9 +SHA256 (crossfire-client-images-1.7.1.tar.gz) = b68799af8a7412e80b74911e6497237de80f208ceb9035e17af136b30ff07ed8 +SIZE (crossfire-client-images-1.7.1.tar.gz) = 1954215 MD5 (crossfire-client-sounds-1.4.0.tar.gz) = 1b33401d9d2af0d391fee7ad04282cfd SHA256 (crossfire-client-sounds-1.4.0.tar.gz) = 95c7e4982d2c3792bbea0c45ea763cada548a1e0331323887dcfbdad48db270e SIZE (crossfire-client-sounds-1.4.0.tar.gz) = 258947 diff --git a/games/crossfire-client/files/patch-common::misc.c b/games/crossfire-client/files/patch-common-misc.c index ce7017952be4..60a49603b433 100644 --- a/games/crossfire-client/files/patch-common::misc.c +++ b/games/crossfire-client/files/patch-common-misc.c @@ -1,6 +1,6 @@ ---- common/misc.c.orig Sat May 8 15:31:29 2004 -+++ common/misc.c Sat May 8 15:31:49 2004 -@@ -237,13 +237,13 @@ +--- common/misc.c.orig Wed Feb 1 19:15:57 2006 ++++ common/misc.c Wed Feb 1 19:16:21 2006 +@@ -237,11 +237,11 @@ #ifndef WIN32 ChildProcess* cp=FirstChild; ChildProcess* last=NULL; @@ -9,9 +9,7 @@ if (!cp) return; /*no child to monitor*/ if (waitpid(cp->pid,NULL,WNOHANG)){ +- ChildProcess* next; + /*pid is dead*/ LOG(LOG_INFO,"common::monitorChilds","Child %s died. Removing and closing pipes",cp->name?cp->name:"UNKNOWN"); -- ChildProcess* next; - if (cp==LastChild) - LastChild=last; - next=cp->next; diff --git a/games/crossfire-client/files/patch-common-script.c b/games/crossfire-client/files/patch-common-script.c new file mode 100644 index 000000000000..28241507902a --- /dev/null +++ b/games/crossfire-client/files/patch-common-script.c @@ -0,0 +1,10 @@ +--- common/script.c.orig Wed Feb 1 19:14:36 2006 ++++ common/script.c Wed Feb 1 19:14:51 2006 +@@ -120,6 +120,7 @@ + #include <sys/types.h> + #include <sys/socket.h> + #include <sys/wait.h> ++#include <sys/signal.h> + #include <signal.h> + #endif + diff --git a/games/crossfire-client/files/patch-common-script.c::signal.c b/games/crossfire-client/files/patch-common-script.c::signal.c deleted file mode 100644 index 5cd2cb525f24..000000000000 --- a/games/crossfire-client/files/patch-common-script.c::signal.c +++ /dev/null @@ -1,11 +0,0 @@ ---- common/script.c.orig Fri May 7 07:51:00 2004 -+++ common/script.c Fri May 7 07:51:41 2004 -@@ -114,6 +114,8 @@ - #include <sys/types.h> - #include <sys/socket.h> - #include <sys/wait.h> -+#include <sys/signal.h> -+#include <signal.h> - #endif - - #include <client.h> diff --git a/games/crossfire-client/pkg-plist b/games/crossfire-client/pkg-plist deleted file mode 100644 index 87c225147240..000000000000 --- a/games/crossfire-client/pkg-plist +++ /dev/null @@ -1,38 +0,0 @@ -bin/cfclient -bin/cfsndserv -%%GNOME:%%bin/gcfclient -%%DATADIR%%/bmaps.client -%%DATADIR%%/crossfire.base -%%DATADIR%%/crossfire.clsc -%%DATADIR%%/sounds/Creaky-1.raw -%%DATADIR%%/sounds/Evil_Laugh.raw -%%DATADIR%%/sounds/Explosion.raw -%%DATADIR%%/sounds/FloorTom.raw -%%DATADIR%%/sounds/Gun-5.raw -%%DATADIR%%/sounds/MetalCrash.raw -%%DATADIR%%/sounds/Missed.raw -%%DATADIR%%/sounds/Missle1.raw -%%DATADIR%%/sounds/Puke.raw -%%DATADIR%%/sounds/README -%%DATADIR%%/sounds/Tear.raw -%%DATADIR%%/sounds/Teeswing.raw -%%DATADIR%%/sounds/TowerClock.raw -%%DATADIR%%/sounds/Whoosh.raw -%%DATADIR%%/sounds/blip.raw -%%DATADIR%%/sounds/boink2.raw -%%DATADIR%%/sounds/bugle_charge.raw -%%DATADIR%%/sounds/chord.raw -%%DATADIR%%/sounds/click1.raw -%%DATADIR%%/sounds/click2.raw -%%DATADIR%%/sounds/drip.raw -%%DATADIR%%/sounds/first_try.raw -%%DATADIR%%/sounds/gong.raw -%%DATADIR%%/sounds/lightning1.raw -%%DATADIR%%/sounds/magic.raw -%%DATADIR%%/sounds/ouch1.raw -%%DATADIR%%/sounds/phit2.raw -%%DATADIR%%/sounds/sci_fi_gun.raw -%%DATADIR%%/sounds/squish.raw -%%DATADIR%%/sounds/swish.raw -@dirrm %%DATADIR%%/sounds -@dirrm %%DATADIR%% |