Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 2004 18:57:53 +0100 (CET)
From:      Jean-Yves Lefort <jylefort@brutele.be>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61742: New port: games/trophy, a single player racing game
Message-ID:  <20040122175753.8EF4F22E1B@jsite.lefort.net>
Resent-Message-ID: <200401221800.i0MI0ULN002639@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61742
>Category:       ports
>Synopsis:       New port: games/trophy, a single player racing game
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 22 10:00:30 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Yves Lefort
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Tue Dec 2 09:53:57 CET 2003 jylefort@jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386
	
>Description:
This port requires the old clanlib API, and so depends on ports/61738.
	
>How-To-Repeat:
	
>Fix:
# 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:
#
#	trophy
#	trophy/pkg-plist
#	trophy/pkg-descr
#	trophy/distinfo
#	trophy/Makefile
#	trophy/files
#	trophy/files/patch-trophy::Makefile
#
echo c - trophy
mkdir -p trophy > /dev/null 2>&1
echo x - trophy/pkg-plist
sed 's/^X//' >trophy/pkg-plist << 'END-of-trophy/pkg-plist'
Xbin/trophy
Xshare/trophy/resources.scr
Xshare/trophy/resources/cars/dust.tga
Xshare/trophy/resources/cars/flash2/surface.tga
Xshare/trophy/resources/cars/flash2/surface3d.tga
Xshare/trophy/resources/cars/jeep/surface.tga
Xshare/trophy/resources/cars/jeep/surface3d.tga
Xshare/trophy/resources/cars/vw/surface.tga
Xshare/trophy/resources/cars/vw/surface3d.tga
Xshare/trophy/resources/cars/z3/surface.tga
Xshare/trophy/resources/cars/z3/surface3d.tga
Xshare/trophy/resources/fonts/lcd_13_green.tga
Xshare/trophy/resources/fonts/normal_11_white.tga
Xshare/trophy/resources/fonts/normal_14_white.tga
Xshare/trophy/resources/fonts/normal_22_gray.tga
Xshare/trophy/resources/fonts/normal_22_white.tga
Xshare/trophy/resources/fonts/normal_8_white.tga
Xshare/trophy/resources/goody/bullets.tga
Xshare/trophy/resources/goody/fogbomb.tga
Xshare/trophy/resources/goody/life.tga
Xshare/trophy/resources/goody/money.tga
Xshare/trophy/resources/goody/turbo.tga
Xshare/trophy/resources/gui/arrow_b.tga
Xshare/trophy/resources/gui/arrow_l.tga
Xshare/trophy/resources/gui/arrow_r.tga
Xshare/trophy/resources/gui/arrow_t.tga
Xshare/trophy/resources/gui/border1.tga
Xshare/trophy/resources/gui/border2.tga
Xshare/trophy/resources/gui/border3.tga
Xshare/trophy/resources/gui/border4.tga
Xshare/trophy/resources/gui/button.tga
Xshare/trophy/resources/gui/edge1.tga
Xshare/trophy/resources/gui/edge2.tga
Xshare/trophy/resources/gui/edge3.tga
Xshare/trophy/resources/gui/edge4.tga
Xshare/trophy/resources/gui/loading.tga
Xshare/trophy/resources/gui/progressbar.tga
Xshare/trophy/resources/menu/bar.tga
Xshare/trophy/resources/menu/bg.tga
Xshare/trophy/resources/menu/cursorani.tga
Xshare/trophy/resources/misc/carfire.tga
Xshare/trophy/resources/misc/caution.tga
Xshare/trophy/resources/misc/checkflag.tga
Xshare/trophy/resources/misc/cross.tga
Xshare/trophy/resources/misc/dust.tga
Xshare/trophy/resources/misc/fog.tga
Xshare/trophy/resources/misc/gunfire.tga
Xshare/trophy/resources/misc/hitpoint.tga
Xshare/trophy/resources/misc/info.tga
Xshare/trophy/resources/misc/light.tga
Xshare/trophy/resources/misc/verticalbar.tga
Xshare/trophy/resources/panel/button.tga
Xshare/trophy/resources/panel/death.tga
Xshare/trophy/resources/panel/infoview.tga
Xshare/trophy/resources/panel/label.tga
Xshare/trophy/resources/panel/life.tga
Xshare/trophy/resources/panel/speed.tga
Xshare/trophy/resources/panel/turbo.tga
Xshare/trophy/resources/panel/turbolabel.tga
Xshare/trophy/resources/sounds/background01.wav
Xshare/trophy/resources/sounds/carhorn.wav
Xshare/trophy/resources/sounds/crash.wav
Xshare/trophy/resources/sounds/dog.wav
Xshare/trophy/resources/sounds/engine.wav
Xshare/trophy/resources/sounds/fire.wav
Xshare/trophy/resources/sounds/fogbomb.wav
Xshare/trophy/resources/sounds/goody.wav
Xshare/trophy/resources/sounds/goody_bullets.wav
Xshare/trophy/resources/sounds/goody_fogbomb.wav
Xshare/trophy/resources/sounds/goody_life.wav
Xshare/trophy/resources/sounds/goody_money.wav
Xshare/trophy/resources/sounds/goody_turbo.wav
Xshare/trophy/resources/sounds/light.wav
Xshare/trophy/resources/sounds/menu.wav
Xshare/trophy/resources/sounds/selector.wav
Xshare/trophy/resources/sounds/shoot.wav
Xshare/trophy/resources/sounds/shot.wav
Xshare/trophy/resources/sounds/slide.wav
Xshare/trophy/resources/tracks/Downtown/bridge.tga
Xshare/trophy/resources/tracks/Downtown/config.tck
Xshare/trophy/resources/tracks/Downtown/fmap.tga
Xshare/trophy/resources/tracks/Downtown/thumb.tga
Xshare/trophy/resources/tracks/Downtown/vmap.tga
Xshare/trophy/resources/tracks/Loops/bridge.tga
Xshare/trophy/resources/tracks/Loops/config.tck
Xshare/trophy/resources/tracks/Loops/fmap.tga
Xshare/trophy/resources/tracks/Loops/thumb.tga
Xshare/trophy/resources/tracks/Loops/vmap.tga
Xshare/trophy/resources/tracks/Moon/bridge.tga
Xshare/trophy/resources/tracks/Moon/config.tck
Xshare/trophy/resources/tracks/Moon/fmap.tga
Xshare/trophy/resources/tracks/Moon/thumb.tga
Xshare/trophy/resources/tracks/Moon/vmap.tga
Xshare/trophy/resources/tracks/Rally/config.tck
Xshare/trophy/resources/tracks/Rally/fmap.tga
Xshare/trophy/resources/tracks/Rally/thumb.tga
Xshare/trophy/resources/tracks/Rally/vmap.tga
Xshare/trophy/resources/tracks/Snake/bridge.tga
Xshare/trophy/resources/tracks/Snake/config.tck
Xshare/trophy/resources/tracks/Snake/fmap.tga
Xshare/trophy/resources/tracks/Snake/thumb.tga
Xshare/trophy/resources/tracks/Snake/vmap.tga
Xshare/trophy/resources/tracks/Zigzag/bridge.tga
Xshare/trophy/resources/tracks/Zigzag/config.tck
Xshare/trophy/resources/tracks/Zigzag/fmap.tga
Xshare/trophy/resources/tracks/Zigzag/thumb.tga
Xshare/trophy/resources/tracks/Zigzag/vmap.tga
Xshare/trophy/resources/tracks/Zurich/config.tck
Xshare/trophy/resources/tracks/Zurich/fmap.tga
Xshare/trophy/resources/tracks/Zurich/thumb.tga
Xshare/trophy/resources/tracks/Zurich/vmap.tga
X@dirrm share/trophy/resources/cars/flash2
X@dirrm share/trophy/resources/cars/jeep
X@dirrm share/trophy/resources/cars/vw
X@dirrm share/trophy/resources/cars/z3
X@dirrm share/trophy/resources/cars
X@dirrm share/trophy/resources/fonts
X@dirrm share/trophy/resources/goody
X@dirrm share/trophy/resources/gui
X@dirrm share/trophy/resources/menu
X@dirrm share/trophy/resources/misc
X@dirrm share/trophy/resources/panel
X@dirrm share/trophy/resources/sounds
X@dirrm share/trophy/resources/tracks/Downtown
X@dirrm share/trophy/resources/tracks/Loops
X@dirrm share/trophy/resources/tracks/Moon
X@dirrm share/trophy/resources/tracks/Rally
X@dirrm share/trophy/resources/tracks/Snake
X@dirrm share/trophy/resources/tracks/Zigzag
X@dirrm share/trophy/resources/tracks/Zurich
X@dirrm share/trophy/resources/tracks
X@dirrm share/trophy/resources
X@dirrm share/trophy
X%%PORTDOCS%%share/doc/trophy/AUTHORS
X%%PORTDOCS%%share/doc/trophy/ChangeLog
X%%PORTDOCS%%share/doc/trophy/ChangeLog.old
X%%PORTDOCS%%share/doc/trophy/README
X%%PORTDOCS%%share/doc/trophy/TODO
X%%PORTDOCS%%@dirrm share/doc/trophy
END-of-trophy/pkg-plist
echo x - trophy/pkg-descr
sed 's/^X//' >trophy/pkg-descr << 'END-of-trophy/pkg-descr'
XTrophy is a single-player racing game. Even though the goal is
Xbasically to finish the laps as the first, Trophy is an action game
Xwhich offers much more than just a race. Lots of extras enable
X"unusual" features for races such as shooting, putting mines and many
Xothers.
X
XWWW: http://trophy.sourceforge.net/
X
X- Jean-Yves Lefort
Xjylefort@brutele.be
END-of-trophy/pkg-descr
echo x - trophy/distinfo
sed 's/^X//' >trophy/distinfo << 'END-of-trophy/distinfo'
XMD5 (trophy-1.1.3-src.tar.gz) = 45a8c6eec9ab5d110660a32416d1ec8f
END-of-trophy/distinfo
echo x - trophy/Makefile
sed 's/^X//' >trophy/Makefile << 'END-of-trophy/Makefile'
X# New ports collection makefile for:	trophy
X# Date created:			22 Jan 2004
X# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		trophy
XPORTVERSION=		1.1.3
XCATEGORIES=		games
XMASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=		${PORTNAME}-${PORTVERSION}-src
X
XMAINTAINER=		jylefort@brutele.be
XCOMMENT=		A single player racing game
X
XLIB_DEPENDS=		clanCore.2:${PORTSDIR}/devel/clanlib
X
XUSE_X_PREFIX=		yes
XUSE_GMAKE=		yes
XBUILD_WRKSRC=		${WRKSRC}/trophy
X
XMAKE_ENV=		PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
X			PTHREAD_LIBS=${PTHREAD_LIBS}
X
Xpost-extract:
X	@${FIND} ${BUILD_WRKSRC}/resources -name .cvsignore -exec ${RM} -f {} \;
X
Xdo-install:
X	${MKDIR} ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/trophy ${PREFIX}/bin
X	${MKDIR} ${DATADIR}
X	${INSTALL_DATA} ${BUILD_WRKSRC}/resources.scr ${DATADIR}
X	${CP} -R ${BUILD_WRKSRC}/resources ${DATADIR}
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} \
X		${WRKSRC}/AUTHORS \
X		${WRKSRC}/ChangeLog \
X		${WRKSRC}/ChangeLog.old \
X		${WRKSRC}/README \
X		${WRKSRC}/TODO \
X		${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-trophy/Makefile
echo c - trophy/files
mkdir -p trophy/files > /dev/null 2>&1
echo x - trophy/files/patch-trophy::Makefile
sed 's/^X//' >trophy/files/patch-trophy::Makefile << 'END-of-trophy/files/patch-trophy::Makefile'
X--- trophy/Makefile.orig	Thu Jan 22 16:19:22 2004
X+++ trophy/Makefile	Thu Jan 22 16:46:00 2004
X@@ -1,6 +1,6 @@
X # Generated automatically from Makefile.in by configure.
X 
X-prefix =	/usr/local
X+prefix =	${PREFIX}
X exec_prefix =	${prefix}
X datadir =	${prefix}/share
X bindir =	${exec_prefix}/bin
X@@ -37,7 +37,8 @@
X 		catrophy.o \
X 		cawidget.o
X #DATAFILES =     resources.dat
X-EXTERN_LIBS =   -lclanCore -lclanSound -lclanDisplay -lclanApp -lHermes
X+EXTERN_LIBS =   -L$(LOCALBASE)/lib -lclanCore -lclanSound -lclanDisplay -lclanApp -lHermes $(PTHREAD_LIBS)
X+INCLUDES =      -I$(LOCALBASE)/include
X 
X all: trophy $(DATAFILES)
X 
X@@ -54,7 +55,7 @@
X 	$(CXX) $(EXTERN_LIBS) -o trophy $(OBJF)
X 
X %.o : %.cpp
X-	$(CXX) -c $(CPPFLAGS) $(CXXFLAGS) -O3 -Wall -DPKGDATADIR=\"$(datadir)/trophy\" $< -o $@
X+	$(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(PTHREAD_CFLAGS) $(INCLUDES) -Wall -DPKGDATADIR=\"$(datadir)/trophy\" $< -o $@
X 
X %.dat : %.scr trophy
X 	./trophy -datafile $< $@
END-of-trophy/files/patch-trophy::Makefile
exit
	
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040122175753.8EF4F22E1B>