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

Collapse All | Expand All

(-)b/games/openra/Makefile (-9 / +7 lines)
Lines 48-53 NUGET_PACKAGEDIR=${WRKSRC}/thirdparty/download Link Here
48
SHEBANG_FILES=	launch-dedicated.sh
48
SHEBANG_FILES=	launch-dedicated.sh
49
MAKE_ENV=	prefix="${PREFIX}" mandir="${PREFIX}/man"
49
MAKE_ENV=	prefix="${PREFIX}" mandir="${PREFIX}/man"
50
MAKE_ARGS=	VERSION="${GH_TAGNAME}"
50
MAKE_ARGS=	VERSION="${GH_TAGNAME}"
51
ALL_TARGET=	all
51
INSTALL_TARGET=	install-all install-man-page \
52
INSTALL_TARGET=	install-all install-man-page \
52
		install-linux-mime install-linux-shortcuts
53
		install-linux-mime install-linux-shortcuts
53
DATADIR=	${PREFIX}/lib/${PORTNAME}
54
DATADIR=	${PREFIX}/lib/${PORTNAME}
Lines 68-91 ZENITY_RUN_DEPENDS=xdg-open:devel/xdg-utils \ Link Here
68
ZENITY_DESC=	Use native crash dialog
69
ZENITY_DESC=	Use native crash dialog
69
70
70
post-extract:
71
post-extract:
71
	@${MKDIR} ${WRKSRC}/thirdparty/download
72
	${CP} ${DISTFILES:C/:.*//:N*.nupkg:N*.tar*:S,^,${_DISTDIR}/,} \
72
	@${CP} -v ${DISTFILES:C/:.*//:N*.nupkg:N*.tar*:N*.zip:S,^,${_DISTDIR}/,} \
73
		${NUGET_PACKAGEDIR}
73
		${WRKSRC}/thirdparty/download
74
74
75
post-patch:
75
post-patch:
76
	${REINPLACE_CMD} -e '/[[:<:]]get[[:blank:]]/d' \
77
			${WRKSRC}/thirdparty/fetch-thirdparty-deps.sh
78
	${REINPLACE_CMD} \
76
	${REINPLACE_CMD} \
79
		-e '/echo/!s/	@/	/' \
77
		-e '/echo/!s/	@/	/' \
80
		-e '/^mods:/s/$$/ version/' \
78
		-e '/^mods:/s/$$/ version/' \
81
		-e '/^docs:/s/$$/ all/' \
82
		-e '/^test:/s/$$/ all/' \
83
		${WRKSRC}/Makefile
79
		${WRKSRC}/Makefile
80
	${REINPLACE_CMD} -e '/[[:<:]]get[[:blank:]]/d' \
81
			${WRKSRC}/thirdparty/fetch-thirdparty-deps.sh
82
	${FIND} ${WRKSRC}/thirdparty -name '*.config*' -exec ${REINPLACE_CMD} \
83
		-i '.bak.os' -e '/linux/{ p; s//${OPSYS:tl}/; }' {} +
84
	${SED} 's/@LIBLUA51@/liblua-${LUA_VER}.so/' \
84
	${SED} 's/@LIBLUA51@/liblua-${LUA_VER}.so/' \
85
		${WRKSRC}/thirdparty/Eluant.dll.config.in \
85
		${WRKSRC}/thirdparty/Eluant.dll.config.in \
86
		>${WRKSRC}/Eluant.dll.config
86
		>${WRKSRC}/Eluant.dll.config
87
	${FIND} ${WRKSRC} -name '*.config' -exec ${REINPLACE_CMD} \
88
		-e '/linux/{ p; s//${OPSYS:tl}/; }' {} +
89
87
90
post-build-DOCS-on:
88
post-build-DOCS-on:
91
	@${ECHO_MSG} Generating HTML documentation...
89
	@${ECHO_MSG} Generating HTML documentation...

Return to bug 214681