FreeBSD Bugzilla – Attachment 19142 Details for
Bug 34119
new port: games/toppler
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 4.72 KB, created by
Dominic Mitchell
on 2002-01-21 15:10:02 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Dominic Mitchell
Created:
2002-01-21 15:10:02 UTC
Size:
4.72 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># toppler ># toppler/Makefile ># toppler/distinfo ># toppler/pkg-descr ># toppler/pkg-comment ># toppler/pkg-plist ># toppler/files ># toppler/files/patch-configure ># toppler/files/patch-menu.cc ># >echo c - toppler >mkdir -p toppler > /dev/null 2>&1 >echo x - toppler/Makefile >sed 's/^X//' >toppler/Makefile << 'END-of-toppler/Makefile' >X# New ports collection makefile for: toppler >X# Date created: 18 Jan 2002 >X# Whom: Dom Mitchell <dom@happygiraffe.net> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= toppler >XPORTVERSION= 0.71 >XCATEGORIES= games >XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} >XMASTER_SITE_SUBDIR= toppler >X >XMAINTAINER= dom@happygiraffe.net >X >XLIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12 >X >XSDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config >X >XUSE_GMAKE= yes >XGNU_CONFIGURE= yes >XCONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" >X >XSCOREDIR?= /var/games/${PORTNAME} >XSCOREFILE?= ${PORTNAME}.hscr >X >Xpre-patch: >X @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure >X @find ${WRKSRC} \( -name "*.[ch]" -or -name "*.cc" \) | \ >X xargs ${PERL} -pi -e 's|"SDL/SDL|"SDL|g ; s|<SDL/SDL|<SDL|g' >X >Xpost-patch: >X @${PERL} -pi -e 's|%SCOREDIR%|${SCOREDIR}|g;' \ >X -e 's|%SCOREFILE%|${SCOREFILE}|g' ${WRKSRC}/menu.cc >X >Xpre-install: >X ${MKDIR} ${SCOREDIR} >X >Xpost-install: >X ${CHOWN} root:games ${PREFIX}/bin/${PORTNAME} >X ${CHMOD} g+s ${PREFIX}/bin/${PORTNAME} >X ${TOUCH} ${SCOREDIR}/${SCOREFILE} >X ${CHMOD} 664 ${SCOREDIR}/${SCOREFILE} >X ${CHOWN} root:games ${SCOREDIR}/${SCOREFILE} >X >X.include <bsd.port.mk> >END-of-toppler/Makefile >echo x - toppler/distinfo >sed 's/^X//' >toppler/distinfo << 'END-of-toppler/distinfo' >XMD5 (toppler-0.71.tar.gz) = cdaa3dd91cfa2938ffa3979ed03f7f4f >END-of-toppler/distinfo >echo x - toppler/pkg-descr >sed 's/^X//' >toppler/pkg-descr << 'END-of-toppler/pkg-descr' >XThe target of the game is to reach the target door of each of the 8 >Xtowers in currently 2 missions with this little green animal. This >Xdoor is usually at the very top of the tower. >X >XBut finding the way by using elevators and walking trough a maze of >Xdoors and platforms is not the only problem you have to solve. There >Xis a bunch of other creatures living on the tower that will hinder >Xyou to reach your target by pushing you over the edge of the >Xplatforms. >X >XThe only weapon of defence you have is to throw a little snowball. But >Xmost of the other creatures just don't care about this. So you must >Xavoid them. >X >XWWW: http://toppler.sf.net/ >END-of-toppler/pkg-descr >echo x - toppler/pkg-comment >sed 's/^X//' >toppler/pkg-comment << 'END-of-toppler/pkg-comment' >XA game where you have to climb the tower and avoid the monsters >END-of-toppler/pkg-comment >echo x - toppler/pkg-plist >sed 's/^X//' >toppler/pkg-plist << 'END-of-toppler/pkg-plist' >Xbin/toppler >Xshare/toppler/boing.wav >Xshare/toppler/bubbles.wav >Xshare/toppler/hit.wav >Xshare/toppler/honk.wav >Xshare/toppler/layer1.tga >Xshare/toppler/layer2.tga >Xshare/toppler/layer3.tga >Xshare/toppler/nebulous.dat >Xshare/toppler/splash.wav >Xshare/toppler/swosh.wav >Xshare/toppler/tap.wav >Xshare/toppler/tick.wav >Xshare/toppler/water.wav >X@dirrm share/toppler >END-of-toppler/pkg-plist >echo c - toppler/files >mkdir -p toppler/files > /dev/null 2>&1 >echo x - toppler/files/patch-configure >sed 's/^X//' >toppler/files/patch-configure << 'END-of-toppler/files/patch-configure' >X--- configure.orig Sat Jan 19 09:55:17 2002 >X+++ configure Sat Jan 19 09:54:37 2002 >X@@ -1167,7 +1167,7 @@ >X rm -f conf.sdltest >X >X CPPFLAGS="$CPPFLAGS $SDL_CFLAGS" >X-LIS="$LIBS $SDL_LIBS" >X+LIBS="$LIBS $SDL_LIBS" >X >X echo $ac_n "checking for main in -lSDL_mixer""... $ac_c" 1>&6 >X echo "configure:1174: checking for main in -lSDL_mixer" >&5 >END-of-toppler/files/patch-configure >echo x - toppler/files/patch-menu.cc >sed 's/^X//' >toppler/files/patch-menu.cc << 'END-of-toppler/files/patch-menu.cc' >X--- menu.cc.orig Sat Jan 19 11:08:41 2002 >X+++ menu.cc Sat Jan 19 11:11:09 2002 >X@@ -10,6 +10,9 @@ >X >X #include <stdlib.h> >X >X+#define SCOREDIR "%SCOREDIR%" >X+#define SCOREFILE "%SCOREFILE%" >X+ >X static unsigned short menupicture, titledata; >X static unsigned char currentmission = 0; >X >X@@ -175,7 +178,7 @@ >X static void getscores() { >X char n[300]; >X >X- sprintf(n, "%s/nebulous.hsc", getenv("HOME")); >X+ sprintf(n, "%s/%s", SCOREDIR, SCOREFILE); >X FILE *f = fopen(n, "rb"); >X >X if (f) { >X@@ -195,7 +198,7 @@ >X static void savescores() { >X char n[300]; >X >X- sprintf(n, "%s/nebulous.hsc", getenv("HOME")); >X+ sprintf(n, "%s/%s", SCOREDIR, SCOREFILE); >X >X FILE *f = fopen(n, "r+b"); >X >END-of-toppler/files/patch-menu.cc >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 34119
: 19142