aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2024-03-01 03:42:52 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2024-03-01 21:05:58 +0000
commit6d27ef0eccb6993c1cdcd7215ca12ee3e06c129a (patch)
tree784c7cc3a8b79a9aabeb3fc6f06a8287ce3ac8e6
parent1e73042afacca0ba5a805f5077bcd0cb28aec953 (diff)
downloadports-6d27ef0eccb6993c1cdcd7215ca12ee3e06c129a.tar.gz
ports-6d27ef0eccb6993c1cdcd7215ca12ee3e06c129a.zip
games/Nanosaur: Nanosaur source port
-rw-r--r--games/Makefile1
-rw-r--r--games/Nanosaur/Makefile29
-rw-r--r--games/Nanosaur/distinfo5
-rwxr-xr-xgames/Nanosaur/files/Nanosaur.in5
-rw-r--r--games/Nanosaur/pkg-descr4
-rw-r--r--games/Nanosaur/pkg-plist110
6 files changed, 154 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 5b46ffd91149..e91f3b413c00 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -19,6 +19,7 @@
SUBDIR += KnightCap
SUBDIR += LibreMines
SUBDIR += NBlood
+ SUBDIR += Nanosaur
SUBDIR += OpenLara
SUBDIR += OpenTomb
SUBDIR += SRB2
diff --git a/games/Nanosaur/Makefile b/games/Nanosaur/Makefile
new file mode 100644
index 000000000000..0937868e213b
--- /dev/null
+++ b/games/Nanosaur/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= Nanosaur
+DISTVERSIONPREFIX= v
+PORTVERSION= 1.4.4
+CATEGORIES= games
+
+MAINTAINER= pkubaj@FreeBSD.org
+COMMENT= Nanosaur source port
+WWW= https://pangeasoft.net/nano/
+
+LICENSE= CC-BY-NC-SA-4.0
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+USES= cmake gl sdl
+
+USE_GITHUB= yes
+GH_ACCOUNT= jorio
+GH_TUPLE= jorio:Pomme:d57c28e:Pomme/extern/Pomme
+USE_GL= opengl
+USE_SDL= sdl2
+
+SUB_FILES= Nanosaur
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${DATADIR}
+ @cd ${WRKSRC}/Data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/Data
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/games/Nanosaur/distinfo b/games/Nanosaur/distinfo
new file mode 100644
index 000000000000..2af91e87d339
--- /dev/null
+++ b/games/Nanosaur/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1709264007
+SHA256 (jorio-Nanosaur-v1.4.4_GH0.tar.gz) = ec7cb0beadb2e289030d6d2643a7e150cdc8aab540321c2ad81e4e5e9c8675b3
+SIZE (jorio-Nanosaur-v1.4.4_GH0.tar.gz) = 14454369
+SHA256 (jorio-Pomme-d57c28e_GH0.tar.gz) = 4536d25578396552a09679fc917f10d42b28d46cbe15f3ad30631fc9af26a9b7
+SIZE (jorio-Pomme-d57c28e_GH0.tar.gz) = 148771
diff --git a/games/Nanosaur/files/Nanosaur.in b/games/Nanosaur/files/Nanosaur.in
new file mode 100755
index 000000000000..34aeeb8ec69f
--- /dev/null
+++ b/games/Nanosaur/files/Nanosaur.in
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -e
+cd %%PREFIX%%/share/Nanosaur/
+exec %%PREFIX%%/share/Nanosaur/Nanosaur "$@"
diff --git a/games/Nanosaur/pkg-descr b/games/Nanosaur/pkg-descr
new file mode 100644
index 000000000000..d092466c8b52
--- /dev/null
+++ b/games/Nanosaur/pkg-descr
@@ -0,0 +1,4 @@
+This is Pangea Software’s Nanosaur updated to run on modern systems.
+Originally released in 1998 as a Mac-only game, Nanosaur casts a cybernetic
+dinosaur from the future who’s sent back in time 20 minutes before a giant
+asteroid hits the Earth.
diff --git a/games/Nanosaur/pkg-plist b/games/Nanosaur/pkg-plist
new file mode 100644
index 000000000000..d7bef1b41c98
--- /dev/null
+++ b/games/Nanosaur/pkg-plist
@@ -0,0 +1,110 @@
+bin/Nanosaur
+%%DATADIR%%/Data/Audio/GameSong.aiff
+%%DATADIR%%/Data/Audio/Song_Pangea.aiff
+%%DATADIR%%/Data/Audio/SoundBank/Alarm.aiff
+%%DATADIR%%/Data/Audio/SoundBank/Ambient.aiff
+%%DATADIR%%/Data/Audio/SoundBank/Blaster.aiff
+%%DATADIR%%/Data/Audio/SoundBank/Bubbles.aiff
+%%DATADIR%%/Data/Audio/SoundBank/Crunch.aiff
+%%DATADIR%%/Data/Audio/SoundBank/Crystal.aiff
+%%DATADIR%%/Data/Audio/SoundBank/DiloAttack.aiff
+%%DATADIR%%/Data/Audio/SoundBank/EnemyDie.aiff
+%%DATADIR%%/Data/Audio/SoundBank/Explode.aiff
+%%DATADIR%%/Data/Audio/SoundBank/Footstep.aiff
+%%DATADIR%%/Data/Audio/SoundBank/HeatSeek.aiff
+%%DATADIR%%/Data/Audio/SoundBank/JetLoop.aiff
+%%DATADIR%%/Data/Audio/SoundBank/Jump.aiff
+%%DATADIR%%/Data/Audio/SoundBank/MenuChange.aiff
+%%DATADIR%%/Data/Audio/SoundBank/POWPickup.aiff
+%%DATADIR%%/Data/Audio/SoundBank/Portal.aiff
+%%DATADIR%%/Data/Audio/SoundBank/Roar.aiff
+%%DATADIR%%/Data/Audio/SoundBank/RockSlam.aiff
+%%DATADIR%%/Data/Audio/SoundBank/Select.aiff
+%%DATADIR%%/Data/Audio/SoundBank/Shield.aiff
+%%DATADIR%%/Data/Audio/SoundBank/Sonic.aiff
+%%DATADIR%%/Data/Audio/SoundBank/Steam.aiff
+%%DATADIR%%/Data/Audio/SoundBank/WingFlap.aiff
+%%DATADIR%%/Data/Audio/TitleSong.aiff
+%%DATADIR%%/Data/Images/Boot1.tga
+%%DATADIR%%/Data/Images/Boot1Pro.tga
+%%DATADIR%%/Data/Images/Boot2.tga
+%%DATADIR%%/Data/Images/Help1.tga
+%%DATADIR%%/Data/Images/Infobar.tga
+%%DATADIR%%/Data/Images/Map.tga
+%%DATADIR%%/Data/Images/Shadow.tga
+%%DATADIR%%/Data/Models/Global_Models.3dmf
+%%DATADIR%%/Data/Models/HighScores.3dmf
+%%DATADIR%%/Data/Models/Infobar_Models.3dmf
+%%DATADIR%%/Data/Models/Level1_Models.3dmf
+%%DATADIR%%/Data/Models/MenuInterface.3dmf
+%%DATADIR%%/Data/Models/Title.3dmf
+%%DATADIR%%/Data/Movies/Lose.mov
+%%DATADIR%%/Data/Movies/Win.mov
+%%DATADIR%%/Data/Skeletons/Deinon.3dmf
+%%DATADIR%%/Data/Skeletons/Deinon.skeleton.rsrc
+%%DATADIR%%/Data/Skeletons/DeinonTeethFix.3dmf
+%%DATADIR%%/Data/Skeletons/Diloph.3dmf
+%%DATADIR%%/Data/Skeletons/Diloph.skeleton.rsrc
+%%DATADIR%%/Data/Skeletons/Ptera.3dmf
+%%DATADIR%%/Data/Skeletons/Ptera.skeleton.rsrc
+%%DATADIR%%/Data/Skeletons/Rex.3dmf
+%%DATADIR%%/Data/Skeletons/Rex.skeleton.rsrc
+%%DATADIR%%/Data/Skeletons/Stego.3dmf
+%%DATADIR%%/Data/Skeletons/Stego.skeleton.rsrc
+%%DATADIR%%/Data/Skeletons/Tricer.3dmf
+%%DATADIR%%/Data/Skeletons/Tricer.skeleton.rsrc
+%%DATADIR%%/Data/Sprites/Infobar1000.tga
+%%DATADIR%%/Data/Sprites/Infobar1001.tga
+%%DATADIR%%/Data/Sprites/Infobar1002.tga
+%%DATADIR%%/Data/Sprites/Infobar1003.tga
+%%DATADIR%%/Data/Sprites/Infobar1004.tga
+%%DATADIR%%/Data/Sprites/Infobar1005.tga
+%%DATADIR%%/Data/Sprites/Infobar1006.tga
+%%DATADIR%%/Data/Sprites/Infobar1007.tga
+%%DATADIR%%/Data/Sprites/Infobar1008.tga
+%%DATADIR%%/Data/Sprites/Infobar1009.tga
+%%DATADIR%%/Data/Sprites/Infobar1010.tga
+%%DATADIR%%/Data/Sprites/Infobar1011.tga
+%%DATADIR%%/Data/Sprites/Infobar1012.tga
+%%DATADIR%%/Data/Sprites/Infobar1013.tga
+%%DATADIR%%/Data/Sprites/Infobar1014.tga
+%%DATADIR%%/Data/Sprites/Infobar1015.tga
+%%DATADIR%%/Data/Sprites/Infobar1016.tga
+%%DATADIR%%/Data/Sprites/Infobar1017.tga
+%%DATADIR%%/Data/Sprites/Infobar1018.tga
+%%DATADIR%%/Data/Sprites/Infobar1019.tga
+%%DATADIR%%/Data/Sprites/Infobar1020.tga
+%%DATADIR%%/Data/Sprites/Infobar1021.tga
+%%DATADIR%%/Data/Sprites/Infobar1022.tga
+%%DATADIR%%/Data/Sprites/Infobar1023.tga
+%%DATADIR%%/Data/Sprites/Infobar1024.tga
+%%DATADIR%%/Data/Sprites/Infobar1025.tga
+%%DATADIR%%/Data/Sprites/Infobar1026.tga
+%%DATADIR%%/Data/Sprites/Infobar1027.tga
+%%DATADIR%%/Data/Sprites/Infobar1028.tga
+%%DATADIR%%/Data/Sprites/Infobar1029.tga
+%%DATADIR%%/Data/Sprites/Infobar1030.tga
+%%DATADIR%%/Data/Sprites/Infobar1031.tga
+%%DATADIR%%/Data/Sprites/Infobar1032.tga
+%%DATADIR%%/Data/Sprites/Infobar1033.tga
+%%DATADIR%%/Data/Sprites/Infobar1034.tga
+%%DATADIR%%/Data/Sprites/Infobar1035.tga
+%%DATADIR%%/Data/Sprites/Infobar1036.tga
+%%DATADIR%%/Data/Sprites/Infobar1037.tga
+%%DATADIR%%/Data/Sprites/Infobar1038.tga
+%%DATADIR%%/Data/Sprites/Infobar1039.tga
+%%DATADIR%%/Data/Sprites/Infobar1040.tga
+%%DATADIR%%/Data/Sprites/Infobar1041.tga
+%%DATADIR%%/Data/Sprites/Infobar1042.tga
+%%DATADIR%%/Data/Sprites/Infobar1043.tga
+%%DATADIR%%/Data/Sprites/Infobar1044.tga
+%%DATADIR%%/Data/Sprites/Infobar1045.tga
+%%DATADIR%%/Data/Sprites/Infobar1046.tga
+%%DATADIR%%/Data/Sprites/Infobar1047.tga
+%%DATADIR%%/Data/Sprites/Infobar1048.tga
+%%DATADIR%%/Data/Sprites/Infobar1049.tga
+%%DATADIR%%/Data/System/gamecontrollerdb.txt
+%%DATADIR%%/Data/Terrain/Level1.ter
+%%DATADIR%%/Data/Terrain/Level1.trt
+%%DATADIR%%/Data/Terrain/Level1Pro.ter
+%%DATADIR%%/Nanosaur