aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2010-11-08 21:46:57 +0000
committerJohan van Selst <johans@FreeBSD.org>2010-11-08 21:46:57 +0000
commit425b7ee4ebf77a83be3703e1670d0db8fd0703f5 (patch)
tree1f49ad865a4ef95d718bf7e73d93809406e36d5c /games
parent1ba9a26bb7f5900f1834447a125e579ead1b61b4 (diff)
downloadports-425b7ee4ebf77a83be3703e1670d0db8fd0703f5.tar.gz
ports-425b7ee4ebf77a83be3703e1670d0db8fd0703f5.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/tbe/Makefile43
-rw-r--r--games/tbe/distinfo2
-rw-r--r--games/tbe/pkg-descr9
-rw-r--r--games/tbe/pkg-plist137
5 files changed, 192 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index d4ca02b6ec08..a2dec9832e02 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -851,6 +851,7 @@
SUBDIR += tank
SUBDIR += taxipilot
SUBDIR += tbclock
+ SUBDIR += tbe
SUBDIR += tecnoballz
SUBDIR += teeworlds
SUBDIR += teg
diff --git a/games/tbe/Makefile b/games/tbe/Makefile
new file mode 100644
index 000000000000..5dff95a180ca
--- /dev/null
+++ b/games/tbe/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: tbe
+# Date created: 7 November 2010
+# Whom: johans
+#
+# $FreeBSD$
+#
+
+PORTNAME= tbe
+PORTVERSION= M7
+CATEGORIES= games
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR= ${PORTNAME}/Milestone%20${PORTVERSION:S/M//}
+DISTNAME= TheButterflyEffect-${PORTVERSION}.src
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= johans@FreeBSD.org
+COMMENT= The Butterfly Effect
+
+BUILD_DEPENDS= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
+
+USE_GMAKE= yes
+USE_QT_VER= 4
+QT_COMPONENTS= qmake corelib gui moc rcc svg uic xml
+WRKSRC= ${WRKDIR}/TheButterflyEffect-${PORTVERSION}
+
+post-patch:
+ @${REINPLACE_CMD} 's/ make/ ${GMAKE}/' \
+ ${WRKSRC}/3rdParty/Makefile
+ @${REINPLACE_CMD} 's/debug/release link_prl/' ${WRKSRC}/tbe.pro
+ @${REINPLACE_CMD} 's:BINARY_DIRECTORY+":"${DATADIR}:' \
+ ${WRKSRC}/src/tbe_global.h
+
+pre-build:
+ # This is supposedly done by the ./configure script
+ @cd ${WRKSRC}/3rdParty && ${GMAKE}
+ @cd ${WRKSRC} && ${QMAKE}
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+ @${MKDIR} ${DATADIR}
+ @cd ${WRKSRC} && ${PAX} -rw images levels ${DATADIR}
+
+.include <bsd.port.mk>
diff --git a/games/tbe/distinfo b/games/tbe/distinfo
new file mode 100644
index 000000000000..bfe6d588e1eb
--- /dev/null
+++ b/games/tbe/distinfo
@@ -0,0 +1,2 @@
+SHA256 (TheButterflyEffect-M7.src.tgz) = 45c08f886c59ebc8efd0aa8ae43b17ebc0cacb1274e290a82b7fc1e9a1ca0652
+SIZE (TheButterflyEffect-M7.src.tgz) = 4853165
diff --git a/games/tbe/pkg-descr b/games/tbe/pkg-descr
new file mode 100644
index 000000000000..c9070fc7bc6e
--- /dev/null
+++ b/games/tbe/pkg-descr
@@ -0,0 +1,9 @@
+The Butterfly Effect is a physics game about cause and effect.
+You build complex mechanical systems using levers, rocket-like cola
+bottles and ordinary objects like tennis balls and bikes to
+accomplish simple tasks like toppling a Bowling Pin. This is also
+known as a Rube Goldberg machine or a Heath Robinson contraption.
+This type of game was pioneered by the game series The Incredible
+Machine in the 1990s.
+
+WWW: http://sourceforge.net/apps/trac/tbe/wiki/WikiStart
diff --git a/games/tbe/pkg-plist b/games/tbe/pkg-plist
new file mode 100644
index 000000000000..8ebe97fb7548
--- /dev/null
+++ b/games/tbe/pkg-plist
@@ -0,0 +1,137 @@
+bin/tbe
+%%DATADIR%%/images/ActionDelete.svg
+%%DATADIR%%/images/ActionFastForward.svg
+%%DATADIR%%/images/ActionMove.svg
+%%DATADIR%%/images/ActionNone.svg
+%%DATADIR%%/images/ActionResizeHori.svg
+%%DATADIR%%/images/ActionResizeRotate.svg
+%%DATADIR%%/images/ActionResizeVerti.svg
+%%DATADIR%%/images/ActionRotate.svg
+%%DATADIR%%/images/ActionUndo.svg
+%%DATADIR%%/images/BigCross.svg
+%%DATADIR%%/images/BowlingBall.png
+%%DATADIR%%/images/Bowling_Pin.svg
+%%DATADIR%%/images/Butterfly.svg
+%%DATADIR%%/images/CokeMentosBottle.svg
+%%DATADIR%%/images/CokeSplatter.svg
+%%DATADIR%%/images/Domino-Stone-Red.svg
+%%DATADIR%%/images/DominoBlue.svg
+%%DATADIR%%/images/DominoGreen.svg
+%%DATADIR%%/images/DominoRed.svg
+%%DATADIR%%/images/NotFound.svg
+%%DATADIR%%/images/PostIt.svg
+%%DATADIR%%/images/README
+%%DATADIR%%/images/Skyhook.svg
+%%DATADIR%%/images/SoccerBall.png
+%%DATADIR%%/images/StartStopWatch.svg
+%%DATADIR%%/images/StartStopWatchBroken.svg
+%%DATADIR%%/images/StartStopWatchHand.svg
+%%DATADIR%%/images/TennisBall.png
+%%DATADIR%%/images/ToRight.png
+%%DATADIR%%/images/VolleyBall.svg
+%%DATADIR%%/images/Weight.svg
+%%DATADIR%%/images/birch_bar.png
+%%DATADIR%%/images/chickenwire-texture.svg
+%%DATADIR%%/images/congrat-death-border.svg
+%%DATADIR%%/images/illustrations/installer-side-image.png
+%%DATADIR%%/images/illustrations/installer-top-icon.png
+%%DATADIR%%/images/illustrations/tbe-icon.png
+%%DATADIR%%/images/illustrations/tbe-icon.qrc
+%%DATADIR%%/images/left-ramp.svg
+%%DATADIR%%/images/oldbrick.png
+%%DATADIR%%/images/right-ramp.svg
+%%DATADIR%%/images/styrofoam.png
+%%DATADIR%%/images/tbe-icon.png
+%%DATADIR%%/images/title_page.svg
+%%DATADIR%%/images/used_wood_bar.png
+%%DATADIR%%/levels/draft/003_jumping_around.xml
+%%DATADIR%%/levels/draft/006_domino_day.xml
+%%DATADIR%%/levels/draft/Anonymous_Blue_bike.svg
+%%DATADIR%%/levels/draft/Anonymous_daffodil.klaas.svg
+%%DATADIR%%/levels/draft/BottleKnot-left.svg
+%%DATADIR%%/levels/draft/BottleKnot-right.svg
+%%DATADIR%%/levels/draft/Empty.svg
+%%DATADIR%%/levels/draft/README
+%%DATADIR%%/levels/draft/SABROG_Glass_Blue_Ball.svg
+%%DATADIR%%/levels/draft/White-to-green.svg
+%%DATADIR%%/levels/draft/agone_chains.svg
+%%DATADIR%%/levels/draft/basket.svg
+%%DATADIR%%/levels/draft/blue_bike_frame.svg
+%%DATADIR%%/levels/draft/blue_bike_wheel.svg
+%%DATADIR%%/levels/draft/bouncing_balls.xml
+%%DATADIR%%/levels/draft/bowling_pin_plays_soccer.xml
+%%DATADIR%%/levels/draft/brass-pin.svg
+%%DATADIR%%/levels/draft/bridge-2.xml
+%%DATADIR%%/levels/draft/bridge-3.xml
+%%DATADIR%%/levels/draft/bridge_gap.xml
+%%DATADIR%%/levels/draft/butterfly-on-steroids.xml
+%%DATADIR%%/levels/draft/card-back-blue.svg
+%%DATADIR%%/levels/draft/card-back-red.svg
+%%DATADIR%%/levels/draft/carpenters-rule.svg
+%%DATADIR%%/levels/draft/circus-stripe.svg
+%%DATADIR%%/levels/draft/coke-powered-bike.xml
+%%DATADIR%%/levels/draft/contraption1.xml
+%%DATADIR%%/levels/draft/contraption2.xml
+%%DATADIR%%/levels/draft/find-the-message.xml
+%%DATADIR%%/levels/draft/goal-scenery.svg
+%%DATADIR%%/levels/draft/hammer.svg
+%%DATADIR%%/levels/draft/house_of_cards.xml
+%%DATADIR%%/levels/draft/i-beam.svg
+%%DATADIR%%/levels/draft/imperfectbalance.xml
+%%DATADIR%%/levels/draft/jumpingjack.svg
+%%DATADIR%%/levels/draft/nicubunu_White_deck_10_of_hearts.svg
+%%DATADIR%%/levels/draft/nicubunu_White_deck_2_of_spades.svg
+%%DATADIR%%/levels/draft/nicubunu_White_deck_6_of_diamonds.svg
+%%DATADIR%%/levels/draft/nicubunu_White_deck_Jack_of_hearts.svg
+%%DATADIR%%/levels/draft/nicubunu_White_deck_Queen_of_spades.svg
+%%DATADIR%%/levels/draft/old_faithful.xml
+%%DATADIR%%/levels/draft/pinrack.xml
+%%DATADIR%%/levels/draft/poing-poing-poing.xml
+%%DATADIR%%/levels/draft/prizes.svg
+%%DATADIR%%/levels/draft/skyhook.xml
+%%DATADIR%%/levels/draft/springboard.xml
+%%DATADIR%%/levels/draft/styrofoam-left.png
+%%DATADIR%%/levels/draft/styrofoam-right.png
+%%DATADIR%%/levels/draft/styrofoam.xml
+%%DATADIR%%/levels/draft/thank-you-stone.png
+%%DATADIR%%/levels/draft/topple-the-other-way.xml
+%%DATADIR%%/levels/draft/turn-it-around.xml
+%%DATADIR%%/levels/elce09/001.xml
+%%DATADIR%%/levels/elce09/002.xml
+%%DATADIR%%/levels/elce09/003.xml
+%%DATADIR%%/levels/elce09/004.xml
+%%DATADIR%%/levels/elce09/005.xml
+%%DATADIR%%/levels/elce09/006-stick-figure-arm.svg
+%%DATADIR%%/levels/elce09/006-stick-figure.svg
+%%DATADIR%%/levels/elce09/006.xml
+%%DATADIR%%/levels/elce09/007.xml
+%%DATADIR%%/levels/elce09/Anonymous_daffodil.klaas.svg
+%%DATADIR%%/levels/elce09/Anonymous_daffodil.svg
+%%DATADIR%%/levels/elce09/DarkerBlue.svg
+%%DATADIR%%/levels/elce09/DarkerGreen.svg
+%%DATADIR%%/levels/elce09/DarkerRed.svg
+%%DATADIR%%/levels/elce09/Empty.svg
+%%DATADIR%%/levels/elce09/README
+%%DATADIR%%/levels/elce09/White-to-green.svg
+%%DATADIR%%/levels/elce09/Yellow-to-brown.svg
+%%DATADIR%%/levels/elce09/basket.svg
+%%DATADIR%%/levels/elce09/black.svg
+%%DATADIR%%/levels/elce09/boulder.svg
+%%DATADIR%%/levels/elce09/brother-plays-soccer.xml
+%%DATADIR%%/levels/elce09/brother-soccer-leg.svg
+%%DATADIR%%/levels/elce09/brother-soccer.svg
+%%DATADIR%%/levels/elce09/coconut.svg
+%%DATADIR%%/levels/elce09/coke-crate.svg
+%%DATADIR%%/levels/elce09/dream-of-flowers.svg
+%%DATADIR%%/levels/elce09/goal-scenery.svg
+%%DATADIR%%/levels/elce09/palmtree.svg
+%%DATADIR%%/levels/elce09/right-side-frame.003.svg
+%%DATADIR%%/levels/elce09/round_coconut.svg
+%%DATADIR%%/levels/elce09/triangle.svg
+%%DATADIR%%/levels/levels.xml
+@dirrm %%DATADIR%%/images/illustrations
+@dirrm %%DATADIR%%/images
+@dirrm %%DATADIR%%/levels/draft
+@dirrm %%DATADIR%%/levels/elce09
+@dirrm %%DATADIR%%/levels
+@dirrm %%DATADIR%%