diff options
-rw-r--r-- | games/Makefile | 2 | ||||
-rw-r--r-- | games/redeclipse-data/Makefile | 2 | ||||
-rw-r--r-- | games/redeclipse-data16/Makefile | 33 | ||||
-rw-r--r-- | games/redeclipse-data16/Makefile.tuples | 38 | ||||
-rw-r--r-- | games/redeclipse-data16/distinfo | 75 | ||||
-rw-r--r-- | games/redeclipse-data16/pkg-descr | 3 | ||||
-rw-r--r-- | games/redeclipse/Makefile | 2 | ||||
-rw-r--r-- | games/redeclipse16/Makefile | 78 | ||||
-rw-r--r-- | games/redeclipse16/distinfo | 3 | ||||
-rw-r--r-- | games/redeclipse16/files/patch-config_setup.cfg | 29 | ||||
-rw-r--r-- | games/redeclipse16/files/patch-src_Makefile | 13 | ||||
-rw-r--r-- | games/redeclipse16/files/redeclipse.in | 3 | ||||
-rw-r--r-- | games/redeclipse16/files/redeclipse_server.in | 3 | ||||
-rw-r--r-- | games/redeclipse16/pkg-descr | 6 |
14 files changed, 290 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 3e5326b847df..7c080e4dc7b9 100644 --- a/games/Makefile +++ b/games/Makefile @@ -821,6 +821,8 @@ SUBDIR += re3 SUBDIR += redeclipse SUBDIR += redeclipse-data + SUBDIR += redeclipse-data16 + SUBDIR += redeclipse16 SUBDIR += redorblack SUBDIR += regoth SUBDIR += reminiscence diff --git a/games/redeclipse-data/Makefile b/games/redeclipse-data/Makefile index 7747a45439e7..e6e0e8591f9f 100644 --- a/games/redeclipse-data/Makefile +++ b/games/redeclipse-data/Makefile @@ -6,6 +6,8 @@ CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Data files for Red Eclipse first-person shooter +CONFLICTS_INSTALL=redeclipse-data16-[0-9]* + USE_GITHUB= nodefault .include "${.CURDIR}/Makefile.tuples" diff --git a/games/redeclipse-data16/Makefile b/games/redeclipse-data16/Makefile new file mode 100644 index 000000000000..ed499405cb83 --- /dev/null +++ b/games/redeclipse-data16/Makefile @@ -0,0 +1,33 @@ +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> + +PORTNAME= redeclipse-data +PORTVERSION= 1.6.0 +DISTVERSIONPREFIX= v +CATEGORIES= games +PKGNAMESUFFIX= 16 + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Data files for Red Eclipse first-person shooter + +USE_GITHUB= nodefault +GH_TUPLE= ${DATAFILES:C/.*/red-eclipse:&:${DISTVERSIONPREFIX}${PORTVERSION}:&\/&/} + +CONFLICTS_INSTALL=redeclipse-data-[0-9]* + +DATAFILES= acerspyro actors appleflap blendbrush caustics crosshairs \ + decals dziq elyvisions fonts freezurbern john jojo jwin luckystrike \ + maps mayhem mikeplus64 misc nieb nobiax particles philipk \ + projectiles props skyboxes snipergoth sounds textures torley \ + trak ulukai unnamed vanities vegetation weapons wicked + +NO_BUILD= yes +NO_ARCH= yes + +DATADIR= ${PREFIX}/share/redeclipse + +PORTDATA= * + +do-install: + @cd ${WRKSRC} && ${COPYTREE_SHARE} "${DATAFILES}" ${STAGEDIR}${DATADIR} + +.include <bsd.port.mk> diff --git a/games/redeclipse-data16/Makefile.tuples b/games/redeclipse-data16/Makefile.tuples new file mode 100644 index 000000000000..fece9f92ca0d --- /dev/null +++ b/games/redeclipse-data16/Makefile.tuples @@ -0,0 +1,38 @@ +GH_TUPLE= redeclipse:acerspyro:b28f9b5:acerspyro/acerspyro \ + redeclipse:actors:3964c6f:actors/actors \ + redeclipse:appleflap:7ecdaf1:appleflap/appleflap \ + redeclipse:blendbrush:11bfa45:blendbrush/blendbrush \ + redeclipse:caustics:406a8c6:caustics/caustics \ + redeclipse:crosshairs:7c8665a:crosshairs/crosshairs \ + redeclipse:decals:8fd1b84:decals/decals \ + redeclipse:dziq:d8f5668:dziq/dziq \ + redeclipse:elyvisions:612185a:elyvisions/elyvisions \ + redeclipse:fonts:5b66579:fonts/fonts \ + redeclipse:freezurbern:1e4a68f:freezurbern/freezurbern \ + redeclipse:john:a229b8b:john/john \ + redeclipse:jojo:a5e6853:jojo/jojo \ + redeclipse:jwin:920773b:jwin/jwin \ + redeclipse:luckystrike:86e8784:luckystrike/luckystrike \ + redeclipse:maps:4b2394c:maps/maps \ + redeclipse:mayhem:d14343b:mayhem/mayhem \ + redeclipse:mikeplus64:67404fc:mikeplus64/mikeplus64 \ + redeclipse:misc:b8d8234:misc/misc \ + redeclipse:molexted:a7721aa:molexted/molexted \ + redeclipse:nieb:1584312:nieb/nieb \ + redeclipse:nobiax:2cb8b07:nobiax/nobiax \ + redeclipse:particles:5f98a74:particles/particles \ + redeclipse:philipk:410337c:philipk/philipk \ + redeclipse:projectiles:1824538:projectiles/projectiles \ + redeclipse:props:ed031e5:props/props \ + redeclipse:q009:d5b3fed:q009/q009 \ + redeclipse:skyboxes:a9f9989:skyboxes/skyboxes \ + redeclipse:snipergoth:af1bed3:snipergoth/snipergoth \ + redeclipse:sounds:bf90d0e:sounds/sounds \ + redeclipse:textures:fbea7e1:textures/textures \ + redeclipse:torley:d62afca:torley/torley \ + redeclipse:trak:0c6355d:trak/trak \ + redeclipse:ulukai:4cf20f4:ulukai/ulukai \ + redeclipse:unnamed:ebb4b0e:unnamed/unnamed \ + redeclipse:vanities:5574a8b:vanities/vanities \ + redeclipse:vegetation:3bfa433:vegetation/vegetation \ + redeclipse:weapons:25a7bd6:weapons/weapons \ diff --git a/games/redeclipse-data16/distinfo b/games/redeclipse-data16/distinfo new file mode 100644 index 000000000000..75ebbd1f4da1 --- /dev/null +++ b/games/redeclipse-data16/distinfo @@ -0,0 +1,75 @@ +TIMESTAMP = 1514842481 +SHA256 (red-eclipse-acerspyro-v1.6.0_GH0.tar.gz) = a361ae36e07aa4939becd8e7d45d8d39a59081f0d522370f1f7c640b557bbf1e +SIZE (red-eclipse-acerspyro-v1.6.0_GH0.tar.gz) = 2772686 +SHA256 (red-eclipse-actors-v1.6.0_GH0.tar.gz) = a766dbc1f4ae55b20b695bdb01a158eb4fc6a033855750fde37582071dd36fc2 +SIZE (red-eclipse-actors-v1.6.0_GH0.tar.gz) = 24771091 +SHA256 (red-eclipse-appleflap-v1.6.0_GH0.tar.gz) = 6a86421b173a242093ff32a63150341755eee9c8979afdfbcab91290fad09de0 +SIZE (red-eclipse-appleflap-v1.6.0_GH0.tar.gz) = 990538 +SHA256 (red-eclipse-blendbrush-v1.6.0_GH0.tar.gz) = 497d3cf3d2659ab05b7232e7d079c2194bc77892eb50231de2296bafa0689500 +SIZE (red-eclipse-blendbrush-v1.6.0_GH0.tar.gz) = 1617077 +SHA256 (red-eclipse-caustics-v1.6.0_GH0.tar.gz) = f831971c085e49bbac8999075968c0d2b3b5131891ee4c7c8f4182a31bdab5e2 +SIZE (red-eclipse-caustics-v1.6.0_GH0.tar.gz) = 780901 +SHA256 (red-eclipse-crosshairs-v1.6.0_GH0.tar.gz) = da2e505e3cc49e72c47acbc609b67a053447ce41c01bfaa289292a565e533b60 +SIZE (red-eclipse-crosshairs-v1.6.0_GH0.tar.gz) = 481799 +SHA256 (red-eclipse-decals-v1.6.0_GH0.tar.gz) = 24b48f129a093f583a64947c2a13611cff1ab60b043133cfa4c4c1a7e2159869 +SIZE (red-eclipse-decals-v1.6.0_GH0.tar.gz) = 781858 +SHA256 (red-eclipse-dziq-v1.6.0_GH0.tar.gz) = dbfc50e5f5faf53c5dd837112195de0d80f275bc6f0b963e111e63e1272222e9 +SIZE (red-eclipse-dziq-v1.6.0_GH0.tar.gz) = 9328378 +SHA256 (red-eclipse-elyvisions-v1.6.0_GH0.tar.gz) = ea051bb7176ce753094374a6a8cf27f4ea941004b44dc2c8362915a0ebb55e97 +SIZE (red-eclipse-elyvisions-v1.6.0_GH0.tar.gz) = 36434770 +SHA256 (red-eclipse-fonts-v1.6.0_GH0.tar.gz) = 329945e34b195fb916bead6881b881f6903b201557323eec89f05614d51187d0 +SIZE (red-eclipse-fonts-v1.6.0_GH0.tar.gz) = 275639 +SHA256 (red-eclipse-freezurbern-v1.6.0_GH0.tar.gz) = da9bf460e5b8681b8cbfd9d4159ed28ba276cd96184255a1d3775701f45f8d41 +SIZE (red-eclipse-freezurbern-v1.6.0_GH0.tar.gz) = 9404555 +SHA256 (red-eclipse-john-v1.6.0_GH0.tar.gz) = 6d8c6f757d98d61d4c567d501429f1991e9d3eb710cab3dc1c68d5833add1ef2 +SIZE (red-eclipse-john-v1.6.0_GH0.tar.gz) = 1188750 +SHA256 (red-eclipse-jojo-v1.6.0_GH0.tar.gz) = 118ff891b7109cdedba3011124edad1e28662904edcaa62dcd84aae246529d0b +SIZE (red-eclipse-jojo-v1.6.0_GH0.tar.gz) = 37792142 +SHA256 (red-eclipse-jwin-v1.6.0_GH0.tar.gz) = 6862a143b85be7cc3949c41a48b52dd81871ba5f1cf8402b042564b8e8a164bd +SIZE (red-eclipse-jwin-v1.6.0_GH0.tar.gz) = 1417729 +SHA256 (red-eclipse-luckystrike-v1.6.0_GH0.tar.gz) = 097b72c5edfeef3fb84e219a88e6dc7895ea41110309aadd1862960ef7d5c273 +SIZE (red-eclipse-luckystrike-v1.6.0_GH0.tar.gz) = 28151725 +SHA256 (red-eclipse-maps-v1.6.0_GH0.tar.gz) = 7883219754253b38e7d7eab2e6c8c7a65e99406a32ebf20d3054eda96bbabbb6 +SIZE (red-eclipse-maps-v1.6.0_GH0.tar.gz) = 119592917 +SHA256 (red-eclipse-mayhem-v1.6.0_GH0.tar.gz) = 5d9dc1bb7a4bab27fb1f394b83641376e9dbc24ed0d1c47b0447b59e41ff7f42 +SIZE (red-eclipse-mayhem-v1.6.0_GH0.tar.gz) = 21468180 +SHA256 (red-eclipse-mikeplus64-v1.6.0_GH0.tar.gz) = 5079070363cc3e199e24c58db63f607d7767b3a9fe38b8dfe0124b4c2eec8e90 +SIZE (red-eclipse-mikeplus64-v1.6.0_GH0.tar.gz) = 17665388 +SHA256 (red-eclipse-misc-v1.6.0_GH0.tar.gz) = 0ce1090c6a9a0bfdf9d48b4593743f090aec0bb2bd1fe3f45f506ec3fc8afb2e +SIZE (red-eclipse-misc-v1.6.0_GH0.tar.gz) = 1290674 +SHA256 (red-eclipse-nieb-v1.6.0_GH0.tar.gz) = 33ac217c256d75818517c43a60a9672c4afad3ffdc0d1ba14d4fa7b9a2e6e234 +SIZE (red-eclipse-nieb-v1.6.0_GH0.tar.gz) = 36732310 +SHA256 (red-eclipse-nobiax-v1.6.0_GH0.tar.gz) = debdec13fc09c1e74f7cc2806c7e5f4e9024435672eb34cebd95a1a4bd1999a6 +SIZE (red-eclipse-nobiax-v1.6.0_GH0.tar.gz) = 5122454 +SHA256 (red-eclipse-particles-v1.6.0_GH0.tar.gz) = 594d5594b85b591f4e9c70c21c8816b8692d51525f0dad3b9ec61daa27c2f60a +SIZE (red-eclipse-particles-v1.6.0_GH0.tar.gz) = 1653935 +SHA256 (red-eclipse-philipk-v1.6.0_GH0.tar.gz) = 4246e52ca740e6130f536dc97726d71fe7aebfb5fbf4de895ed0dfa0f85979f6 +SIZE (red-eclipse-philipk-v1.6.0_GH0.tar.gz) = 93466836 +SHA256 (red-eclipse-projectiles-v1.6.0_GH0.tar.gz) = aec8fcfe2031fbf947316017421c3504b8aa4466f892ed4c80ad451783032ac3 +SIZE (red-eclipse-projectiles-v1.6.0_GH0.tar.gz) = 4421555 +SHA256 (red-eclipse-props-v1.6.0_GH0.tar.gz) = db57d9079f2c4a4db733b2f8608c4220f01c2728992546a6b6c409f32f52c639 +SIZE (red-eclipse-props-v1.6.0_GH0.tar.gz) = 2228754 +SHA256 (red-eclipse-skyboxes-v1.6.0_GH0.tar.gz) = c29a48866dfc7028ffb928c505514e48f135e2e5d8c749e9c13bc696614305d3 +SIZE (red-eclipse-skyboxes-v1.6.0_GH0.tar.gz) = 10625755 +SHA256 (red-eclipse-snipergoth-v1.6.0_GH0.tar.gz) = ec1df4577346bafb22f5b701d05c957e55837f4811b9fe9ca38db4be0270b834 +SIZE (red-eclipse-snipergoth-v1.6.0_GH0.tar.gz) = 17486897 +SHA256 (red-eclipse-sounds-v1.6.0_GH0.tar.gz) = f21d16871cc4e378657e6933af26bf298df8c06ad777db322ce3f09175afd27c +SIZE (red-eclipse-sounds-v1.6.0_GH0.tar.gz) = 40403364 +SHA256 (red-eclipse-textures-v1.6.0_GH0.tar.gz) = 71d7c8ffefbd43b771e5afbc3166edcf88c3c15d781dbe4fb03da52fde21aa4c +SIZE (red-eclipse-textures-v1.6.0_GH0.tar.gz) = 16361601 +SHA256 (red-eclipse-torley-v1.6.0_GH0.tar.gz) = a5ad1ecb5d4a8736fb98e30a6d35e4c6dc4d41108b9ab34bcb2a6dd6111da28b +SIZE (red-eclipse-torley-v1.6.0_GH0.tar.gz) = 57189714 +SHA256 (red-eclipse-trak-v1.6.0_GH0.tar.gz) = eb9a44a83be694d0c5d16bd36599340c299994a571a669d6c76d2c7f88e4750e +SIZE (red-eclipse-trak-v1.6.0_GH0.tar.gz) = 67385534 +SHA256 (red-eclipse-ulukai-v1.6.0_GH0.tar.gz) = 255425a825a95d273c7fd9bf9b503c53015dc8a3b619177b0c28f5a34c006d6f +SIZE (red-eclipse-ulukai-v1.6.0_GH0.tar.gz) = 8602307 +SHA256 (red-eclipse-unnamed-v1.6.0_GH0.tar.gz) = b1ba5796f6962508b243f08d74183aa7276ebcaca6588e9eb9d206a260db5da3 +SIZE (red-eclipse-unnamed-v1.6.0_GH0.tar.gz) = 78727079 +SHA256 (red-eclipse-vanities-v1.6.0_GH0.tar.gz) = 620850ab25f1fd779212b85ddac5b5bef2e98c4e3665df365975195304ab68dc +SIZE (red-eclipse-vanities-v1.6.0_GH0.tar.gz) = 7673118 +SHA256 (red-eclipse-vegetation-v1.6.0_GH0.tar.gz) = 6b52c6aa300aa15ebf9a2d023c9a3e18969550353f18f54bccac2df5f1c6c35d +SIZE (red-eclipse-vegetation-v1.6.0_GH0.tar.gz) = 5742136 +SHA256 (red-eclipse-weapons-v1.6.0_GH0.tar.gz) = 868dbe58333d40d3a75ee316031437b6b2b177d665e4b8e91da54388932f20cb +SIZE (red-eclipse-weapons-v1.6.0_GH0.tar.gz) = 45028902 +SHA256 (red-eclipse-wicked-v1.6.0_GH0.tar.gz) = 556dbed8b9ca521f52c29adbee9b364320bd1ecee69700d4b98c410445726991 +SIZE (red-eclipse-wicked-v1.6.0_GH0.tar.gz) = 66677182 diff --git a/games/redeclipse-data16/pkg-descr b/games/redeclipse-data16/pkg-descr new file mode 100644 index 000000000000..9a4796073d04 --- /dev/null +++ b/games/redeclipse-data16/pkg-descr @@ -0,0 +1,3 @@ +Data files for Red Eclipse first-person shooter. + +WWW: https://www.redeclipse.net/ diff --git a/games/redeclipse/Makefile b/games/redeclipse/Makefile index 129819c19ae3..c11877ac048a 100644 --- a/games/redeclipse/Makefile +++ b/games/redeclipse/Makefile @@ -11,6 +11,8 @@ COMMENT= Single-player and multi-player first-person ego-shooter LICENSE= MIT ZLIB LICENSE_COMB= multi +CONFLICTS_INSTALL=redeclipse16-[0-9]* + BROKEN_sparc64= does not build on sparc64 RUN_DEPENDS= redeclipse-data>=${PORTVERSION}:games/redeclipse-data diff --git a/games/redeclipse16/Makefile b/games/redeclipse16/Makefile new file mode 100644 index 000000000000..9aa8f3d71e67 --- /dev/null +++ b/games/redeclipse16/Makefile @@ -0,0 +1,78 @@ +# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> + +PORTNAME= redeclipse +PORTVERSION= 1.6.0 +DISTVERSIONPREFIX= v +CATEGORIES= games +PKGNAMESUFFIX= 16 + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Single-player and multi-player first-person ego-shooter + +LICENSE= MIT ZLIB +LICENSE_COMB= multi + +CONFLICTS_INSTALL=redeclipse-[0-9]* + +BROKEN_sparc64= does not build on sparc64 + +RUN_DEPENDS= redeclipse-data16>=${PORTVERSION}:games/redeclipse-data16 + +USE_GITHUB= yes +GH_ACCOUNT= red-eclipse +GH_PROJECT= base + +USES= gmake +BUILD_WRKSRC= ${WRKSRC}/src + +SUB_FILES= ${PLIST_FILES:Mbin/*:T} + +PORTDOCS= * +PORTDATA= * + +OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS +OPTIONS_MULTI= COMPONENTS +OPTIONS_MULTI_COMPONENTS=CLIENT DEDICATED +OPTIONS_DEFAULT= CLIENT DEDICATED OPTIMIZED_CFLAGS + +CLIENT_DESC= Build client +CLIENT_USES= gl sdl xorg +CLIENT_USE= GL=gl SDL=image2,mixer2,sdl2 XORG=x11 +CLIENT_ALL_TARGET= client +CLIENT_PLIST_FILES= bin/${PORTNAME} libexec/${PORTNAME} \ + share/pixmaps/${PORTNAME}.ico +CLIENT_DESKTOP_ENTRIES= "Red Eclipse" \ + "" \ + "${PREFIX}/share/pixmaps/${PORTNAME}.ico" \ + "${PORTNAME}" \ + "Game;Shooter;" \ + "" + +DEDICATED_DESC= Build dedicated server +DEDICATED_ALL_TARGET= server +DEDICATED_PLIST_FILES= bin/${PORTNAME}_server libexec/${PORTNAME}_server + +OPTIMIZED_CFLAGS_CFLAGS= -O3 -fomit-frame-pointer -ffast-math +OPTIMIZED_CFLAGS_CXXFLAGS= -O3 -fomit-frame-pointer -ffast-math + +post-extract: + @${RM} -rf ${WRKSRC}/src/include ${WRKSRC}/src/lib + +post-patch: + @${REINPLACE_CMD} -e 's|CLIENT_PCH=.*|CLIENT_PCH=|' ${WRKSRC}/src/Makefile + +do-install: + (cd ${WRKSRC} && ${COPYTREE_SHARE} config ${STAGEDIR}${DATADIR}) + (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + +do-install-CLIENT-on: + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME}_bsd ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.ico \ + ${STAGEDIR}${PREFIX}/share/pixmaps + +do-install-DEDICATED-on: + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}_server ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME}_server_bsd ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}_server + +.include <bsd.port.mk> diff --git a/games/redeclipse16/distinfo b/games/redeclipse16/distinfo new file mode 100644 index 000000000000..9a478e5db901 --- /dev/null +++ b/games/redeclipse16/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1513953010 +SHA256 (red-eclipse-base-v1.6.0_GH0.tar.gz) = 40af4276a7dd9ffc48e31f01e63343954b3851c5b446716cf0513f579c9949ef +SIZE (red-eclipse-base-v1.6.0_GH0.tar.gz) = 13846634 diff --git a/games/redeclipse16/files/patch-config_setup.cfg b/games/redeclipse16/files/patch-config_setup.cfg new file mode 100644 index 000000000000..4f8ad12418d3 --- /dev/null +++ b/games/redeclipse16/files/patch-config_setup.cfg @@ -0,0 +1,29 @@ +Upstream commits ec1e32e1410f51c336e893ecfb56f728fdcc1a92, +bb4b6862f802c040ef67484942e91f7c3d88e649: fix hiding HUD +permanently when HUDless screenshot is taken. +diff --git config/setup.cfg config/setup.cfg +index 4edcf170..e6888f81 100644 +--- config/setup.cfg ++++ config/setup.cfg +@@ -316,9 +316,19 @@ dobindsearch = [ + [search@[arg2]binds] $arg1 5 "^f{" "}" (? $textkeyseps (? $textkeyimages "|" ", ") (? $textkeyimages "" " ")) (? $textkeyseps (? $textkeyimages "|" " or ") (? $textkeyimages "" " ")) + ] + ++// screenshotnohud: Takes a screenshot without a hud ++// The screenshot and the hud showing are delayed to prevent any issues since ++// the game skips a few frames while taking a screenshot. ++canscreenshotnohud = 1 + screenshotnohud = [ +- sleep 50 [ screenshot; showhud @showhud ] +- showhud 0 ++ if $canscreenshotnohud [ ++ canscreenshotnohud = 0 // Lock screenshotting without a hud for the 50ms duration ++ hudwasshown = $showhud // Previous $showhud state ++ if $hudwasshown [showhud 0] // Hide hud if it was shown ++ sleep 25 [screenshot] ++ // Restore hud if it was shown and restore screenshotting. ++ sleep 50 [showhud $hudwasshown; canscreenshotnohud = 1] ++ ] + ] + + listcomplete vdelta [ diff --git a/games/redeclipse16/files/patch-src_Makefile b/games/redeclipse16/files/patch-src_Makefile new file mode 100644 index 000000000000..95c5dfa2c78b --- /dev/null +++ b/games/redeclipse16/files/patch-src_Makefile @@ -0,0 +1,13 @@ +--- src/Makefile.orig 2016-06-30 04:34:23 UTC ++++ src/Makefile +@@ -82,8 +82,8 @@ else + BIN_SUFFIX=_native + endif + endif +-CLIENT_INCLUDES= $(INCLUDES) -I/usr/X11R6/include `sdl2-config --cflags` +-CLIENT_LIBS= -Lenet -lenet -L/usr/X11R6/lib -lX11 `sdl2-config --libs` -lSDL2_image -lSDL2_mixer -lz -lGL ++CLIENT_INCLUDES= $(INCLUDES) -I${LOCALBASE}/include `sdl2-config --cflags` ++CLIENT_LIBS= -Lenet -lenet -L${LOCALBASE}/lib -lX11 `sdl2-config --libs` -lSDL2_image -lSDL2_mixer -lz -lGL + endif + ifneq (,$(findstring linux,$(PLATFORM))) + CLIENT_LIBS+= -lrt diff --git a/games/redeclipse16/files/redeclipse.in b/games/redeclipse16/files/redeclipse.in new file mode 100644 index 000000000000..5e85841d7f38 --- /dev/null +++ b/games/redeclipse16/files/redeclipse.in @@ -0,0 +1,3 @@ +#!/bin/sh + +cd %%DATADIR%% && exec %%PREFIX%%/libexec/redeclipse "$@" diff --git a/games/redeclipse16/files/redeclipse_server.in b/games/redeclipse16/files/redeclipse_server.in new file mode 100644 index 000000000000..97aa8ccf3779 --- /dev/null +++ b/games/redeclipse16/files/redeclipse_server.in @@ -0,0 +1,3 @@ +#!/bin/sh + +cd %%DATADIR%% && exec %%PREFIX%%/libexec/redeclipse_server "$@" diff --git a/games/redeclipse16/pkg-descr b/games/redeclipse16/pkg-descr new file mode 100644 index 000000000000..2119b27f9727 --- /dev/null +++ b/games/redeclipse16/pkg-descr @@ -0,0 +1,6 @@ +Red Eclipse is a single-player and multi-player first-person ego-shooter, +built as a total conversion of Cube Engine 2, which lends itself toward +a balanced gameplay, with a general theme of agility in a variety of +environments. + +WWW: https://www.redeclipse.net/ |