View | Details | Raw Unified | Return to bug 278738 | Differences between
and this patch

Collapse All | Expand All

(-)b/games/irrlamb/Makefile (-7 / +8 lines)
Lines 14-20 LICENSE_FILE= ${WRKSRC}/LICENSE Link Here
14
LIB_DEPENDS=	libfreetype.so:print/freetype2 \
14
LIB_DEPENDS=	libfreetype.so:print/freetype2 \
15
		libvorbis.so:audio/libvorbis \
15
		libvorbis.so:audio/libvorbis \
16
		libogg.so:audio/libogg \
16
		libogg.so:audio/libogg \
17
		libsqlite3.so:databases/sqlite3 \
18
		libpng.so:graphics/png \
17
		libpng.so:graphics/png \
19
		libtinyxml2.so:textproc/tinyxml2 \
18
		libtinyxml2.so:textproc/tinyxml2 \
20
		libIrrlicht.so:x11-toolkits/irrlicht \
19
		libIrrlicht.so:x11-toolkits/irrlicht \
Lines 22-32 LIB_DEPENDS= libfreetype.so:print/freetype2 \ Link Here
22
		libccd.so:math/libccd
21
		libccd.so:math/libccd
23
BUILD_DEPENDS=	${LOCALBASE}/include/glm/vec3.hpp:math/glm
22
BUILD_DEPENDS=	${LOCALBASE}/include/glm/vec3.hpp:math/glm
24
23
24
EXTRACT_AFTER_ARGS=	--exclude src/glm \
25
			--exclude src/libccd \
26
			--exclude src/irrlicht \
27
			--exclude src/lua \
28
			--exclude src/tinyxml2 \
29
			--exclude src/ode
30
25
USE_GITHUB=	yes
31
USE_GITHUB=	yes
26
GH_ACCOUNT=	jazztickets
32
GH_ACCOUNT=	jazztickets
27
GH_TUPLE:=	${GH_ACCOUNT}:cmake:6e3586a:cmake/cmake
33
GH_TUPLE:=	${GH_ACCOUNT}:cmake:6e3586a:cmake/cmake
28
34
29
USES=		cmake compiler:c++11-lib gl jpeg openal xorg lua:53
35
USES=		cmake compiler:c++11-lib gl jpeg openal sqlite xorg lua:53
30
USE_XORG=	x11 xrandr xext xxf86vm
36
USE_XORG=	x11 xrandr xext xxf86vm
31
USE_GL=		gl
37
USE_GL=		gl
32
CONFIGURE_ENV=	LOCALBASE="${LOCALBASE}"
38
CONFIGURE_ENV=	LOCALBASE="${LOCALBASE}"
Lines 45-55 PLIST_FILES= bin/irrlamb \ Link Here
45
51
46
OPTIONS_DEFINE=	DOCS
52
OPTIONS_DEFINE=	DOCS
47
53
48
post-extract:
49
.for bundled in glm irrlicht libccd lua tinyxml2 ode
50
	@${RM} -r ${WRKSRC}/src/${bundled}
51
.endfor
52
53
post-patch:
54
post-patch:
54
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/cmake/*.cmake
55
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/cmake/*.cmake
55
	@${REINPLACE_CMD} -e 's|tinyxml2/tinyxml2.h|tinyxml2.h|g' ${WRKSRC}/src/*.cpp
56
	@${REINPLACE_CMD} -e 's|tinyxml2/tinyxml2.h|tinyxml2.h|g' ${WRKSRC}/src/*.cpp

Return to bug 278738