ports/91935: New port: games/pouetchess 3D and open source chess game

Dmitry Marakasov amdmi3 at mail.ru
Wed Jan 18 02:30:20 UTC 2006


>Number:         91935
>Category:       ports
>Synopsis:       New port: games/pouetchess 3D and open source chess 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:   Wed Jan 18 02:30:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Sun Dec 18 08:07:07 MSK 2005 amdmi3 at hades.panopticon:/usr/obj/usr/src/sys/HADES i386

>Description:
pouetChess is a 3D and open source chess game for Linux with very
few and basic dependencies. Moreover pouetChess has an embedded
Artificial Intelligence so engines such as GNUChess are not even
needed.

WWW: http://pouetchess.sourceforge.net/

>How-To-Repeat:
>Fix:

--- pouetchess-0.1.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:
#
#	pouetchess
#	pouetchess/Makefile
#	pouetchess/distinfo
#	pouetchess/pkg-plist
#	pouetchess/pkg-descr
#
echo c - pouetchess
mkdir -p pouetchess > /dev/null 2>&1
echo x - pouetchess/Makefile
sed 's/^X//' >pouetchess/Makefile << 'END-of-pouetchess/Makefile'
X# New ports collection makefile for:	pouetChess
X# Date created:				18 Jan 2006
X# Whom:					Dmitry Marakasov <amdmi3 at mail.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pouetchess
XPORTVERSION=	0.1
XCATEGORIES=	games
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	pouetChess_${PORTVERSION}
X
XMAINTAINER=	amdmi3 at mail.ru
XCOMMENT=	3D and open source chess game
X
XUSE_X_PREFIX=	yes
XUSE_SDL=	sdl
XUSE_GL=		yes
XUSE_GMAKE=	yes
XUSE_REINPLACE=	yes
X
XWRKSRC=		${WRKDIR}/pouetChess
X
XMAKE_ENV=	CXX="${CXX}"
X
Xpost-extract:
X	@${FIND} ${WRKSRC}/src -name "*.cpp" -o -name "*.h" | \
X		${XARGS} ${REINPLACE_CMD} -e "s|$$(${PRINTF} '\r')||g" ${WRKSRC}/Makefile
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/src/*.cpp ${WRKSRC}/src/*.h
X	@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile
X	@${REINPLACE_CMD} -e '/^LIBS/ s|$$| -L${X11BASE}/lib|' ${WRKSRC}/Makefile
X	@${REINPLACE_CMD} -e '/CXX	/ d' ${WRKSRC}/Makefile
X	@${REINPLACE_CMD} -e '/CXXFLAGS.*+=/ d' ${WRKSRC}/Makefile
X	@${REINPLACE_CMD} -e '/^CXXFLAGS/ s|:=|+=|' ${WRKSRC}/Makefile
X	@${REINPLACE_CMD} -e '/^CXXFLAGS/ s|$$| -I${X11BASE}/include|' ${WRKSRC}/Makefile
X	@${REINPLACE_CMD} -e 's|\($$(CXX)\) \(-MM\)|\1 $$(CXXFLAGS) \2|' ${WRKSRC}/Makefile
X
X	@${REINPLACE_CMD} -e 's|\(config\.ini\)|${PREFIX}/etc/\1|' ${WRKSRC}/src/globalInfos.cpp
X	@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/src/globalInfos.h
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/bin/pouetChess ${PREFIX}/bin
X	${INSTALL_DATA} ${WRKSRC}/bin/config.ini ${PREFIX}/etc
X.for i in objets3d textures
X	${MKDIR} ${DATADIR}/${i}
X	${INSTALL_DATA} ${WRKSRC}/bin/data/${i}/* ${DATADIR}/${i}
X.endfor
X
X.include <bsd.port.mk>
END-of-pouetchess/Makefile
echo x - pouetchess/distinfo
sed 's/^X//' >pouetchess/distinfo << 'END-of-pouetchess/distinfo'
XMD5 (pouetChess_0.1.tar.gz) = e4eca429886472b6b9826f09fea504b0
XSHA256 (pouetChess_0.1.tar.gz) = fdf69b3757fc69756366b3a110f54c346cc18d057f8023818339380c4639fb9a
XSIZE (pouetChess_0.1.tar.gz) = 364154
END-of-pouetchess/distinfo
echo x - pouetchess/pkg-plist
sed 's/^X//' >pouetchess/pkg-plist << 'END-of-pouetchess/pkg-plist'
Xbin/pouetChess
Xetc/config.ini
X%%DATADIR%%/objets3d/cavalier.lwo
X%%DATADIR%%/objets3d/dame.lwo
X%%DATADIR%%/objets3d/fleche.lwo
X%%DATADIR%%/objets3d/fou.lwo
X%%DATADIR%%/objets3d/pion.lwo
X%%DATADIR%%/objets3d/plateau.lwo
X%%DATADIR%%/objets3d/roi.lwo
X%%DATADIR%%/objets3d/table.lwo
X%%DATADIR%%/objets3d/tour.lwo
X%%DATADIR%%/textures/1.png
X%%DATADIR%%/textures/2.png
X%%DATADIR%%/textures/blender.png
X%%DATADIR%%/textures/camera.png
X%%DATADIR%%/textures/credits.png
X%%DATADIR%%/textures/damier.jpg
X%%DATADIR%%/textures/exit.png
X%%DATADIR%%/textures/font.png
X%%DATADIR%%/textures/force.png
X%%DATADIR%%/textures/gimp.png
X%%DATADIR%%/textures/kate.png
X%%DATADIR%%/textures/murs.jpg
X%%DATADIR%%/textures/porte.jpg
X%%DATADIR%%/textures/quitter.png
X%%DATADIR%%/textures/sol.jpg
X%%DATADIR%%/textures/titre.png
X%%DATADIR%%/textures/tux.png
X at dirrm %%DATADIR%%/objets3d
X at dirrm %%DATADIR%%/textures
X at dirrm %%DATADIR%%
END-of-pouetchess/pkg-plist
echo x - pouetchess/pkg-descr
sed 's/^X//' >pouetchess/pkg-descr << 'END-of-pouetchess/pkg-descr'
XpouetChess is a 3D and open source chess game for Linux with very
Xfew and basic dependencies. Moreover pouetChess has an embedded
XArtificial Intelligence so engines such as GNUChess are not even
Xneeded.
X
XWWW: http://pouetchess.sourceforge.net/
END-of-pouetchess/pkg-descr
exit
--- pouetchess-0.1.shar ends here ---


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



More information about the freebsd-ports-bugs mailing list