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

Collapse All | Expand All

(-)b/games/warzone2100/Makefile (-8 / +6 lines)
Lines 23-38 LIB_DEPENDS= libphysfs.so:devel/physfs \ Link Here
23
		libharfbuzz.so:print/harfbuzz \
23
		libharfbuzz.so:print/harfbuzz \
24
		libsodium.so:security/libsodium \
24
		libsodium.so:security/libsodium \
25
		libcurl.so:ftp/curl \
25
		libcurl.so:ftp/curl \
26
		libsqlite3.so:databases/sqlite3 \
27
		libminiupnpc.so:net/miniupnpc \
26
		libminiupnpc.so:net/miniupnpc \
28
		libopusfile.so:audio/opusfile \
27
		libopusfile.so:audio/opusfile \
29
		libopus.so:audio/opus
28
		libopus.so:audio/opus
30
RUN_DEPENDS=	${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu
29
RUN_DEPENDS=	${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu
31
30
32
USES=		cmake bison compiler:c++11-lib gl openal:al pkgconfig \
31
USES=		cmake bison compiler:c++11-lib gl openal:al pkgconfig \
33
		sdl tar:xz
32
		sdl sqlite tar:xz
34
USE_GL=		gl
33
USE_GL=		gl
35
USE_SDL=	sdl2
34
USE_SDL=	sdl2
35
36
EXTRACT_AFTER_ARGS=	--exclude 3rdparty/miniupnp \
37
			--exclude 3rdparty/SQLiteCpp/sqlite3 \
38
			--exclude lib/sound/3rdparty
39
36
CMAKE_ARGS=	-DWZ_DISTRIBUTOR="FreeBSD ports" \
40
CMAKE_ARGS=	-DWZ_DISTRIBUTOR="FreeBSD ports" \
37
		-DCMAKE_DISABLE_FIND_PACKAGE_Asciidoctor=TRUE \
41
		-DCMAKE_DISABLE_FIND_PACKAGE_Asciidoctor=TRUE \
38
	       	-DCMAKE_DISABLE_FIND_PACKAGE_Git=TRUE \
42
	       	-DCMAKE_DISABLE_FIND_PACKAGE_Git=TRUE \
Lines 67-76 post-patch: Link Here
67
	@${FIND} ${WRKSRC} -type f -iname "*cmake*" -exec \
71
	@${FIND} ${WRKSRC} -type f -iname "*cmake*" -exec \
68
		${REINPLACE_CMD} -i '' -e '/find_package(Git/d' {} \;
72
		${REINPLACE_CMD} -i '' -e '/find_package(Git/d' {} \;
69
73
70
post-extract:
71
.for bundled in miniupnp SQLiteCpp/sqlite3
72
	@${RM} -rf ${WRKSRC}/3rdparty/${bundled}
73
.endfor
74
	@${RM} -rf ${WRKSRC}/lib/sound/3rdparty
75
76
.include <bsd.port.mk>
74
.include <bsd.port.mk>

Return to bug 278752