summaryrefslogtreecommitdiff
path: root/homebrew/nxengine
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/nxengine
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/nxengine')
-rw-r--r--homebrew/nxengine/.beer32
-rw-r--r--homebrew/nxengine/.make.sh-auto4
-rw-r--r--homebrew/nxengine/_metadata/description1
-rw-r--r--homebrew/nxengine/_metadata/homepage1
-rw-r--r--homebrew/nxengine/_metadata/name1
-rw-r--r--homebrew/nxengine/_metadata/version1
-rwxr-xr-xhomebrew/nxengine/download.sh1
7 files changed, 41 insertions, 0 deletions
diff --git a/homebrew/nxengine/.beer b/homebrew/nxengine/.beer
new file mode 100644
index 000000000..6de953be1
--- /dev/null
+++ b/homebrew/nxengine/.beer
@@ -0,0 +1,32 @@
+{
+ "name": "Nxengine",
+ "description": "Rewrite of Cave Story (Doukutsu Monogatari)",
+ "url": "https://nxengine.sourceforge.io/dl/nx-src-1006.tar.bz2",
+ "mirror": null,
+ "homepage": "https://nxengine.sourceforge.io/",
+ "depends": [
+ {
+ "depend": "sdl",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl_ttf",
+ "build-depend": false
+ }
+ ],
+ "resource": [
+ {
+ "name": "game",
+ "url": "https://www.cavestory.org/downloads/cavestoryen.zip"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "(var/\"nxengine\").mkpath",
+ "ln_sf Dir[pkgshare/\"*\"], \"#{var}/nxengine/\"",
+ "ln_sf \"/Library/Fonts/Courier New.ttf\", \"#{var}/nxengine/font.ttf\""
+ ],
+ "version": "1006",
+ "file": "nxengine.rb"
+} \ No newline at end of file
diff --git a/homebrew/nxengine/.make.sh-auto b/homebrew/nxengine/.make.sh-auto
new file mode 100644
index 000000000..9a07100bb
--- /dev/null
+++ b/homebrew/nxengine/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+(var/"nxengine").mkpath
+ln_sf Dir[pkgshare/"*"], "#{var}/nxengine/"
+ln_sf "/Library/Fonts/Courier New.ttf", "#{var}/nxengine/font.ttf"
diff --git a/homebrew/nxengine/_metadata/description b/homebrew/nxengine/_metadata/description
new file mode 100644
index 000000000..6f2d56299
--- /dev/null
+++ b/homebrew/nxengine/_metadata/description
@@ -0,0 +1 @@
+Rewrite of Cave Story (Doukutsu Monogatari)
diff --git a/homebrew/nxengine/_metadata/homepage b/homebrew/nxengine/_metadata/homepage
new file mode 100644
index 000000000..1fced490c
--- /dev/null
+++ b/homebrew/nxengine/_metadata/homepage
@@ -0,0 +1 @@
+https://nxengine.sourceforge.io/
diff --git a/homebrew/nxengine/_metadata/name b/homebrew/nxengine/_metadata/name
new file mode 100644
index 000000000..d2b141b27
--- /dev/null
+++ b/homebrew/nxengine/_metadata/name
@@ -0,0 +1 @@
+Nxengine
diff --git a/homebrew/nxengine/_metadata/version b/homebrew/nxengine/_metadata/version
new file mode 100644
index 000000000..9540e56f9
--- /dev/null
+++ b/homebrew/nxengine/_metadata/version
@@ -0,0 +1 @@
+1006
diff --git a/homebrew/nxengine/download.sh b/homebrew/nxengine/download.sh
new file mode 100755
index 000000000..67807fbb7
--- /dev/null
+++ b/homebrew/nxengine/download.sh
@@ -0,0 +1 @@
+wget https://nxengine.sourceforge.io/dl/nx-src-1006.tar.bz2 \ No newline at end of file