ports/108936: [NEW PORT] games/cultivateion: Unique game of conflict and cooperation in a gardening community
Dmitry Marakasov
amdmi3 at amdmi3.ru
Thu Feb 8 16:10:21 UTC 2007
>Number: 108936
>Category: ports
>Synopsis: [NEW PORT] games/cultivateion: Unique game of conflict and cooperation in a gardening community
>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 Feb 08 16:10:14 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:
Cultivation is quite different from most other games. It is a social
simulation, and the primary form of conflict is over land and plant
resources---there is no shooting, but there are plenty of angry
looks. It is also an evolution simulation. Within the world of
Cultivation, you can explore a virtually infinite spectrum of
different plant and gardener varieties.
All of the graphics, sounds, melodies,and other content in Cultivation
are 100% procedurally generated at playtime. In other words, there
are no hand-painted texture maps---instead, each object has a
uniquely "grown" appearance. Every time you play, Cultivation
generates fresh visuals, music, and behaviors.
WWW: http://cultivation.sourceforge.net/
>How-To-Repeat:
>Fix:
--- cultivation-7.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:
#
# cultivation
# cultivation/Makefile
# cultivation/pkg-descr
# cultivation/distinfo
# cultivation/files
# cultivation/files/patch-Makefile.GnuLinux
# cultivation/files/patch-Makefile.common
# cultivation/pkg-plist
#
echo c - cultivation
mkdir -p cultivation > /dev/null 2>&1
echo x - cultivation/Makefile
sed 's/^X//' >cultivation/Makefile << 'END-of-cultivation/Makefile'
X# New ports collection makefile for: cultivation
X# Date created: 06 Feb 2007
X# Whom: Dmitry Marakasov <amdmi3 at amdmi3.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME= cultivation
XPORTVERSION= 7
XCATEGORIES= games
XMASTER_SITES= SF
XMASTER_SITE_SUBDIR= ${PORTNAME}
XDISTNAME= Cultivation_${PORTVERSION}_UnixSource
X
XMAINTAINER= amdmi3 at amdmi3.ru
XCOMMENT= Unique game of conflict and cooperation in a gardening community
X
XLIB_DEPENDS= portaudio:${PORTSDIR}/audio/portaudio \
X glut.4:${PORTSDIR}/graphics/libglut
X
XUSE_GMAKE= yes
X
XWRKSRC= ${WRKDIR}/${DISTNAME}/game2
XBUILD_WRKSRC= ${WRKSRC}/gameSource
XMAKE_ARGS= CXX=${CXX}
X
XPORTDOCS= changeLog.txt how_to_play.txt
X
Xpost-patch:
X @cd ${WRKSRC} && ${CAT} Makefile.GnuLinux Makefile.common \
X ../minorGems/build/Makefile.minorGems gameSource/Makefile.all \
X ../minorGems/build/Makefile.minorGems_targets > gameSource/Makefile
X @${REINPLACE_CMD} -e 's|font\.tga|${DATADIR}/font.tga|; \
X s|language\.txt|${DATADIR}/language.txt|; \
X s|features\.txt|${DATADIR}/features.txt|' \
X ${BUILD_WRKSRC}/game.cpp
X @${REINPLACE_CMD} -e 's|"languages"|"${DATADIR}/languages"|' \
X ${WRKSRC}/../minorGems/util/TranslationManager.cpp
X
Xdo-install:
X ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/Cultivation ${PREFIX}/bin
X ${MKDIR} ${DATADIR}/languages
X ${INSTALL_DATA} ${BUILD_WRKSRC}/font.tga ${DATADIR}
X ${INSTALL_DATA} ${BUILD_WRKSRC}/features.txt ${DATADIR}
X ${INSTALL_DATA} ${BUILD_WRKSRC}/language.txt ${DATADIR}
X ${INSTALL_DATA} ${BUILD_WRKSRC}/languages/* ${DATADIR}/languages
X
X.if !defined(NOPORTDOCS)
Xpost-install:
X ${MKDIR} ${DOCSDIR}
X.for f in ${PORTDOCS}
X ${INSTALL_DATA} ${WRKSRC}/documentation/${f} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-cultivation/Makefile
echo x - cultivation/pkg-descr
sed 's/^X//' >cultivation/pkg-descr << 'END-of-cultivation/pkg-descr'
XCultivation is quite different from most other games. It is a social
Xsimulation, and the primary form of conflict is over land and plant
Xresources---there is no shooting, but there are plenty of angry
Xlooks. It is also an evolution simulation. Within the world of
XCultivation, you can explore a virtually infinite spectrum of
Xdifferent plant and gardener varieties.
X
XAll of the graphics, sounds, melodies,and other content in Cultivation
Xare 100% procedurally generated at playtime. In other words, there
Xare no hand-painted texture maps---instead, each object has a
Xuniquely "grown" appearance. Every time you play, Cultivation
Xgenerates fresh visuals, music, and behaviors.
X
XWWW: http://cultivation.sourceforge.net/
END-of-cultivation/pkg-descr
echo x - cultivation/distinfo
sed 's/^X//' >cultivation/distinfo << 'END-of-cultivation/distinfo'
XMD5 (Cultivation_7_UnixSource.tar.gz) = 8a124674d5b395f15d277e4b7191f1a8
XSHA256 (Cultivation_7_UnixSource.tar.gz) = 17c3b2efcf6bf059178058a04bd0b555e257bfb9117a25445d6fbf00a70ac8b2
XSIZE (Cultivation_7_UnixSource.tar.gz) = 1117852
END-of-cultivation/distinfo
echo c - cultivation/files
mkdir -p cultivation/files > /dev/null 2>&1
echo x - cultivation/files/patch-Makefile.GnuLinux
sed 's/^X//' >cultivation/files/patch-Makefile.GnuLinux << 'END-of-cultivation/files/patch-Makefile.GnuLinux'
X--- Makefile.GnuLinux.orig Tue Jun 27 18:14:31 2006
X+++ Makefile.GnuLinux Tue Feb 6 21:58:05 2007
X@@ -12,16 +12,16 @@
X ##
X
X
X-PLATFORM_COMPILE_FLAGS = -DLINUX
X+PLATFORM_COMPILE_FLAGS = ${CXXFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include -DLINUX
X
X
X # various GL and X windows librariesneeded for linux
X # also need portaudio library (which in turn needs pthreads)
X-PLATFORM_LINK_FLAGS = -L/usr/X11R6/lib -lGL -lglut -lGLU -lX11 -lXi -lXext -lXmu ${PORT_AUDIO_PATH}/lib/libportaudio.a -lpthread
X+PLATFORM_LINK_FLAGS = -L${LOCALBASE}/lib -L${X11BASE}/lib -lGL -lglut -lGLU -lX11 -lXi -lXext -lXmu -pthread -lportaudio
X
X
X # All platforms but OSX support g++ and need no linker hacks
X-GXX = g++
X+GXX = ${CXX}
X LINK_FLAGS =
X
X
END-of-cultivation/files/patch-Makefile.GnuLinux
echo x - cultivation/files/patch-Makefile.common
sed 's/^X//' >cultivation/files/patch-Makefile.common << 'END-of-cultivation/files/patch-Makefile.common'
X--- Makefile.common.orig Wed Dec 27 08:41:51 2006
X+++ Makefile.common Tue Feb 6 21:59:22 2007
X@@ -51,7 +51,7 @@
X
X
X
X-COMPILE_FLAGS = -Wall ${DEBUG_FLAG} ${PLATFORM_COMPILE_FLAGS} ${PROFILE_FLAG} ${OPTIMIZE_FLAG} -I${ROOT_PATH} -I${PORT_AUDIO_PATH}/pa_common
X+COMPILE_FLAGS = -Wall ${PLATFORM_COMPILE_FLAGS} ${PROFILE_FLAG} -I${ROOT_PATH}
X
X
X COMPILE = ${GXX} ${COMPILE_FLAGS} -c
END-of-cultivation/files/patch-Makefile.common
echo x - cultivation/pkg-plist
sed 's/^X//' >cultivation/pkg-plist << 'END-of-cultivation/pkg-plist'
Xbin/Cultivation
X%%DATADIR%%/features.txt
X%%DATADIR%%/font.tga
X%%DATADIR%%/language.txt
X%%DATADIR%%/languages/English.txt
X at dirrm %%DATADIR%%/languages
X at dirrm %%DATADIR%%
END-of-cultivation/pkg-plist
exit
--- cultivation-7.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list