Index: head/games/tbe/Makefile =================================================================== --- head/games/tbe/Makefile (revision 403715) +++ head/games/tbe/Makefile (revision 403716) @@ -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 + @${REINPLACE_CMD} 's/ make/ $$(MAKE)/' \ + ${WRKSRC}/Makefile + @${REINPLACE_CMD} 's:/share/games/tbe/:/share/tbe/:' \ + ${WRKSRC}/CMakeLists.txt ${WRKSRC}/src/tbe_paths.h -pre-configure: - # This is supposedly done by the ./configure script - @cd ${WRKSRC}/3rdParty && ${MAKE_CMD} - 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 Index: head/games/tbe/distinfo =================================================================== --- head/games/tbe/distinfo (revision 403715) +++ head/games/tbe/distinfo (revision 403716) @@ -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 Index: head/games/tbe/pkg-descr =================================================================== --- head/games/tbe/pkg-descr (revision 403715) +++ head/games/tbe/pkg-descr (revision 403716) @@ -1,9 +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 +WWW: http://the-butterfly-effect.org/