Lines 1-14
Link Here
|
1 |
PORTNAME= openra |
1 |
PORTNAME= openra |
2 |
DISTVERSIONPREFIX= release- |
2 |
DISTVERSIONPREFIX= release- |
3 |
DISTVERSION= 20200503 |
3 |
DISTVERSION= 20210321 |
4 |
PORTREVISION= 5 |
|
|
5 |
CATEGORIES= games |
4 |
CATEGORIES= games |
6 |
MASTER_SITES= https://download.ip2location.com/lite/:ip2location |
5 |
MASTER_SITES= https://download.ip2location.com/lite/:ip2location |
7 |
DISTFILES= IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP:ip2location |
6 |
DISTFILES= IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP:ip2location |
8 |
|
7 |
|
9 |
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ |
8 |
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ |
10 |
PATCHFILES+= e13fd693c386.patch:-p1 # https://github.com/OpenRA/OpenRA/pull/17744 |
9 |
PATCHFILES+= ee0d37f2b1c4.patch:-p1 # https://github.com/OpenRA/OpenRA/pull/20041 |
11 |
PATCHFILES+= 85096c4ba2fb.patch:-p1 # https://github.com/OpenRA/OpenRA/pull/17744 |
|
|
12 |
|
10 |
|
13 |
MAINTAINER= jbeich@FreeBSD.org |
11 |
MAINTAINER= jbeich@FreeBSD.org |
14 |
COMMENT= Multiplayer re-envisioning of early RTS games by Westwood Studios |
12 |
COMMENT= Multiplayer re-envisioning of early RTS games by Westwood Studios |
Lines 19-25
LICENSE= GPLv3
Link Here
|
19 |
BUILD_DEPENDS= msbuild:devel/msbuild |
17 |
BUILD_DEPENDS= msbuild:devel/msbuild |
20 |
LIB_DEPENDS= libfreetype.so:print/freetype2 \ |
18 |
LIB_DEPENDS= libfreetype.so:print/freetype2 \ |
21 |
libgdiplus.so:x11-toolkits/libgdiplus |
19 |
libgdiplus.so:x11-toolkits/libgdiplus |
22 |
NUGET_DEPENDS= Microsoft.NETFramework.ReferenceAssemblies=1.0.0 \ |
20 |
NUGET_DEPENDS= DiscordRichPresence=1.0.150 \ |
|
|
21 |
Microsoft.NETFramework.ReferenceAssemblies=1.0.0 \ |
23 |
Microsoft.NETFramework.ReferenceAssemblies.net472=1.0.0 \ |
22 |
Microsoft.NETFramework.ReferenceAssemblies.net472=1.0.0 \ |
24 |
NUnit=3.12.0 \ |
23 |
NUnit=3.12.0 \ |
25 |
NUnit.Console=3.11.1 \ |
24 |
NUnit.Console=3.11.1 \ |
Lines 30-42
NUGET_DEPENDS= Microsoft.NETFramework.ReferenceAssemblies=1.0.0 \
Link Here
|
30 |
NUnit.Extension.TeamCityEventListener=1.0.7 \ |
29 |
NUnit.Extension.TeamCityEventListener=1.0.7 \ |
31 |
NUnit.Extension.VSProjectLoader=3.8.0 \ |
30 |
NUnit.Extension.VSProjectLoader=3.8.0 \ |
32 |
NUnit3TestAdapter=3.16.1 \ |
31 |
NUnit3TestAdapter=3.16.1 \ |
|
|
32 |
Newtonsoft.Json=12.0.2 \ |
33 |
NuGet.CommandLine=4.4.1 \ |
33 |
NuGet.CommandLine=4.4.1 \ |
34 |
OpenRA-Eluant=1.0.17 \ |
34 |
OpenRA-Eluant=1.0.17 \ |
35 |
OpenRA-Freetype6=1.0.4 \ |
35 |
OpenRA-Freetype6=1.0.4 \ |
36 |
OpenRA-FuzzyLogicLibrary=1.0.1 \ |
36 |
OpenRA-FuzzyLogicLibrary=1.0.1 \ |
37 |
OpenRA-Open.NAT=1.0.0 \ |
37 |
OpenRA-Open.NAT=1.0.0 \ |
38 |
OpenRA-OpenAL-CS=1.0.16 \ |
38 |
OpenRA-OpenAL-CS=1.0.16 \ |
39 |
OpenRA-SDL2-CS=1.0.26 \ |
39 |
OpenRA-SDL2-CS=1.0.28 \ |
40 |
SharpZipLib=1.2.0 \ |
40 |
SharpZipLib=1.2.0 \ |
41 |
StyleCop.Analyzers=1.1.118 \ |
41 |
StyleCop.Analyzers=1.1.118 \ |
42 |
rix0rrr.BeaconLib=1.0.2 |
42 |
rix0rrr.BeaconLib=1.0.2 |
Lines 51-58
USE_SDL= sdl2
Link Here
|
51 |
MAKE_ENV= prefix="${PREFIX}" \ |
51 |
MAKE_ENV= prefix="${PREFIX}" \ |
52 |
gameinstalldir="${DATADIR}" |
52 |
gameinstalldir="${DATADIR}" |
53 |
ALL_TARGET= all |
53 |
ALL_TARGET= all |
54 |
INSTALL_TARGET= install install-man-page \ |
54 |
INSTALL_TARGET= install install-man install-linux-appdata install-linux-shortcuts |
55 |
install-linux-appdata install-linux-mime install-linux-shortcuts |
|
|
56 |
PORTDATA= * |
55 |
PORTDATA= * |
57 |
|
56 |
|
58 |
.include <bsd.port.pre.mk> |
57 |
.include <bsd.port.pre.mk> |
Lines 69-79
post-patch:
Link Here
|
69 |
-e 's/ -verbosity:m//' \ |
68 |
-e 's/ -verbosity:m//' \ |
70 |
-e '/echo/!s/ @/ /' \ |
69 |
-e '/echo/!s/ @/ /' \ |
71 |
-e '/^VERSION/s/=.*/= ${GH_TAGNAME}/' \ |
70 |
-e '/^VERSION/s/=.*/= ${GH_TAGNAME}/' \ |
72 |
-e '/^core:/s/$$/ version/' \ |
71 |
-e '/^all:/s/$$/ version/' \ |
73 |
${WRKSRC}/Makefile |
72 |
${WRKSRC}/Makefile |
74 |
.if defined(PATCHFILES) |
|
|
75 |
${CHMOD} +x ${WRKSRC}/configure-system-libraries.sh |
76 |
.endif |
77 |
${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' \ |
73 |
${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' \ |
78 |
-e '/target/s,$${DIR}/,,' \ |
74 |
-e '/target/s,$${DIR}/,,' \ |
79 |
${WRKSRC}/configure-system-libraries.sh |
75 |
${WRKSRC}/configure-system-libraries.sh |
Lines 81-86
post-patch:
Link Here
|
81 |
do-test: |
77 |
do-test: |
82 |
@(cd ${TEST_WRKSRC} && mono \ |
78 |
@(cd ${TEST_WRKSRC} && mono \ |
83 |
${NUGET_PACKAGEDIR}/NUnit.ConsoleRunner/tools/nunit3-console.exe \ |
79 |
${NUGET_PACKAGEDIR}/NUnit.ConsoleRunner/tools/nunit3-console.exe \ |
84 |
--noresult OpenRA.Test.dll) |
80 |
--noresult bin/OpenRA.Test.dll) |
85 |
|
81 |
|
86 |
.include <bsd.port.post.mk> |
82 |
.include <bsd.port.post.mk> |