View | Details | Raw Unified | Return to bug 205742
Collapse All | Expand All

(-)Makefile (-20 / +10 lines)
Lines 1-41 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	tbe
3
PORTNAME=	tbe
4
PORTVERSION=	v0.9.2.1
4
PORTVERSION=	0.9.2.1
5
PORTEPOCH=	1
5
PORTEPOCH=	1
6
CATEGORIES=	games
6
CATEGORIES=	games
7
DISTVERSIONPREFIX=	v
7
8
8
MAINTAINER=	johans@FreeBSD.org
9
MAINTAINER=	johans@FreeBSD.org
9
COMMENT=	The Butterfly Effect
10
COMMENT=	The Butterfly Effect
10
11
11
BROKEN=		fails to build
12
13
BUILD_DEPENDS=	${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
12
BUILD_DEPENDS=	${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
14
LIB_DEPENDS=	libexecinfo.so:${PORTSDIR}/devel/libexecinfo
15
13
16
USES=		gmake tar:tgz
14
USES=		cmake compiler:c++11-lib execinfo gmake tar:tgz
17
USE_QT4=	corelib gui linguist moc_build rcc_build svg uic_build xml
15
USE_QT4=	gui linguisttools_build moc_build qmake_build rcc_build \
16
		svg uic_build xml
18
17
19
USE_GITHUB=	yes
18
USE_GITHUB=	yes
20
GH_ACCOUNT=	kaa-ching
19
GH_ACCOUNT=	kaa-ching
21
20
22
INSTALLS_ICONS=	yes
23
PORTDATA=	*
21
PORTDATA=	*
24
PORTDOCS=	*
22
PORTDOCS=	*
25
23
26
DESKTOP_ENTRIES="The Butterfly Effect" "Inspired by The Incredible Machine" \
27
		"${DATADIR}/imagery/tbe-icon.png" \
28
		"${PREFIX}/bin/tbe" "LogicGame;Game;" false
29
30
post-patch:
24
post-patch:
31
		@${REINPLACE_CMD} 's/ make/ $$(MAKE)/' \
25
	@${REINPLACE_CMD} 's/ make/ $$(MAKE)/' \
32
			${WRKSRC}/Makefile
26
		${WRKSRC}/Makefile
33
		@${REINPLACE_CMD} 's:/share/games/tbe/:/share/tbe/:' \
27
	@${REINPLACE_CMD} -e 's:/share/games/tbe/:/share/tbe/:' \
34
			${WRKSRC}/CMakeLists.txt ${WRKSRC}/src/tbe_paths.h
28
		-e 's:/usr:${PREFIX}: ; s:/games:/bin:' \
29
		${WRKSRC}/CMakeLists.txt ${WRKSRC}/src/tbe_paths.h
35
30
36
do-install:
37
		@${MKDIR} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${DATADIR}
38
		${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
39
		cd ${WRKSRC}/usr && ${PAX} -rw share ${STAGEDIR}${PREFIX}
40
41
.include <bsd.port.mk>
31
.include <bsd.port.mk>
(-)files/patch-src_model_World.h (+13 lines)
Line 0 Link Here
1
--- src/model/World.h.orig	2015-12-30 21:31:37 UTC
2
+++ src/model/World.h
3
@@ -31,6 +31,7 @@
4
 #include <QtCore/QSet>
5
 
6
 #include <unordered_map>
7
+#include <vector>
8
 
9
 // Forward Definitions:
10
 class Goal;
11
yes
12
native
13
text/plain
(-)pkg-plist (+10 lines)
Line 0 Link Here
1
bin/tbe
2
share/applications/tbe.desktop
3
share/icons/hicolor/128x128/apps/tbe.png
4
share/icons/hicolor/16x16/apps/tbe.png
5
share/icons/hicolor/32x32/apps/tbe.png
6
share/icons/hicolor/48x48/apps/tbe.png
7
share/icons/hicolor/64x64/apps/tbe.png
8
yes
9
native
10
text/plain

Return to bug 205742