aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-09-14 09:17:27 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-09-14 09:17:27 +0800
commit0f86245a1857794311b4e7c82c29eeb7fc554bbc (patch)
tree4b4c48d1cbcf3bf3b3ea06bc4b35d0c2ff85b6ea /games
parentd8fb631b20a4b30914555b41e4ec6348c614371b (diff)
downloadfreebsd-ports-graphics-0f86245a1857794311b4e7c82c29eeb7fc554bbc.tar.gz
freebsd-ports-graphics-0f86245a1857794311b4e7c82c29eeb7fc554bbc.tar.zst
freebsd-ports-graphics-0f86245a1857794311b4e7c82c29eeb7fc554bbc.zip
This is a collection of double-resolution sprites for Endless Sky.
These sprites will only be used if: - you have set the "zoom factor" to higher than 100% in the preferences, or - you have a high-DPI monitor. WWW: https://github.com/endless-sky/endless-sky-high-dpi
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/endless-sky-high-dpi/Makefile32
-rw-r--r--games/endless-sky-high-dpi/distinfo3
-rw-r--r--games/endless-sky-high-dpi/pkg-descr7
-rw-r--r--games/endless-sky-high-dpi/pkg-message4
5 files changed, 47 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 6b8a0cec44a..1bce653d5b3 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -233,6 +233,7 @@
SUBDIR += endgame-singularity
SUBDIR += endgame-singularity-music
SUBDIR += endless-sky
+ SUBDIR += endless-sky-high-dpi
SUBDIR += enigma
SUBDIR += ensemblist
SUBDIR += entombed
diff --git a/games/endless-sky-high-dpi/Makefile b/games/endless-sky-high-dpi/Makefile
new file mode 100644
index 00000000000..59f649d672e
--- /dev/null
+++ b/games/endless-sky-high-dpi/Makefile
@@ -0,0 +1,32 @@
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= high-dpi
+PORTVERSION= 0.9.2
+DISTVERSIONPREFIX= v
+CATEGORIES= games
+PKGNAMEPREFIX= endless-sky-
+
+MAINTAINER= amdmi3@FreeBSD.org
+COMMENT= High-DPI graphics for Endless Sky
+
+LICENSE= CC-BY-3.0 CC-BY-SA-3.0 CC-BY-SA-4.0 PD
+LICENSE_COMB= multi
+
+RUN_DEPENDS= endless-sky:games/endless-sky
+
+USE_GITHUB= yes
+GH_ACCOUNT= endless-sky
+GH_PROJECT= endless-sky-${PORTNAME}
+
+DATADIR= ${PREFIX}/share/endless-sky/plugins/${PORTNAME}
+
+NO_BUILD= yes
+NO_ARCH= yes
+
+PORTDATA= *
+
+do-install:
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} "images" ${STAGEDIR}${DATADIR}
+
+.include <bsd.port.mk>
diff --git a/games/endless-sky-high-dpi/distinfo b/games/endless-sky-high-dpi/distinfo
new file mode 100644
index 00000000000..f271e147d96
--- /dev/null
+++ b/games/endless-sky-high-dpi/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1473578328
+SHA256 (endless-sky-endless-sky-high-dpi-v0.9.2_GH0.tar.gz) = 6e463830d6c563c10b8ba66cef38e6ed647ecbeed4b03dee56381e20e5a2ac96
+SIZE (endless-sky-endless-sky-high-dpi-v0.9.2_GH0.tar.gz) = 107831057
diff --git a/games/endless-sky-high-dpi/pkg-descr b/games/endless-sky-high-dpi/pkg-descr
new file mode 100644
index 00000000000..72c79b0f31c
--- /dev/null
+++ b/games/endless-sky-high-dpi/pkg-descr
@@ -0,0 +1,7 @@
+This is a collection of double-resolution sprites for Endless Sky.
+These sprites will only be used if:
+
+- you have set the "zoom factor" to higher than 100% in the preferences, or
+- you have a high-DPI monitor.
+
+WWW: https://github.com/endless-sky/endless-sky-high-dpi
diff --git a/games/endless-sky-high-dpi/pkg-message b/games/endless-sky-high-dpi/pkg-message
new file mode 100644
index 00000000000..e366bf71045
--- /dev/null
+++ b/games/endless-sky-high-dpi/pkg-message
@@ -0,0 +1,4 @@
+Note that high-dpi sprites will only be used if:
+
+- you have set the "zoom factor" to higher than 100% in the preferences, or
+- you have a high-DPI monitor.