Lines 44-50
NO_ARCH= yes
Link Here
|
44 |
USES= desktop-file-utils gmake lua:51,run mono:nuget openal:soft \ |
44 |
USES= desktop-file-utils gmake lua:51,run mono:nuget openal:soft \ |
45 |
shared-mime-info shebangfix |
45 |
shared-mime-info shebangfix |
46 |
USE_SDL= sdl2 |
46 |
USE_SDL= sdl2 |
47 |
TARGET_ORDER_OVERRIDE= 520:nuget-extract |
47 |
NUGET_PACKAGEDIR=${WRKSRC}/thirdparty/download |
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}" |
Lines 71-84
post-extract:
Link Here
|
71 |
@${MKDIR} ${WRKSRC}/thirdparty/download |
71 |
@${MKDIR} ${WRKSRC}/thirdparty/download |
72 |
@${CP} -v ${DISTFILES:C/:.*//:N*.nupkg:N*.tar*:N*.zip:S,^,${_DISTDIR}/,} \ |
72 |
@${CP} -v ${DISTFILES:C/:.*//:N*.nupkg:N*.tar*:N*.zip:S,^,${_DISTDIR}/,} \ |
73 |
${WRKSRC}/thirdparty/download |
73 |
${WRKSRC}/thirdparty/download |
74 |
@for f in $$(${SED} -n 's/\.$$//; s,cp \./,,p' \ |
|
|
75 |
${WRKSRC}/thirdparty/fetch-thirdparty-deps.sh); do \ |
76 |
${MV} -v ${NUGET_PACKAGEDIR}/$$f ${WRKSRC}/thirdparty/download; \ |
77 |
done |
78 |
|
74 |
|
79 |
post-patch: |
75 |
post-patch: |
|
|
76 |
${REINPLACE_CMD} -e '/[[:<:]]get[[:blank:]]/d' \ |
77 |
${WRKSRC}/thirdparty/fetch-thirdparty-deps.sh |
80 |
${REINPLACE_CMD} \ |
78 |
${REINPLACE_CMD} \ |
81 |
-e '\,thirdparty/.*\.sh,d' \ |
|
|
82 |
-e '/echo/!s/ @/ /' \ |
79 |
-e '/echo/!s/ @/ /' \ |
83 |
-e '/^mods:/s/$$/ version/' \ |
80 |
-e '/^mods:/s/$$/ version/' \ |
84 |
-e '/^docs:/s/$$/ all/' \ |
81 |
-e '/^docs:/s/$$/ all/' \ |