diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-11-25 03:39:30 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-11-25 03:39:30 +0000 |
commit | b6f306f4cc8b973bfa705b0a0d7c567b99fc3f69 (patch) | |
tree | 0a167ac2051fe27a3cb514845aa13574613a3402 /games/construo | |
parent | a3607c150c3c6fec234bbde4f8e071ed408327db (diff) | |
download | ports-b6f306f4cc8b973bfa705b0a0d7c567b99fc3f69.tar.gz ports-b6f306f4cc8b973bfa705b0a0d7c567b99fc3f69.zip |
Notes
Diffstat (limited to 'games/construo')
-rw-r--r-- | games/construo/Makefile | 55 | ||||
-rw-r--r-- | games/construo/distinfo | 3 | ||||
-rw-r--r-- | games/construo/pkg-descr | 12 | ||||
-rw-r--r-- | games/construo/pkg-plist | 92 |
4 files changed, 162 insertions, 0 deletions
diff --git a/games/construo/Makefile b/games/construo/Makefile new file mode 100644 index 000000000000..b6b8b0289a8e --- /dev/null +++ b/games/construo/Makefile @@ -0,0 +1,55 @@ +# New ports collection makefile for: construo +# Date created: 24 Nov 2005 +# Whom: Dmitry Marakasov <amdmi3@mail.ru> +# +# $FreeBSD$ +# + +PORTNAME= construo +PORTVERSION= 0.2.2 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SAVANNAH} +MASTER_SITE_SUBDIR= construo + +MAINTAINER= amdmi3@mail.ru +COMMENT= A fun construction toy + +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_XLIB= yes +USE_REINPLACE= yes + +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \ + CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" +CONFIGURE_ARGS= --bindir=${PREFIX}/bin --datadir=${DATADIR} + +OPTIONS= GLUT "Use glut" on + +.include <bsd.port.pre.mk> + +.if defined(WITH_GLUT) +LIB_DEPENDS= glut.3:${PORTSDIR}/graphics/libglut +PLIST_SUB+= GLUTBIN:="" +.else +PLIST_SUB+= GLUTBIN:="@comment " +.endif + +post-patch: + @${REINPLACE_CMD} 's|bindir = .*|bindir = @bindir@|' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} 's|pkgdatadir = .*|pkgdatadir = @datadir@/examples|' ${WRKSRC}/examples/Makefile.in + @${REINPLACE_CMD} '/stream/!s/std:://' ${WRKSRC}/vector.cxx + @${REINPLACE_CMD} 's|^\(#define CONSTRUO_DATADIR DATADIR\).*|\1|' ${WRKSRC}/construo.hxx + @${REINPLACE_CMD} 's|.*glut_1_3_glutMainLoop = yes.*|if false; then|' ${WRKSRC}/configure +.if defined(WITHOUT_GLUT) + @${REINPLACE_CMD} 's|.*glut_glutMainLoop = yes.*|if false; then|' ${WRKSRC}/configure +.endif + +post-install: +.if defined(WITH_GLUT) + cd ${PREFIX}/bin && ${LN} -s ${PORTNAME}.glut ${PORTNAME} +.else + cd ${PREFIX}/bin && ${LN} -s ${PORTNAME}.x11 ${PORTNAME} +.endif + +.include <bsd.port.post.mk> diff --git a/games/construo/distinfo b/games/construo/distinfo new file mode 100644 index 000000000000..67eb5ac7c65b --- /dev/null +++ b/games/construo/distinfo @@ -0,0 +1,3 @@ +MD5 (construo-0.2.2.tar.gz) = c18144898f98929b67245c5f703f9f39 +SHA256 (construo-0.2.2.tar.gz) = 93b1dc5c26aab42d886f102e501189982c28d390f8b573f8f4a42bad640ec630 +SIZE (construo-0.2.2.tar.gz) = 442626 diff --git a/games/construo/pkg-descr b/games/construo/pkg-descr new file mode 100644 index 000000000000..6489fcbffaaf --- /dev/null +++ b/games/construo/pkg-descr @@ -0,0 +1,12 @@ +Construo is a simple 2D construction programm (it is currently not +a real game) for objects which consist of rods and springs and let +them react on physical forces. You can currently construct buildings +and objects like bridges, towers, spaceshuttles, etc. and you let +them fall to ground and see seem smash and break. Sound like fun, +doesn't it =;-) The game is similar to Bridge Builder and heavily +inspired from the Gamasutra article Collision Response: Bouncy, +Trouncy, Fun. Its covered under the GNU General Public License, +thats means source code is availabel and you are allowed to modify +it. + +WWW: http://www.nongnu.org/construo/ diff --git a/games/construo/pkg-plist b/games/construo/pkg-plist new file mode 100644 index 000000000000..8748b35655ff --- /dev/null +++ b/games/construo/pkg-plist @@ -0,0 +1,92 @@ +bin/construo +%%GLUTBIN:%%bin/construo.glut +bin/construo.x11 +%%DATADIR%%/examples/balance.construo +%%DATADIR%%/examples/ball.construo +%%DATADIR%%/examples/basketball.construo +%%DATADIR%%/examples/bigthing.construo +%%DATADIR%%/examples/borg.construo +%%DATADIR%%/examples/bridg4.construo +%%DATADIR%%/examples/bridge.construo +%%DATADIR%%/examples/bridge2.construo +%%DATADIR%%/examples/bridge3.construo +%%DATADIR%%/examples/bridge4.construo +%%DATADIR%%/examples/bridge5.construo +%%DATADIR%%/examples/bridge6-1.construo +%%DATADIR%%/examples/bridge6.construo +%%DATADIR%%/examples/bridgio.construo +%%DATADIR%%/examples/bug.construo +%%DATADIR%%/examples/candle.construo +%%DATADIR%%/examples/capsule.construo +%%DATADIR%%/examples/choh/quicksave0.construo +%%DATADIR%%/examples/choh/quicksave1.construo +%%DATADIR%%/examples/choh/quicksave2.construo +%%DATADIR%%/examples/choh/quicksave3.construo +%%DATADIR%%/examples/choh/quicksave4.construo +%%DATADIR%%/examples/choh/quicksave5.construo +%%DATADIR%%/examples/choh/quicksave6.construo +%%DATADIR%%/examples/choh/quicksave7.construo +%%DATADIR%%/examples/choh/quicksave8.construo +%%DATADIR%%/examples/choh/quicksave9.construo +%%DATADIR%%/examples/choh2/quicksave1.construo +%%DATADIR%%/examples/choh2/quicksave2.construo +%%DATADIR%%/examples/choh2/quicksave3.construo +%%DATADIR%%/examples/choh2/quicksave4.construo +%%DATADIR%%/examples/choh2/quicksave5.construo +%%DATADIR%%/examples/choh2/quicksave6.construo +%%DATADIR%%/examples/choh2/quicksave7.construo +%%DATADIR%%/examples/choh2/quicksave8.construo +%%DATADIR%%/examples/choh2/quicksave9.construo +%%DATADIR%%/examples/colido.construo +%%DATADIR%%/examples/complex.construo +%%DATADIR%%/examples/complexus.construo +%%DATADIR%%/examples/crashtest.construo +%%DATADIR%%/examples/dancing.construo +%%DATADIR%%/examples/dodge.construo +%%DATADIR%%/examples/explosion.construo +%%DATADIR%%/examples/galactica.construo +%%DATADIR%%/examples/hangon.construo +%%DATADIR%%/examples/house.construo +%%DATADIR%%/examples/jesus.construo +%%DATADIR%%/examples/jesus2.construo +%%DATADIR%%/examples/joe.construo +%%DATADIR%%/examples/kamikaze.construo +%%DATADIR%%/examples/krahn.construo +%%DATADIR%%/examples/kran2.construo +%%DATADIR%%/examples/kranfree.construo +%%DATADIR%%/examples/landingv2.construo +%%DATADIR%%/examples/logo.construo +%%DATADIR%%/examples/monster.construo +%%DATADIR%%/examples/moonlander.construo +%%DATADIR%%/examples/mrwooble.construo +%%DATADIR%%/examples/needle.construo +%%DATADIR%%/examples/pendel45.construo +%%DATADIR%%/examples/pendulum.construo +%%DATADIR%%/examples/penguin.construo +%%DATADIR%%/examples/penguin2.construo +%%DATADIR%%/examples/pig.construo +%%DATADIR%%/examples/plane.construo +%%DATADIR%%/examples/planelanding.construo +%%DATADIR%%/examples/rocket.construo +%%DATADIR%%/examples/rocketlanding.construo +%%DATADIR%%/examples/rotatium.construo +%%DATADIR%%/examples/scorpion.construo +%%DATADIR%%/examples/shangon.construo +%%DATADIR%%/examples/simple.construo +%%DATADIR%%/examples/stabilo.construo +%%DATADIR%%/examples/stretch.construo +%%DATADIR%%/examples/temple.construo +%%DATADIR%%/examples/test.construo +%%DATADIR%%/examples/tetherball.construo +%%DATADIR%%/examples/thingo.construo +%%DATADIR%%/examples/thingo2.construo +%%DATADIR%%/examples/tower.construo +%%DATADIR%%/examples/waaagggee45.construo +%%DATADIR%%/examples/wheels.construo +%%DATADIR%%/examples/wooble.construo +%%DATADIR%%/examples/zeppelin.construo +%%DATADIR%%/examples/ziege.construo +@dirrm %%DATADIR%%/examples/choh +@dirrm %%DATADIR%%/examples/choh2 +@dirrm %%DATADIR%%/examples +@dirrm %%DATADIR%% |