Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Nov 2012 02:39:40 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ak@FreeBSD.org
Subject:   ports/173457: [NEW PORT] games/edgar: 2D platform game with a persistent world
Message-ID:  <20121108013943.53FF6690@hub.freebsd.org>
Resent-Message-ID: <201211080140.qA81e0bv092146@freefall.freebsd.org>

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

>Number:         173457
>Category:       ports
>Synopsis:       [NEW PORT] games/edgar: 2D platform game with a persistent world
>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:   Thu Nov 08 01:40:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
The Legend of Edgar is a platform game, not unlike those found on the Amiga and
SNES. Edgar must battle his way across the world, solving puzzles and defeating
powerful enemies to achieve his quest.

A 2D platform game with a persistent world.
When Edgar's father fails to return home after venturing out one dark and stormy
night, Edgar fears the worst: he has been captured by the evil sorceror who
lives in a fortress beyond the forbidden swamp.

Donning his armour, Edgar sets off to rescue him, but his quest will not be
easy...

WWW: http://www.parallelrealities.co.uk/p/legend-of-edgar.html
WWW: http://sourceforge.net/projects/legendofedgar/

Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: new)
>How-To-Repeat:

portlint -A
WARN: Makefile: [39]: use ${VARIABLE}, instead of $(VARIABLE).
0 fatal errors and 1 warning found.

WARN: Makefile: [39] because is used
	-e 's|$(DESTDIR)/usr|${LOCALBASE}|' \

port test: clean

Build log

https://redports.org/buildarchive/20121108010606-52632/

>Fix:

--- .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:
#
#	edgar
#	edgar/Makefile
#	edgar/pkg-descr
#	edgar/distinfo
#	edgar/pkg-plist
#
echo c - edgar
mkdir -p edgar > /dev/null 2>&1
echo x - edgar/Makefile
sed 's/^X//' >edgar/Makefile << '19978358c21ebc3df0ae5925306d72ac'
X# Created by	nemysis@gmx.ch
X#
X# $FreeBSD$
X#
X
XPORTNAME=	edgar
XPORTVERSION=	1.04
XCATEGORIES=	games
XMASTER_SITES=	SF/legendof${PORTNAME}/${PORTVERSION}
XDISTNAME=	${PORTNAME}-${DISTVERSION}-1
X
XMAINTAINER=	nemysis@gmx.ch
XCOMMENT=	2D platform game with a persistent world
X
XLICENSE=	GPLv2
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
X
XUSE_GMAKE=	yes
XUSE_SDL=	image mixer sdl ttf
XWITH_ZLIB=	yes
X
XINSTALLS_ICONS=	yes
X
XOPTIONS_DEFINE=	DOCS NLS
X
X.include <bsd.port.options.mk>
X
X.if ${PORT_OPTIONS:MNLS}
XUSE_GETTEXT=	yes
XPLIST_SUB+=	NLS=""
X.else
XPLIST_SUB+=	NLS="@comment "
X.endif
X
Xpost-patch:
X	@${REINPLACE_CMD} \
X	-e 's|$(DESTDIR)/usr|${LOCALBASE}|' \
X	-e 's|/games/|/bin/|' \
X	-e 's|/share/bin/edgar/|/share/edgar/|' \
X		${WRKSRC}/makefile
X	@${REINPLACE_CMD} -e 's|SDL/SDL|${LOCALBASE}/include/SDL/SDL|g' ${WRKSRC}/src/headers.h
X
X.if !${PORT_OPTIONS:MDOCS}
X	@${REINPLACE_CMD} -i '' -e '/DOC_DIR/d' ${WRKSRC}/makefile
X.endif
X
X.if !${PORT_OPTIONS:MNLS}
X	@${REINPLACE_CMD} -i '' -e '/LOCALE_MO =/d' ${WRKSRC}/makefile
X.endif
X	@(cd ${WRKSRC} && ${CP} makefile Makefile)
X
Xdo-build:
X	@(cd ${WRKSRC} && ${GMAKE})
X
Xpost-install:
X	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps
X
X.include <bsd.port.mk>
19978358c21ebc3df0ae5925306d72ac
echo x - edgar/pkg-descr
sed 's/^X//' >edgar/pkg-descr << 'd8885f5a1f1c172edc6b023303235d1a'
XThe Legend of Edgar is a platform game, not unlike those found on the Amiga and
XSNES. Edgar must battle his way across the world, solving puzzles and defeating
Xpowerful enemies to achieve his quest.
X
XA 2D platform game with a persistent world.
XWhen Edgar's father fails to return home after venturing out one dark and stormy
Xnight, Edgar fears the worst: he has been captured by the evil sorceror who
Xlives in a fortress beyond the forbidden swamp.
X
XDonning his armour, Edgar sets off to rescue him, but his quest will not be
Xeasy...
X
XWWW: http://www.parallelrealities.co.uk/p/legend-of-edgar.html
XWWW: http://sourceforge.net/projects/legendofedgar/
d8885f5a1f1c172edc6b023303235d1a
echo x - edgar/distinfo
sed 's/^X//' >edgar/distinfo << '91e094ad50229bbd994eeced4da636cf'
XSHA256 (edgar-1.04-1.tar.gz) = 30f58d2c83c0aa7260bc89726723257a0af08f3ca7328feb40f0812199b71022
XSIZE (edgar-1.04-1.tar.gz) = 26894724
91e094ad50229bbd994eeced4da636cf
echo x - edgar/pkg-plist
sed 's/^X//' >edgar/pkg-plist << 'fab0589c9a5ef1cd697e65314a1804ee'
Xbin/edgar
Xshare/applications/edgar.desktop
X%%PORTDOCS%%%%DOCSDIR%%/alienDevice.gif
X%%PORTDOCS%%%%DOCSDIR%%/bomb.gif
X%%PORTDOCS%%%%DOCSDIR%%/changes
X%%PORTDOCS%%%%DOCSDIR%%/contents.html
X%%PORTDOCS%%%%DOCSDIR%%/credits
X%%PORTDOCS%%%%DOCSDIR%%/edgar.gif
X%%PORTDOCS%%%%DOCSDIR%%/frog.gif
X%%PORTDOCS%%%%DOCSDIR%%/gazer.gif
X%%PORTDOCS%%%%DOCSDIR%%/index.html
X%%PORTDOCS%%%%DOCSDIR%%/license
X%%PORTDOCS%%%%DOCSDIR%%/logo.png
X%%PORTDOCS%%%%DOCSDIR%%/manual.html
X%%PORTDOCS%%%%DOCSDIR%%/porting
X%%PORTDOCS%%%%DOCSDIR%%/purple_jumping_slime.gif
X%%PORTDOCS%%%%DOCSDIR%%/readme
X%%PORTDOCS%%%%DOCSDIR%%/spitting_plant.gif
X%%PORTDOCS%%%%DOCSDIR%%/tortoise.gif
X%%PORTDOCS%%%%DOCSDIR%%/translating
X%%DATADIR%%/edgar.pak
Xshare/icons/hicolor/16x16/apps/edgar.png
Xshare/icons/hicolor/32x32/apps/edgar.png
Xshare/icons/hicolor/48x48/apps/edgar.png
Xshare/icons/hicolor/64x64/apps/edgar.png
X%%NLS%%share/locale/cs/LC_MESSAGES/edgar.mo
X%%NLS%%share/locale/de/LC_MESSAGES/edgar.mo
X%%NLS%%share/locale/el/LC_MESSAGES/edgar.mo
X%%NLS%%share/locale/en_US/LC_MESSAGES/edgar.mo
X%%NLS%%share/locale/es/LC_MESSAGES/edgar.mo
X%%NLS%%share/locale/fr/LC_MESSAGES/edgar.mo
X%%NLS%%share/locale/hi/LC_MESSAGES/edgar.mo
X%%NLS%%share/locale/it/LC_MESSAGES/edgar.mo
X%%NLS%%share/locale/ja/LC_MESSAGES/edgar.mo
X%%NLS%%share/locale/ms/LC_MESSAGES/edgar.mo
X%%NLS%%share/locale/pl/LC_MESSAGES/edgar.mo
X%%NLS%%share/locale/pt/LC_MESSAGES/edgar.mo
X%%NLS%%share/locale/pt_BR/LC_MESSAGES/edgar.mo
X%%NLS%%share/locale/ru/LC_MESSAGES/edgar.mo
X%%NLS%%share/locale/sk/LC_MESSAGES/edgar.mo
X%%NLS%%share/locale/uk/LC_MESSAGES/edgar.mo
X%%NLS%%share/locale/zh_CN/LC_MESSAGES/edgar.mo
Xshare/pixmaps/edgar.png
X%%NLS%%@dirrmtry share/locale/en_US/LC_MESSAGES
X%%NLS%%@dirrmtry share/locale/en_US
X@dirrmtry share/icons/hicolor/64x64/apps
X@dirrmtry share/icons/hicolor/64x64
X@dirrmtry share/icons/hicolor/48x48/apps
X@dirrmtry share/icons/hicolor/48x48
X@dirrmtry share/icons/hicolor/32x32/apps
X@dirrmtry share/icons/hicolor/32x32
X@dirrmtry share/icons/hicolor/16x16/apps
X@dirrmtry share/icons/hicolor/16x16
X@dirrmtry share/icons/hicolor
X@dirrmtry share/icons
X@dirrm %%DATADIR%%
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X@dirrmtry share/applications
fab0589c9a5ef1cd697e65314a1804ee
exit
--- .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?20121108013943.53FF6690>