ports/114539: [NEW PORT] games/memonix: Brain teasers, puzzle and memory games for kids in one pack

Dmitry Marakasov amdmi3 at amdmi3.ru
Thu Jul 12 20:30:16 UTC 2007


>Number:         114539
>Category:       ports
>Synopsis:       [NEW PORT] games/memonix: Brain teasers, puzzle and memory games for kids in one pack
>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 Jul 12 20:30:16 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE-p12 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE-p12 FreeBSD 6.1-RELEASE-p12 #0: Tue Jan 16 23:12:21 MSK 2007 amdmi3 at hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
Port of memonix, which was opensourced yesterday.

---
Brain teasers, puzzle and memory games for kid's in one pack!

Memonix is the latest version of a wonderful collection of four
brain twisters, including Mosaic, Builder, Pair and Jig-Saw. While
being amazingly addictive and fun to play, these games can be used
to improve your child's memory, thinking and reaction. Five difficulty
levels from normal to obscene plus the timer mean that the challenge
will never run away. Joyful music and brightly-colored visuals
maximize the excitement from the gameplay.

Requirements:
CPU 300+ Mhz, 64 MB RAM, 3D acceleration video card with OpenGL, mouse.
Recommended: sound card.

WWW: http://www.viewizard.com/
>How-To-Repeat:
>Fix:

--- memonix-1.6.070712.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:
#
#	memonix
#	memonix/files
#	memonix/files/CMakeLists.txt
#	memonix/distinfo
#	memonix/Makefile
#	memonix/pkg-descr
#
echo c - memonix
mkdir -p memonix > /dev/null 2>&1
echo c - memonix/files
mkdir -p memonix/files > /dev/null 2>&1
echo x - memonix/files/CMakeLists.txt
sed 's/^X//' >memonix/files/CMakeLists.txt << 'END-of-memonix/files/CMakeLists.txt'
X# project name
XPROJECT(memonix)
X
X# depends
Xset(SDL_CONFIG "sdl-config" CACHE STRING "Path to sdl-config script")
X
XFIND_PACKAGE(OpenGL REQUIRED)
XIF(OPENGL_FOUND)
X	INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR})
XELSE(OPENGL_FOUND)
X	MESSAGE(FATAL "OpenGL not found")
XENDIF(OPENGL_FOUND)
X
XFIND_PACKAGE(GLU REQUIRED)
XFIND_PACKAGE(SDL REQUIRED)
XFIND_PACKAGE(SDL_image REQUIRED)
XFIND_PACKAGE(SDL_mixer REQUIRED)
X
X# sources
XFILE(GLOB_RECURSE memonix_SRCS *.cpp)
X
X# targets
XADD_DEFINITIONS(`${SDL_CONFIG} --cflags`)
XADD_EXECUTABLE(Memonix ${memonix_SRCS})
XTARGET_LINK_LIBRARIES(Memonix `${SDL_CONFIG} --libs` ${SDLIMAGE_LIBRARY} ${SDLMIXER_LIBRARY} ${OPENGL_gl_LIBRARY} ${GLU_LIBRARY})
END-of-memonix/files/CMakeLists.txt
echo x - memonix/distinfo
sed 's/^X//' >memonix/distinfo << 'END-of-memonix/distinfo'
XMD5 (MemonixSourceCode_1.6_070712.zip) = aa4ba2f45140598d6cd2d5c51bf9d03e
XSHA256 (MemonixSourceCode_1.6_070712.zip) = b61fff319f8437d3dc4e5a5b7ae0129e41f07cfc964ea857283ff709e1c31990
XSIZE (MemonixSourceCode_1.6_070712.zip) = 186846
XMD5 (memx16.tar.gz) = bb94afdc6f6cb7ba8799fcb1429241ee
XSHA256 (memx16.tar.gz) = bc1ce3d17fb129b58bc6357942879697a62cc16db6e65c3d2b08bf64da2f88dd
XSIZE (memx16.tar.gz) = 6858043
END-of-memonix/distinfo
echo x - memonix/Makefile
sed 's/^X//' >memonix/Makefile << 'END-of-memonix/Makefile'
X# New ports collection makefile for:	memonix
X# Date created:		12 Jul 2007
X# Whom:			Dmitry Marakasov <amdmi3 at amdmi3.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	memonix
XPORTVERSION=	1.6.070712
XCATEGORIES=	games
XMASTER_SITES=	http://www.viewizard.com/download/ \
X		http://www.amdmi3.ru/distfiles/
XDISTNAME=	MemonixSourceCode_${PORTVERSION:S/./_/g:S/_/./}
XDISTFILES=	${DISTNAME}${EXTRACT_SUFX} memx16.tar.gz
XEXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
X
XMAINTAINER=	amdmi3 at amdmi3.ru
XCOMMENT=	Brain teasers, puzzle and memory games for kids in one pack
X
XBUILD_DEPENDS=	${CMAKE}:${PORTSDIR}/devel/cmake
X
XCMAKE?=		${LOCALBASE}/bin/cmake
X
XUSE_ZIP=	yes
XUSE_SDL=	sdl mixer image
XUSE_GL=		yes
X
XCMAKE_DEFS=	-DCMAKE_EXE_LINKER_FLAGS:STRING="${LINKERFLAGS} ${PTHREAD_LIBS}" \
X		-DCMAKE_THREAD_LIBS:STRING="${PTHREAD_LIBS}"\
X		-DCMAKE_USE_PTHREADS:BOOL=ON \
X		-DCMAKE_C_COMPILER:STRING="${CC}" \
X		-DCMAKE_CXX_COMPILER:STRING="${CXX}" \
X		-DCMAKE_C_FLAGS:STRING="${CFLAGS} ${PTHREAD_CFLAGS}" \
X		-DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS} ${PTHREAD_CFLAGS}"
X
XPLIST_FILES=	Memonix %%DATADIR%%/gamedata.vfs
XPLIST_DIRS=	%%DATADIR%%
X
Xpost-extract:
X	@${TAR} -C ${WRKDIR} -xzf ${DISTDIR}/memx16.tar.gz
X	@${CP} ${FILESDIR}/CMakeLists.txt ${WRKSRC}/
X
Xpost-patch:
X	@${REINPLACE_CMD} -e '/strcpy(ProgrammDir,/ s|\./|${DATADIR}/|' \
X		 ${WRKSRC}/src/Main.cpp
X
Xdo-configure:
X	cd ${WRKSRC} && ${CMAKE} . ${CMAKE_DEFS}
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/Memonix ${PREFIX}/bin
X	${MKDIR} ${DATADIR}
X	${INSTALL_DATA} ${WRKDIR}/Memonix/gamedata.vfs ${DATADIR}
X
X.include <bsd.port.mk>
END-of-memonix/Makefile
echo x - memonix/pkg-descr
sed 's/^X//' >memonix/pkg-descr << 'END-of-memonix/pkg-descr'
XBrain teasers, puzzle and memory games for kid's in one pack!
X
XMemonix is the latest version of a wonderful collection of four
Xbrain twisters, including Mosaic, Builder, Pair and Jig-Saw. While
Xbeing amazingly addictive and fun to play, these games can be used
Xto improve your child's memory, thinking and reaction. Five difficulty
Xlevels from normal to obscene plus the timer mean that the challenge
Xwill never run away. Joyful music and brightly-colored visuals
Xmaximize the excitement from the gameplay.
X
XRequirements:
XCPU 300+ Mhz, 64 MB RAM, 3D acceleration video card with OpenGL, mouse.
XRecommended: sound card.
X
XWWW: http://www.viewizard.com/
END-of-memonix/pkg-descr
exit
--- memonix-1.6.070712.shar ends here ---


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



More information about the freebsd-ports-bugs mailing list