Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 2004 18:59:15 +0100 (CET)
From:      Jean-Yves Lefort <jylefort@brutele.be>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:    ports/61743: New port: games/super_methane_brothers, a platform game
Message-ID:  <20040122175915.E280122E1B@jsite.lefort.net>
Resent-Message-ID: <200401221800.i0MI0WF7002662@freefall.freebsd.org>

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

>Number:         61743
>Category:       ports
>Synopsis:       New port: games/super_methane_brothers, a platform 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:32 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:
#
#	super_methane_brothers
#	super_methane_brothers/files
#	super_methane_brothers/files/patch-source::linux::makefile
#	super_methane_brothers/distinfo
#	super_methane_brothers/pkg-descr
#	super_methane_brothers/pkg-plist
#	super_methane_brothers/Makefile
#
echo c - super_methane_brothers
mkdir -p super_methane_brothers > /dev/null 2>&1
echo c - super_methane_brothers/files
mkdir -p super_methane_brothers/files > /dev/null 2>&1
echo x - super_methane_brothers/files/patch-source::linux::makefile
sed 's/^X//' >super_methane_brothers/files/patch-source::linux::makefile << 'END-of-super_methane_brothers/files/patch-source::linux::makefile'
X--- source/linux/makefile.orig	Thu Jan 22 17:22:08 2004
X+++ source/linux/makefile	Thu Jan 22 17:40:13 2004
X@@ -1,7 +1,7 @@
X 
X # Comment out the two lines shown below to disable sound
X-MIKMOD_LIBS = `libmikmod-config --cflags` `libmikmod-config --libs`
X-METHANE_FLAGS = -DMETHANE_MIKMOD
X+MIKMOD_LIBS = `libmikmod-config --libs`
X+METHANE_FLAGS = -DMETHANE_MIKMOD -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
X 
X all: message methane
X 
X@@ -22,7 +22,7 @@
X 	MainSource/misc.o MainSource/objlist.o MainSource/player.o MainSource/power.o MainSource/target.o \
X 	MainSource/suck.o MainSource/weapon.o MainSource/sound.o MainData/snddata.o MainData/gfxdata.o MainData/gfxdata2.o \
X 	MainData/gfxdata3.o MainData/mapdata.o MainLinux/font32.o MainLinux/doc.o MainLinux/main.o MainMikMod/audiodrv.o \
X-	-o methane -lclanCore -lclanApp -lclanDisplay ${MIKMOD_LIBS}
X+	-o methane -L${LOCALBASE}/lib -lclanCore -lclanApp -lclanDisplay ${MIKMOD_LIBS} ${PTHREAD_LIBS}
X 
X clean:
X 	@rm -Rf MainSource
X@@ -38,23 +38,23 @@
X MainSource/%.o : ../%.cpp
X 	@echo "  Compiling $<..."
X 	@if [ ! -d MainSource ]; then mkdir MainSource; fi
X-	gcc ${CXXFLAGS} ${METHANE_FLAGS} -I ../linux `libmikmod-config --cflags` -c $< -o $@
X+	${CXX} ${CXXFLAGS} ${METHANE_FLAGS} -I ../linux `libmikmod-config --cflags` -c $< -o $@
X 
X # The main data
X MainData/%.o : ../data/%.cpp
X 	@echo "  Compiling $<..."
X 	@if [ ! -d MainData ]; then mkdir MainData; fi
X-	gcc ${CXXFLAGS} ${METHANE_FLAGS} -I ../ `libmikmod-config --cflags` -c $< -o $@
X+	${CXX} ${CXXFLAGS} ${METHANE_FLAGS} -I ../ `libmikmod-config --cflags` -c $< -o $@
X 
X # The linux source code
X MainLinux/%.o : ../linux/%.cpp
X 	@echo "  Compiling $<..."
X 	@if [ ! -d MainLinux ]; then mkdir MainLinux; fi
X-	gcc ${CXXFLAGS} ${METHANE_FLAGS} -I ../ `libmikmod-config --cflags` -c $< -o $@
X+	${CXX} ${CXXFLAGS} ${METHANE_FLAGS} -I ../ `libmikmod-config --cflags` -c $< -o $@
X 
X # The sound driver source code
X MainMikMod/%.o : ../mikmod/%.cpp
X 	@echo "  Compiling $<..."
X 	@if [ ! -d MainMikMod ]; then mkdir MainMikMod; fi
X-	gcc ${CXXFLAGS} ${METHANE_FLAGS} -I ../ `libmikmod-config --cflags` -c $< -o $@
X+	${CXX} ${CXXFLAGS} ${METHANE_FLAGS} -I ../ `libmikmod-config --cflags` -c $< -o $@
X 
END-of-super_methane_brothers/files/patch-source::linux::makefile
echo x - super_methane_brothers/distinfo
sed 's/^X//' >super_methane_brothers/distinfo << 'END-of-super_methane_brothers/distinfo'
XMD5 (methane.tgz) = fac55b79e9beb84fb2c1508b7a6b4964
END-of-super_methane_brothers/distinfo
echo x - super_methane_brothers/pkg-descr
sed 's/^X//' >super_methane_brothers/pkg-descr << 'END-of-super_methane_brothers/pkg-descr'
XPuff and Blow each have a Methane Gas Gun which fires a cloud of
Ximmobilising gas. If this comes into contact with a bad guy he will be
Xabsorbed into the gas and then float around the screen for a limited
Xtime. Bad guys are harmless in this state. Puff and Blow must suck the
Xfloating gas clouds into their guns and blast them out against a
Xvertical surface. Bad guys then turn into bonuses which can be
Xcollected. Be warned! - the gas cloud dissolves with time after which
Xbaddies become active again and extremely annoyed.
X
XWWW: http://www.methane.fsnet.co.uk/
X
X- Jean-Yves Lefort
Xjylefort@brutele.be
END-of-super_methane_brothers/pkg-descr
echo x - super_methane_brothers/pkg-plist
sed 's/^X//' >super_methane_brothers/pkg-plist << 'END-of-super_methane_brothers/pkg-plist'
Xbin/methane
X%%PORTDOCS%%share/doc/super_methane_brothers/authors
X%%PORTDOCS%%share/doc/super_methane_brothers/history
X%%PORTDOCS%%share/doc/super_methane_brothers/html/block.gif
X%%PORTDOCS%%share/doc/super_methane_brothers/html/bug.gif
X%%PORTDOCS%%share/doc/super_methane_brothers/html/cookie.gif
X%%PORTDOCS%%share/doc/super_methane_brothers/html/gamepic.gif
X%%PORTDOCS%%share/doc/super_methane_brothers/html/gen.gif
X%%PORTDOCS%%share/doc/super_methane_brothers/html/info.htm
X%%PORTDOCS%%share/doc/super_methane_brothers/html/mbug.gif
X%%PORTDOCS%%share/doc/super_methane_brothers/html/potion.gif
X%%PORTDOCS%%share/doc/super_methane_brothers/html/puff.gif
X%%PORTDOCS%%share/doc/super_methane_brothers/html/spike.gif
X%%PORTDOCS%%share/doc/super_methane_brothers/html/spring.gif
X%%PORTDOCS%%share/doc/super_methane_brothers/html/sucker.gif
X%%PORTDOCS%%share/doc/super_methane_brothers/html/title.gif
X%%PORTDOCS%%share/doc/super_methane_brothers/html/turbo.gif
X%%PORTDOCS%%share/doc/super_methane_brothers/html/whirly.gif
X%%PORTDOCS%%share/doc/super_methane_brothers/html/zoom.gif
X%%PORTDOCS%%share/doc/super_methane_brothers/readme
X%%PORTDOCS%%share/doc/super_methane_brothers/todo
X%%PORTDOCS%%@dirrm share/doc/super_methane_brothers/html
X%%PORTDOCS%%@dirrm share/doc/super_methane_brothers
END-of-super_methane_brothers/pkg-plist
echo x - super_methane_brothers/Makefile
sed 's/^X//' >super_methane_brothers/Makefile << 'END-of-super_methane_brothers/Makefile'
X# New ports collection makefile for:	Super Methane Brothers
X# Date created:			22 Jan 2004
X# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		super_methane_brothers
XPORTVERSION=		1.4.6
XCATEGORIES=		games
XMASTER_SITES=		http://www.methane.fsnet.co.uk/
XDISTNAME=		methane
XEXTRACT_SUFX=		.tgz
X
XMAINTAINER=		jylefort@brutele.be
XCOMMENT=		A port of the Amiga platform game of the same name
X
XLIB_DEPENDS=		clanCore.2:${PORTSDIR}/devel/clanlib \
X			mikmod:${PORTSDIR}/audio/libmikmod
X
XWRKSRC=			${WRKDIR}/${DISTNAME}-${PORTVERSION}
XBUILD_WRKSRC=		${WRKSRC}/source/linux
XMAKEFILE=		makefile
X
XUSE_X_PREFIX=		yes
XUSE_GMAKE=		yes
X
XMAKE_ENV=		PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
X			PTHREAD_LIBS=${PTHREAD_LIBS}
X
Xdo-install:
X	${MKDIR} ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/methane ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} \
X		${WRKSRC}/authors \
X		${WRKSRC}/history \
X		${WRKSRC}/readme \
X		${WRKSRC}/todo \
X		${DOCSDIR}
X	${MKDIR} ${DOCSDIR}/html
X	${INSTALL_DATA} \
X		${WRKSRC}/docs/block.gif \
X		${WRKSRC}/docs/bug.gif \
X		${WRKSRC}/docs/cookie.gif \
X		${WRKSRC}/docs/gamepic.gif \
X		${WRKSRC}/docs/gen.gif \
X		${WRKSRC}/docs/info.htm \
X		${WRKSRC}/docs/mbug.gif \
X		${WRKSRC}/docs/potion.gif \
X		${WRKSRC}/docs/puff.gif \
X		${WRKSRC}/docs/spike.gif \
X		${WRKSRC}/docs/spring.gif \
X		${WRKSRC}/docs/sucker.gif \
X		${WRKSRC}/docs/title.gif \
X		${WRKSRC}/docs/turbo.gif \
X		${WRKSRC}/docs/whirly.gif \
X		${WRKSRC}/docs/zoom.gif \
X		${DOCSDIR}/html
X.endif
X
X.include <bsd.port.mk>
END-of-super_methane_brothers/Makefile
exit
	
>Release-Note:
>Audit-Trail:
>Unformatted:



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