ports/95389: [NEW PORT] games/chanta: Free 2D jump and run game
Jose Alonso Cardenas Marquez
acardenas at bsd.org.pe
Thu Apr 6 03:00:33 UTC 2006
>Number: 95389
>Category: ports
>Synopsis: [NEW PORT] games/chanta: Free 2D jump and run game
>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 Apr 06 03:00:30 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Jose Alonso Cardenas Marquez
>Release: FreeBSD 6.1-PRERELEASE i386
>Organization:
BSDPeru (http://www.bsd.org.pe)
>Environment:
FreeBSD HellFire.BSD.org.pe 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Tue Mar 21 23:44:35 PET 2006
>Description:
Chanta Claus is a free jump and run game, where you have to collect all money
for each level.
WWW: http://www.losersjuegos.com.ar
>How-To-Repeat:
>Fix:
--- chanta-0.15.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:
#
# chanta
# chanta/pkg-descr
# chanta/Makefile
# chanta/pkg-plist
# chanta/distinfo
# chanta/files
# chanta/files/patch-configure
#
echo c - chanta
mkdir -p chanta > /dev/null 2>&1
echo x - chanta/pkg-descr
sed 's/^X//' >chanta/pkg-descr << 'END-of-chanta/pkg-descr'
XChanta Claus is a free jump and run game, where you have to collect all money
Xfor each level.
X
XWWW: http://www.losersjuegos.com.ar
END-of-chanta/pkg-descr
echo x - chanta/Makefile
sed 's/^X//' >chanta/Makefile << 'END-of-chanta/Makefile'
X# New ports collection makefile for: chanta
X# Date created: 2006-04-01
X# Whom: Charlie & <root at HellFire.BSD.org.pe>
X#
X# $FreeBSD$
X#
X
XPORTNAME= chanta
XPORTVERSION= 0.15
XCATEGORIES= games
XMASTER_SITES= http://www.losersjuegos.com.ar/juegos/chanta/descargas/
X
XMAINTAINER= acardenas at bsd.org.pe
XCOMMENT= Free 2D jump and run game
X
XUSE_X_PREFIX= yes
XUSE_SDL= sdl image mixer
XUSE_GMAKE= yes
XGNU_CONFIGURE= yes
XCPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include
XLDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD}
XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
XCONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
X
XCHANTADIRS= data ima
X
Xpost-extract:
X @${FIND} -E ${WRKSRC}/src/ -type f -iregex ".*\.(cpp|h)" \
X -print0 | ${XARGS} -0 ${REINPLACE_CMD} -e 's/<SDL/<SDL11/'
X
Xpost-configure:
X @${REINPLACE_CMD} -i "" -e 's|-lSDL |`sdl11-config --libs` |g' ${WRKSRC}/src/${MAKEFILE}
X @${REINPLACE_CMD} -i "" -e 's|^CXXFLAGS|^CXXFLAGS?|g' ${WRKSRC}/src/${MAKEFILE}
X
Xdo-install:
X ${MKDIR} ${DATADIR}
X @cd ${WRKSRC}/src && \
X ${INSTALL_PROGRAM} chanta ${PREFIX}/bin && \
X ${FIND} ${CHANTADIRS} -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \
X ${FIND} -E ${CHANTADIRS} -type f -iregex ".*\.(png|dat)" \
X -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X @cd ${WRKSRC} && \
X ${INSTALL_DATA} AUTHORS ChangeLog README ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-chanta/Makefile
echo x - chanta/pkg-plist
sed 's/^X//' >chanta/pkg-plist << 'END-of-chanta/pkg-plist'
Xbin/chanta
X%%DATADIR%%/data/niveles.dat
X%%DATADIR%%/ima/chanta.png
X%%DATADIR%%/ima/chica.png
X%%DATADIR%%/ima/enemigo1.png
X%%DATADIR%%/ima/item.png
X%%DATADIR%%/ima/logo.png
X%%DATADIR%%/ima/menu.png
X%%DATADIR%%/ima/tiles.png
X%%DATADIR%%/ima/titulo_claus.png
X%%DATADIR%%/ima/titulo_chanta.png
X%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
X%%PORTDOCS%%%%DOCSDIR%%/README
X at dirrm %%DATADIR%%/data
X at dirrm %%DATADIR%%/ima
X at dirrm %%DATADIR%%
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-chanta/pkg-plist
echo x - chanta/distinfo
sed 's/^X//' >chanta/distinfo << 'END-of-chanta/distinfo'
XMD5 (chanta-0.15.tar.gz) = 27d482ff824d9206d1607529a69a6f9c
XSHA256 (chanta-0.15.tar.gz) = a5d4f5a853339b00087363905998c536f78ad524b8afa200202a7273c1498cba
XSIZE (chanta-0.15.tar.gz) = 300023
END-of-chanta/distinfo
echo c - chanta/files
mkdir -p chanta/files > /dev/null 2>&1
echo x - chanta/files/patch-configure
sed 's/^X//' >chanta/files/patch-configure << 'END-of-chanta/files/patch-configure'
X--- configure Mon Jul 18 16:01:00 2005
X+++ configure Wed Apr 5 21:21:06 2006
X@@ -3357,7 +3357,7 @@
X echo $ECHO_N "(cached) $ECHO_C" >&6
X else
X ac_check_lib_save_LIBS=$LIBS
X-LIBS="-lSDL $LIBS"
X+LIBS="`sdl11-config --libs` $LIBS"
X cat >conftest.$ac_ext <<_ACEOF
X /* confdefs.h. */
X _ACEOF
X@@ -3434,7 +3434,7 @@
X echo $ECHO_N "(cached) $ECHO_C" >&6
X else
X ac_check_lib_save_LIBS=$LIBS
X-LIBS="-lSDL_mixer $LIBS"
X+LIBS="-lSDL_mixer `sdl11-config --libs` $LIBS"
X cat >conftest.$ac_ext <<_ACEOF
X /* confdefs.h. */
X _ACEOF
X@@ -3511,7 +3511,7 @@
X echo $ECHO_N "(cached) $ECHO_C" >&6
X else
X ac_check_lib_save_LIBS=$LIBS
X-LIBS="-lSDL_image $LIBS"
X+LIBS="-lSDL_image `sdl11-config --libs` $LIBS"
X cat >conftest.$ac_ext <<_ACEOF
X /* confdefs.h. */
X _ACEOF
END-of-chanta/files/patch-configure
exit
--- chanta-0.15.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list