svn commit: r404965 - in head/games/tbe: . files
Johan van Selst
johans at FreeBSD.org
Thu Dec 31 22:05:16 UTC 2015
Author: johans
Date: Thu Dec 31 22:05:14 2015
New Revision: 404965
URL: https://svnweb.freebsd.org/changeset/ports/404965
Log:
- Fix build, needs cmake, qmake and USES=compiler:c++11-lib
- Switch to USES=execinfo
- USE_QT4=linguisttools_build for less build dependencies
- Remove INSTALLS_ICONS, it's GTk+ apps only
- Remove DESKTOP_ENTRIES, port installs it's own now
- Fix project CMakeLists.txt to respect PREFIX and install
files to correct paths
PR: 205742
Submitted by: pawel
Added:
head/games/tbe/files/
head/games/tbe/files/patch-src_model_World.h (contents, props changed)
Modified:
head/games/tbe/Makefile
Modified: head/games/tbe/Makefile
==============================================================================
--- head/games/tbe/Makefile Thu Dec 31 22:00:34 2015 (r404964)
+++ head/games/tbe/Makefile Thu Dec 31 22:05:14 2015 (r404965)
@@ -1,41 +1,31 @@
# $FreeBSD$
PORTNAME= tbe
-PORTVERSION= v0.9.2.1
+PORTVERSION= 0.9.2.1
PORTEPOCH= 1
CATEGORIES= games
+DISTVERSIONPREFIX= v
MAINTAINER= johans at FreeBSD.org
COMMENT= The Butterfly Effect
-BROKEN= fails to build
-
BUILD_DEPENDS= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
-LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
-USES= gmake tar:tgz
-USE_QT4= corelib gui linguist moc_build rcc_build svg uic_build xml
+USES= cmake compiler:c++11-lib execinfo gmake tar:tgz
+USE_QT4= gui linguisttools_build moc_build qmake_build rcc_build \
+ svg uic_build xml
USE_GITHUB= yes
GH_ACCOUNT= kaa-ching
-INSTALLS_ICONS= yes
PORTDATA= *
PORTDOCS= *
-DESKTOP_ENTRIES="The Butterfly Effect" "Inspired by The Incredible Machine" \
- "${DATADIR}/imagery/tbe-icon.png" \
- "${PREFIX}/bin/tbe" "LogicGame;Game;" false
-
post-patch:
- @${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}/usr && ${PAX} -rw share ${STAGEDIR}${PREFIX}
+ @${REINPLACE_CMD} 's/ make/ $$(MAKE)/' \
+ ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's:/share/games/tbe/:/share/tbe/:' \
+ -e 's:/usr:${PREFIX}: ; s:/games:/bin:' \
+ ${WRKSRC}/CMakeLists.txt ${WRKSRC}/src/tbe_paths.h
.include <bsd.port.mk>
Added: head/games/tbe/files/patch-src_model_World.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/tbe/files/patch-src_model_World.h Thu Dec 31 22:05:14 2015 (r404965)
@@ -0,0 +1,10 @@
+--- src/model/World.h.orig 2015-12-30 21:31:37 UTC
++++ src/model/World.h
+@@ -31,6 +31,7 @@
+ #include <QtCore/QSet>
+
+ #include <unordered_map>
++#include <vector>
+
+ // Forward Definitions:
+ class Goal;
More information about the svn-ports-head
mailing list