diff options
author | johans <johans@FreeBSD.org> | 2016-01-01 06:05:14 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2016-01-01 06:05:14 +0800 |
commit | 22ce7c82eaf072d30e454f429e34b4a9cfd5ef72 (patch) | |
tree | 9a30c2b9a13dd16c6267ac7c589bc52c3aa0b34c /games | |
parent | 23468bdceab4ae656f6db9c5b41b4c9edf223c3b (diff) | |
download | freebsd-ports-gnome-22ce7c82eaf072d30e454f429e34b4a9cfd5ef72.tar.gz freebsd-ports-gnome-22ce7c82eaf072d30e454f429e34b4a9cfd5ef72.tar.zst freebsd-ports-gnome-22ce7c82eaf072d30e454f429e34b4a9cfd5ef72.zip |
- 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
Diffstat (limited to 'games')
-rw-r--r-- | games/tbe/Makefile | 30 | ||||
-rw-r--r-- | games/tbe/files/patch-src_model_World.h | 10 |
2 files changed, 20 insertions, 20 deletions
diff --git a/games/tbe/Makefile b/games/tbe/Makefile index a3f1ab88bfe0..ed99f218971d 100644 --- a/games/tbe/Makefile +++ b/games/tbe/Makefile @@ -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@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> diff --git a/games/tbe/files/patch-src_model_World.h b/games/tbe/files/patch-src_model_World.h new file mode 100644 index 000000000000..f865074acebd --- /dev/null +++ b/games/tbe/files/patch-src_model_World.h @@ -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; |