summaryrefslogtreecommitdiff
path: root/homebrew/freedink
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/freedink
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/freedink')
-rw-r--r--homebrew/freedink/.beer81
-rw-r--r--homebrew/freedink/.make.sh-auto6
-rw-r--r--homebrew/freedink/_metadata/description1
-rw-r--r--homebrew/freedink/_metadata/homepage1
-rw-r--r--homebrew/freedink/_metadata/name1
-rw-r--r--homebrew/freedink/_metadata/version1
-rwxr-xr-xhomebrew/freedink/download.sh1
7 files changed, 92 insertions, 0 deletions
diff --git a/homebrew/freedink/.beer b/homebrew/freedink/.beer
new file mode 100644
index 000000000..88da95f2a
--- /dev/null
+++ b/homebrew/freedink/.beer
@@ -0,0 +1,81 @@
+{
+ "name": "Freedink",
+ "description": "Portable version of the Dink Smallwood game engine",
+ "url": "https://ftp.gnu.org/gnu/freedink/freedink-109.6.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.gnu.org/software/freedink/",
+ "depends": [
+ {
+ "depend": "glm",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "check",
+ "build-depend": false
+ },
+ {
+ "depend": "cxxtest",
+ "build-depend": false
+ },
+ {
+ "depend": "fontconfig",
+ "build-depend": false
+ },
+ {
+ "depend": "freetype",
+ "build-depend": false
+ },
+ {
+ "depend": "gettext",
+ "build-depend": false
+ },
+ {
+ "depend": "libzip",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl2",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl2_gfx",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl2_image",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl2_mixer",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl2_ttf",
+ "build-depend": false
+ }
+ ],
+ "resource": [
+ {
+ "name": "freedink-data",
+ "url": "https://ftp.gnu.org/gnu/freedink/freedink-data-1.08.20190120.tar.gz"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--disable-debug\",",
+ "\"--disable-dependency-tracking\",",
+ "\"--disable-silent-rules\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\", \"install\"",
+ "resource(\"freedink-data\").stage do",
+ "inreplace \"Makefile\", \"xargs -0r\", \"xargs -0\"",
+ "system \"make\", \"install\", \"PREFIX=#{prefix}\""
+ ],
+ "version": "109.6",
+ "file": "freedink.rb"
+} \ No newline at end of file
diff --git a/homebrew/freedink/.make.sh-auto b/homebrew/freedink/.make.sh-auto
new file mode 100644
index 000000000..db23570f9
--- /dev/null
+++ b/homebrew/freedink/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking --disable-silent-rules
+make DESTDIR=${PKG_DEST} install
+resource("freedink-data").stage do
+inreplace "Makefile", "xargs -0r", "xargs -0"
+make DESTDIR=${PKG_DEST} install PREFIX=${PKG_TAPF}
diff --git a/homebrew/freedink/_metadata/description b/homebrew/freedink/_metadata/description
new file mode 100644
index 000000000..f7d88750f
--- /dev/null
+++ b/homebrew/freedink/_metadata/description
@@ -0,0 +1 @@
+Portable version of the Dink Smallwood game engine
diff --git a/homebrew/freedink/_metadata/homepage b/homebrew/freedink/_metadata/homepage
new file mode 100644
index 000000000..b24458261
--- /dev/null
+++ b/homebrew/freedink/_metadata/homepage
@@ -0,0 +1 @@
+https://www.gnu.org/software/freedink/
diff --git a/homebrew/freedink/_metadata/name b/homebrew/freedink/_metadata/name
new file mode 100644
index 000000000..6026a7866
--- /dev/null
+++ b/homebrew/freedink/_metadata/name
@@ -0,0 +1 @@
+Freedink
diff --git a/homebrew/freedink/_metadata/version b/homebrew/freedink/_metadata/version
new file mode 100644
index 000000000..959bc2c2b
--- /dev/null
+++ b/homebrew/freedink/_metadata/version
@@ -0,0 +1 @@
+109.6
diff --git a/homebrew/freedink/download.sh b/homebrew/freedink/download.sh
new file mode 100755
index 000000000..1aaaa8522
--- /dev/null
+++ b/homebrew/freedink/download.sh
@@ -0,0 +1 @@
+wget https://ftp.gnu.org/gnu/freedink/freedink-109.6.tar.gz \ No newline at end of file