diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-02-08 22:33:02 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-02-08 22:33:02 +0000 |
commit | 2164312fec97a3fc62088b0a9fa8de686965984d (patch) | |
tree | 97ba155bccf64e0cc1039dfb1fb7e5e2f66faed1 /games | |
parent | - Fix build on HEAD after objformat remove (diff) |
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/
PR: ports/108936
Submitted by: Dmitry Marakasov <amdmi3 at amdmi3.ru>
Notes
Notes:
svn path=/head/; revision=184612
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/cultivation/Makefile | 56 | ||||
-rw-r--r-- | games/cultivation/distinfo | 3 | ||||
-rw-r--r-- | games/cultivation/files/patch-Makefile.GnuLinux | 22 | ||||
-rw-r--r-- | games/cultivation/files/patch-Makefile.common | 11 | ||||
-rw-r--r-- | games/cultivation/pkg-descr | 14 | ||||
-rw-r--r-- | games/cultivation/pkg-plist | 7 |
7 files changed, 114 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index e33bd5419040..f5bd01aa0930 100644 --- a/games/Makefile +++ b/games/Makefile @@ -125,6 +125,7 @@ SUBDIR += csmash SUBDIR += ctris SUBDIR += cube + SUBDIR += cultivation SUBDIR += cursive SUBDIR += d2x SUBDIR += daimonin-client diff --git a/games/cultivation/Makefile b/games/cultivation/Makefile new file mode 100644 index 000000000000..60a89a1bcb2c --- /dev/null +++ b/games/cultivation/Makefile @@ -0,0 +1,56 @@ +# New ports collection makefile for: cultivation +# Date created: 06 Feb 2007 +# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru> +# +# $FreeBSD$ +# + +PORTNAME= cultivation +PORTVERSION= 7 +CATEGORIES= games +MASTER_SITES= SF +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= Cultivation_${PORTVERSION}_UnixSource + +MAINTAINER= amdmi3@amdmi3.ru +COMMENT= Unique game of conflict and cooperation in a gardening community + +LIB_DEPENDS= portaudio:${PORTSDIR}/audio/portaudio \ + glut.4:${PORTSDIR}/graphics/libglut + +USE_GMAKE= yes + +WRKSRC= ${WRKDIR}/${DISTNAME}/game2 +BUILD_WRKSRC= ${WRKSRC}/gameSource +MAKE_ARGS= CXX=${CXX} + +PORTDOCS= changeLog.txt how_to_play.txt + +post-patch: + @cd ${WRKSRC} && ${CAT} Makefile.GnuLinux Makefile.common \ + ../minorGems/build/Makefile.minorGems gameSource/Makefile.all \ + ../minorGems/build/Makefile.minorGems_targets > gameSource/Makefile + @${REINPLACE_CMD} -e 's|font\.tga|${DATADIR}/font.tga|; \ + s|language\.txt|${DATADIR}/language.txt|; \ + s|features\.txt|${DATADIR}/features.txt|' \ + ${BUILD_WRKSRC}/game.cpp + @${REINPLACE_CMD} -e 's|"languages"|"${DATADIR}/languages"|' \ + ${WRKSRC}/../minorGems/util/TranslationManager.cpp + +do-install: + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/Cultivation ${PREFIX}/bin + ${MKDIR} ${DATADIR}/languages + ${INSTALL_DATA} ${BUILD_WRKSRC}/font.tga ${DATADIR} + ${INSTALL_DATA} ${BUILD_WRKSRC}/features.txt ${DATADIR} + ${INSTALL_DATA} ${BUILD_WRKSRC}/language.txt ${DATADIR} + ${INSTALL_DATA} ${BUILD_WRKSRC}/languages/* ${DATADIR}/languages + +.if !defined(NOPORTDOCS) +post-install: + ${MKDIR} ${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/documentation/${f} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/games/cultivation/distinfo b/games/cultivation/distinfo new file mode 100644 index 000000000000..0aa11e16076d --- /dev/null +++ b/games/cultivation/distinfo @@ -0,0 +1,3 @@ +MD5 (Cultivation_7_UnixSource.tar.gz) = 8a124674d5b395f15d277e4b7191f1a8 +SHA256 (Cultivation_7_UnixSource.tar.gz) = 17c3b2efcf6bf059178058a04bd0b555e257bfb9117a25445d6fbf00a70ac8b2 +SIZE (Cultivation_7_UnixSource.tar.gz) = 1117852 diff --git a/games/cultivation/files/patch-Makefile.GnuLinux b/games/cultivation/files/patch-Makefile.GnuLinux new file mode 100644 index 000000000000..a8d11b905ea9 --- /dev/null +++ b/games/cultivation/files/patch-Makefile.GnuLinux @@ -0,0 +1,22 @@ +--- Makefile.GnuLinux.orig Tue Jun 27 18:14:31 2006 ++++ Makefile.GnuLinux Tue Feb 6 21:58:05 2007 +@@ -12,16 +12,16 @@ + ## + + +-PLATFORM_COMPILE_FLAGS = -DLINUX ++PLATFORM_COMPILE_FLAGS = ${CXXFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include -DLINUX + + + # various GL and X windows librariesneeded for linux + # also need portaudio library (which in turn needs pthreads) +-PLATFORM_LINK_FLAGS = -L/usr/X11R6/lib -lGL -lglut -lGLU -lX11 -lXi -lXext -lXmu ${PORT_AUDIO_PATH}/lib/libportaudio.a -lpthread ++PLATFORM_LINK_FLAGS = -L${LOCALBASE}/lib -L${X11BASE}/lib -lGL -lglut -lGLU -lX11 -lXi -lXext -lXmu -pthread -lportaudio + + + # All platforms but OSX support g++ and need no linker hacks +-GXX = g++ ++GXX = ${CXX} + LINK_FLAGS = + + diff --git a/games/cultivation/files/patch-Makefile.common b/games/cultivation/files/patch-Makefile.common new file mode 100644 index 000000000000..e31a22dc82b4 --- /dev/null +++ b/games/cultivation/files/patch-Makefile.common @@ -0,0 +1,11 @@ +--- Makefile.common.orig Wed Dec 27 08:41:51 2006 ++++ Makefile.common Tue Feb 6 21:59:22 2007 +@@ -51,7 +51,7 @@ + + + +-COMPILE_FLAGS = -Wall ${DEBUG_FLAG} ${PLATFORM_COMPILE_FLAGS} ${PROFILE_FLAG} ${OPTIMIZE_FLAG} -I${ROOT_PATH} -I${PORT_AUDIO_PATH}/pa_common ++COMPILE_FLAGS = -Wall ${PLATFORM_COMPILE_FLAGS} ${PROFILE_FLAG} -I${ROOT_PATH} + + + COMPILE = ${GXX} ${COMPILE_FLAGS} -c diff --git a/games/cultivation/pkg-descr b/games/cultivation/pkg-descr new file mode 100644 index 000000000000..dd4197610163 --- /dev/null +++ b/games/cultivation/pkg-descr @@ -0,0 +1,14 @@ +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/ diff --git a/games/cultivation/pkg-plist b/games/cultivation/pkg-plist new file mode 100644 index 000000000000..c2ad44bcc408 --- /dev/null +++ b/games/cultivation/pkg-plist @@ -0,0 +1,7 @@ +bin/Cultivation +%%DATADIR%%/features.txt +%%DATADIR%%/font.tga +%%DATADIR%%/language.txt +%%DATADIR%%/languages/English.txt +@dirrm %%DATADIR%%/languages +@dirrm %%DATADIR%% |