1
0
forked from ports/contrib

wop: dropped

This commit is contained in:
Danny Rawlins 2015-02-15 21:37:57 +11:00
parent 30a2a7120e
commit a54bf05b82
6 changed files with 0 additions and 4828 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +0,0 @@
dc0ce5a1d3743ba7e72d2f855be3542b wop-0.4.3-Makefile.patch
ae07e9e1092de6c447a9af2cf8e90959 wop-0.4.3-src.tar.bz2
a602661067d0e9508b3b07dc7b6d8e14 wop-client
31ac3e83d958cf4ed2363dc400c17e45 wop-server
0bf42f28e03dcac5c8066b46d7733907 wopdata-2005-12-21.tar.bz2

View File

@ -1,27 +0,0 @@
# Description: Real-time Worms game for Linux.
# URL: http://wormsofprey.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: James Mills, prologic at shortcircuit dot net dot au
# Depends on: sdl_net sdl_mixer sdl_image sdl_ttf gcc34
name=wop
version=0.4.3
release=1
source=(http://wormsofprey.org/download/wop-$version-src.tar.bz2
http://wormsofprey.org/download/wopdata-2005-12-21.tar.bz2
wop-0.4.3-Makefile.patch
wop-client wop-server)
build() {
cd $name-$version
CXXFLAGS+=' -march=i686'
find $SRC -name Makefile -exec sed -i -e 's/CXX =.*/CXX = g++-3.4/' {} \;
patch -p 0 -i $SRC/wop-0.4.3-Makefile.patch
make clean
make
install -d $PKG/usr/share/$name
cp -r $SRC/wopdata-2005-12-21/* $PKG/usr/share/wop/
install -D -m 0755 bin/$name $PKG/usr/bin/wop
install -D -m 0755 $SRC/wop-client $PKG/usr/bin/wop-client
install -D -m 0755 $SRC/wop-server $PKG/usr/bin/wop-server
}

View File

@ -1,54 +0,0 @@
--- Makefile.orig 2007-04-23 18:27:32 +0000
+++ Makefile 2007-04-23 18:27:50 +0000
@@ -3,22 +3,22 @@
sinclude Makefile.local
all:
- +cd sdlwidgets; make
- +cd src; make
+ +cd sdlwidgets; $(MAKE)
+ +cd src; $(MAKE)
runc:
- +cd src; make runc
+ +cd src; $(MAKE) runc
runs:
- +cd src; make runs
+ +cd src; $(MAKE) runs
doc:
- cd src; make doc
+ cd src; $(MAKE) doc
clean:
- cd sdlwidgets; make clean
- cd src; make clean
+ cd sdlwidgets; $(MAKE) clean
+ cd src; $(MAKE) clean
cd doc; rm -rf html
unison:
- cd src; make unison
+ cd src; $(MAKE) unison
gunison:
- cd src; make gunison
+ cd src; $(MAKE) gunison
snapshot-src:
ln -s . wop; \
tar cjvf wop-`date +%F`.tar.bz2 \
--- src/Makefile.orig 2006-02-13 10:14:01.000000000 +0100
+++ src/Makefile 2007-04-27 18:36:22.000000000 +0200
@@ -18,7 +18,7 @@
-DUSE_SDL -DNEW=new\(std::nothrow\) \
-I../sdlwidgets \
$(shell sdl-config --cflags) # -g
-LDFLAGS = -L../sdlwidgets -lsdlwidgets -lz \
+LIBS = -L../sdlwidgets -lsdlwidgets -lz \
-lm -lSDL_net -lSDL_mixer -lSDL_ttf -lSDL_image \
$(shell sdl-config --libs) # -g
@@ -56,7 +56,7 @@
$(TARGET): $(OBJECT_FILES) Makefile ../sdlwidgets/libsdlwidgets.a
-mkdir ../bin
- $(CXX) $(OBJECT_FILES) -o $(TARGET) $(LDFLAGS)
+ $(CXX) $(LDFLAGS) $(OBJECT_FILES) -o $(TARGET) $(LIBS)
%.o: %.cpp Makefile
$(CXX) $(CXXFLAGS) -c $< -o $@

View File

@ -1,3 +0,0 @@
#!/bin/sh
wop m=client c=$HOME/.woprc d=/usr/share/wop v=fullscreen

View File

@ -1,4 +0,0 @@
#!/bin/sh
GAMEMODE=deathmatch
wop m=server q=yes gm=deathmatch d=/usr/share/wop