1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

- Update to version 0.9.2.1

- MASTER_SITES moved to Github
This commit is contained in:
Johan van Selst 2015-12-14 11:35:58 +00:00
parent 4de5b42491
commit b1e7714310
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403716
3 changed files with 18 additions and 24 deletions

View File

@ -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>

View File

@ -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

View File

@ -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/