aboutsummaryrefslogtreecommitdiff
path: root/games/tbe
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2015-12-14 11:35:58 +0000
committerJohan van Selst <johans@FreeBSD.org>2015-12-14 11:35:58 +0000
commitb1e77143106d60c0f6ae51b88709049c6b80c5b7 (patch)
tree761fe67a5be19c7de7ad8b9dafbf0b9536efbf50 /games/tbe
parent4de5b424917755d14e9f1e2092fe8c277f9b0e83 (diff)
downloadports-b1e77143106d60c0f6ae51b88709049c6b80c5b7.tar.gz
ports-b1e77143106d60c0f6ae51b88709049c6b80c5b7.zip
Notes
Diffstat (limited to 'games/tbe')
-rw-r--r--games/tbe/Makefile36
-rw-r--r--games/tbe/distinfo4
-rw-r--r--games/tbe/pkg-descr2
3 files changed, 18 insertions, 24 deletions
diff --git a/games/tbe/Makefile b/games/tbe/Makefile
index 9cb74c4eddd6..0d32429cb3dd 100644
--- a/games/tbe/Makefile
+++ b/games/tbe/Makefile
@@ -1,45 +1,39 @@
# $FreeBSD$
PORTNAME= tbe
-PORTVERSION= 9
+PORTVERSION= v0.9.2.1
+PORTEPOCH= 1
CATEGORIES= games
-MASTER_SITES= SF/${PORTNAME}/Milestone%20${PORTVERSION}
-DISTNAME= TheButterflyEffect-M${PORTVERSION}.src
MAINTAINER= johans@FreeBSD.org
COMMENT= The Butterfly Effect
-BROKEN= unfetchable
BUILD_DEPENDS= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
-USES= qmake gmake tar:tgz
-USE_QT4= corelib gui moc_build rcc_build svg uic_build xml
-WRKSRC= ${WRKDIR}/TheButterflyEffect-M${PORTVERSION}rc3
+USES= gmake tar:tgz
+USE_QT4= corelib gui linguist moc_build rcc_build svg uic_build xml
-PLIST_FILES= bin/tbe
+USE_GITHUB= yes
+GH_ACCOUNT= kaa-ching
+
+INSTALLS_ICONS= yes
PORTDATA= *
+PORTDOCS= *
DESKTOP_ENTRIES="The Butterfly Effect" "Inspired by The Incredible Machine" \
- "${DATADIR}/images/tbe-icon.png" \
+ "${DATADIR}/imagery/tbe-icon.png" \
"${PREFIX}/bin/tbe" "LogicGame;Game;" false
post-patch:
- @${REINPLACE_CMD} 's/ make/ ${MAKE_CMD}/' \
- ${WRKSRC}/3rdParty/Makefile
- @${REINPLACE_CMD} 's/debug/release link_prl/' ${WRKSRC}/tbe.pro
- @${SED} 's:%%DATADIR:QString("${DATADIR}"):' \
- ${WRKSRC}/src/tbe_global.h.in > ${WRKSRC}/src/tbe_global.h
- @${REINPLACE_CMD} -e '/ensure that no-one tries to build/,$$d' \
- ${WRKSRC}/tbe.pro
-
-pre-configure:
- # This is supposedly done by the ./configure script
- @cd ${WRKSRC}/3rdParty && ${MAKE_CMD}
+ @${REINPLACE_CMD} 's/ make/ $$(MAKE)/' \
+ ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} 's:/share/games/tbe/:/share/tbe/:' \
+ ${WRKSRC}/CMakeLists.txt ${WRKSRC}/src/tbe_paths.h
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${DATADIR}
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
- cd ${WRKSRC} && ${PAX} -rw images levels ${STAGEDIR}${DATADIR}
+ cd ${WRKSRC}/usr && ${PAX} -rw share ${STAGEDIR}${PREFIX}
.include <bsd.port.mk>
diff --git a/games/tbe/distinfo b/games/tbe/distinfo
index 14595ee2528d..44d818786879 100644
--- a/games/tbe/distinfo
+++ b/games/tbe/distinfo
@@ -1,2 +1,2 @@
-SHA256 (TheButterflyEffect-M9.src.tgz) = d7e01c200cbc2f2df89bafa29ab6bcf28cc7b7fbf58ea8e5224f000b776ad9c3
-SIZE (TheButterflyEffect-M9.src.tgz) = 5895379
+SHA256 (kaa-ching-tbe-v0.9.2.1_GH0.tgz) = afffea8df53c5e805a79963e0358fd1d6e8fdc735bbb4d4315cd4d1571c244b3
+SIZE (kaa-ching-tbe-v0.9.2.1_GH0.tgz) = 17563586
diff --git a/games/tbe/pkg-descr b/games/tbe/pkg-descr
index c9070fc7bc6e..7ddeef9cf1b5 100644
--- a/games/tbe/pkg-descr
+++ b/games/tbe/pkg-descr
@@ -6,4 +6,4 @@ 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
+WWW: http://the-butterfly-effect.org/