Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2005 16:27:48 -0300
From:      "Alejandro Pulver" <alejandro@varnet.biz>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/83162: New port: games/abe - Abe's Amazing Adventure
Message-ID:  <1120850868.0@phobos.mars.bsd>
Resent-Message-ID: <200507081930.j68JUHR1031309@freefall.freebsd.org>

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

>Number:         83162
>Category:       ports
>Synopsis:       New port: games/abe - Abe's Amazing Adventure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 08 19:30:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alejandro Pulver
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:


System: FreeBSD 5.4-RELEASE #0: Sat May 21 12:14:47 ART 2005
    root@phobos.mars.bsd:/usr/src/sys/i386/compile/ATHLON-ALE



>Description:





>How-To-Repeat:





>Fix:


--- abe.shar begins here ---
# 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:
#
#	abe
#	abe/Makefile
#	abe/pkg-plist
#	abe/distinfo
#	abe/pkg-descr
#
echo c - abe
mkdir -p abe > /dev/null 2>&1
echo x - abe/Makefile
sed 's/^X//' >abe/Makefile << 'END-of-abe/Makefile'
X# New ports collection makefile for:	games/abe
X# Date created:			8 Aug 2005
X# Whom:				Alejandro Pulver <alejandro@varnet.biz>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	abe
XPORTVERSION=	1.1
XCATEGORIES=	games
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	alejandro@varnet.biz
XCOMMENT=	Abe's Amazing Adventure
X
XUSE_GMAKE=	yes
XUSE_SDL=	mixer sdl
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--with-data-dir=${DATADIR}
X
XMAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
X		AUTOHEADER="${TRUE}"
X
XOPTIONS=	GOD_MODE "Enable God Mode (toggle with 'g')" off \
X		OPTIMIZED_CFLAGS "Enable compilation optimizations" on
X
Xpost-install:
X	@${MKDIR} ${DATADIR}
X.for d in images maps sounds
X	@${CP} -R ${WRKSRC}/${d} ${DATADIR}
X.endfor
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_GOD_MODE) || !defined(WITH_OPTIMIZED_CFLAGS)
XUSE_REINPLACE=	yes
X
Xpost-patch:
X.	if defined(WITH_GOD_MODE)
X	@${REINPLACE_CMD} -e 's|\(#define GOD_MODE\) 0|\1 1|' \
X			${WRKSRC}/src/Game.h
X.	endif
X.	if !defined(WITH_OPTIMIZED_CFLAGS)
X	@${REINPLACE_CMD} -e 's|-O2||g ; \
X			s|-fomit-frame-pointer||g ; \
X			s|-ffast-math||g ; \
X			s|-fexpensive-optimizations||g' \
X				${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
X.	endif
X.endif
X
X.include <bsd.port.post.mk>
END-of-abe/Makefile
echo x - abe/pkg-plist
sed 's/^X//' >abe/pkg-plist << 'END-of-abe/pkg-plist'
Xbin/abe
X%%DATADIR%%/images/images.tar
X%%DATADIR%%/maps/default.dat
X%%DATADIR%%/maps/intro.dat
X%%DATADIR%%/sounds/bubble.wav
X%%DATADIR%%/sounds/closed.wav
X%%DATADIR%%/sounds/death.wav
X%%DATADIR%%/sounds/door.wav
X%%DATADIR%%/sounds/game.ogg
X%%DATADIR%%/sounds/gem.wav
X%%DATADIR%%/sounds/intro.ogg
X%%DATADIR%%/sounds/jump.wav
X%%DATADIR%%/sounds/menu.wav
X%%DATADIR%%/sounds/object.wav
X%%DATADIR%%/sounds/platform.wav
X%%DATADIR%%/sounds/pop.wav
X%%DATADIR%%/sounds/spring.wav
X@dirrm %%DATADIR%%/sounds
X@dirrm %%DATADIR%%/maps
X@dirrm %%DATADIR%%/images
X@dirrm %%DATADIR%%
END-of-abe/pkg-plist
echo x - abe/distinfo
sed 's/^X//' >abe/distinfo << 'END-of-abe/distinfo'
XMD5 (abe-1.1.tar.gz) = 5537920e1746708e1a631d84d3500f5c
XSIZE (abe-1.1.tar.gz) = 3321075
END-of-abe/distinfo
echo x - abe/pkg-descr
sed 's/^X//' >abe/pkg-descr << 'END-of-abe/pkg-descr'
XA scrolling, platform-jumping, key-collecting, ancient pyramid exploring game,
Xvaguely in the style of similar games for the Commodore+4. The game is intended
Xto show young people (I'm writing it for my son's birthday) all the cool games
Xthey missed.
X
XWWW: http://abe.sourceforge.net/
X
X- Alejandro Pulver
Xalejandro@varnet.biz
END-of-abe/pkg-descr
exit

--- abe.shar ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



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