svn commit: r399897 - in head/games: . endless-sky endless-sky/files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Oct 21 09:08:10 UTC 2015
Author: amdmi3
Date: Wed Oct 21 09:08:08 2015
New Revision: 399897
URL: https://svnweb.freebsd.org/changeset/ports/399897
Log:
Explore other star systems. Earn money by trading, carrying passengers,
or completing missions. Use your earnings to buy a better ship or
to upgrade the weapons and engines on your current one. Blow up
pirates. Take sides in a civil war. Or leave human space behind and
hope to find some friendly aliens whose culture is more civilized
than your own...
Endless Sky is a sandbox-style space exploration game similar to
Elite, Escape Velocity, or Star Control. You start out as the captain
of a tiny space ship and can choose what to do from there. The game
includes a major plot line and many minor missions, but you can
choose whether you want to play through the plot or strike out on
your own as a merchant or bounty hunter or explorer.
WWW: http://endless-sky.github.io/
Added:
head/games/endless-sky/
head/games/endless-sky/Makefile (contents, props changed)
head/games/endless-sky/distinfo (contents, props changed)
head/games/endless-sky/files/
head/games/endless-sky/files/patch-SConstruct (contents, props changed)
head/games/endless-sky/pkg-descr (contents, props changed)
head/games/endless-sky/pkg-plist (contents, props changed)
Modified:
head/games/Makefile
Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile Wed Oct 21 08:57:02 2015 (r399896)
+++ head/games/Makefile Wed Oct 21 09:08:08 2015 (r399897)
@@ -230,6 +230,7 @@
SUBDIR += ember
SUBDIR += endgame-singularity
SUBDIR += endgame-singularity-music
+ SUBDIR += endless-sky
SUBDIR += enigma
SUBDIR += ensemblist
SUBDIR += entombed
Added: head/games/endless-sky/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/endless-sky/Makefile Wed Oct 21 09:08:08 2015 (r399897)
@@ -0,0 +1,34 @@
+# Created by: Dmitry Marakasov <amdmi3 at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= endless-sky
+PORTVERSION= 0.8.4
+DISTVERSIONPREFIX= v
+CATEGORIES= games
+
+MAINTAINER= amdmi3 at FreeBSD.org
+COMMENT= Space exploration and combat game similar to Escape Velocity
+
+LICENSE= GPLv3 # or later
+
+LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
+
+BROKEN_FreeBSD_9= does not build
+
+USE_GITHUB= yes
+
+USES= compiler:c++11-lib jpeg localbase openal scons
+USE_SDL= sdl2
+USE_GL= gl glew
+INSTALLS_ICONS= yes
+
+PORTDATA= *
+
+post-build:
+ @${REINPLACE_CMD} -e 's|/usr/local/|${PREFIX}/|; s|share/games|share|' \
+ ${WRKSRC}/source/Files.cpp
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
Added: head/games/endless-sky/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/endless-sky/distinfo Wed Oct 21 09:08:08 2015 (r399897)
@@ -0,0 +1,2 @@
+SHA256 (endless-sky-endless-sky-v0.8.4_GH0.tar.gz) = 6d04e98e443974458e5b35dca016b4cc06b230885788354e24e630daba99d150
+SIZE (endless-sky-endless-sky-v0.8.4_GH0.tar.gz) = 35028917
Added: head/games/endless-sky/files/patch-SConstruct
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/endless-sky/files/patch-SConstruct Wed Oct 21 09:08:08 2015 (r399897)
@@ -0,0 +1,55 @@
+--- SConstruct.orig 2015-10-06 21:52:04 UTC
++++ SConstruct
+@@ -14,7 +14,7 @@ if 'SCHROOT_CHROOT_NAME' in os.environ a
+
+ # Required build flags. If you want to use SSE optimization, you can turn on
+ # -msse3 or (if just building for your own computer) -march=native.
+-env.Append(CCFLAGS = ["-std=c++0x", "-O3", "-Wall"])
++env.Append(CCFLAGS = ["-std=c++0x", "-Wall"])
+ env.Append(LIBS = [
+ "SDL2",
+ "png",
+@@ -28,7 +28,7 @@ env.Append(LIBS = [
+ # Work with clang's static analyzer:
+ env["CC"] = os.getenv("CC") or env["CC"]
+ env["CXX"] = os.getenv("CXX") or env["CXX"]
+-env["ENV"].update(x for x in os.environ.items() if x[0].startswith("CCC_"))
++env["ENV"].update(x for x in os.environ.items())
+
+ opts = Variables()
+ opts.Add(PathVariable("PREFIX", "Directory to install under", "/usr/local", PathVariable.PathIsDirCreate))
+@@ -43,7 +43,7 @@ sky = env.Program("endless-sky", Glob("b
+
+
+ # Install the binary:
+-env.Install("$DESTDIR$PREFIX/games", sky)
++env.Install("$DESTDIR$PREFIX/bin", sky)
+
+ # Install the desktop file:
+ env.Install("$DESTDIR$PREFIX/share/applications", "endless-sky.desktop")
+@@ -68,7 +68,7 @@ if env.get("PREFIX").startswith("/usr/")
+
+ # Install the man page.
+ env.Command(
+- "$DESTDIR$PREFIX/share/man/man6/endless-sky.6.gz",
++ "$DESTDIR$PREFIX/man/man6/endless-sky.6.gz",
+ "endless-sky.6",
+ "gzip -c $SOURCE > $TARGET")
+
+@@ -81,11 +81,11 @@ def RecursiveInstall(env, target, source
+ RecursiveInstall(env, os.path.join(target, name), node.abspath)
+ else:
+ env.Install(target, node)
+-RecursiveInstall(env, "$DESTDIR$PREFIX/share/games/endless-sky/data", "data")
+-RecursiveInstall(env, "$DESTDIR$PREFIX/share/games/endless-sky/images", "images")
+-RecursiveInstall(env, "$DESTDIR$PREFIX/share/games/endless-sky/sounds", "sounds")
+-env.Install("$DESTDIR$PREFIX/share/games/endless-sky", "credits.txt")
+-env.Install("$DESTDIR$PREFIX/share/games/endless-sky", "keys.txt")
++RecursiveInstall(env, "$DESTDIR$PREFIX/share/endless-sky/data", "data")
++RecursiveInstall(env, "$DESTDIR$PREFIX/share/endless-sky/images", "images")
++RecursiveInstall(env, "$DESTDIR$PREFIX/share/endless-sky/sounds", "sounds")
++env.Install("$DESTDIR$PREFIX/share/endless-sky", "credits.txt")
++env.Install("$DESTDIR$PREFIX/share/endless-sky", "keys.txt")
+
+ # Make the word "install" in the command line do an installation.
+ env.Alias("install", "$DESTDIR$PREFIX")
Added: head/games/endless-sky/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/endless-sky/pkg-descr Wed Oct 21 09:08:08 2015 (r399897)
@@ -0,0 +1,15 @@
+Explore other star systems. Earn money by trading, carrying passengers,
+or completing missions. Use your earnings to buy a better ship or
+to upgrade the weapons and engines on your current one. Blow up
+pirates. Take sides in a civil war. Or leave human space behind and
+hope to find some friendly aliens whose culture is more civilized
+than your own...
+
+Endless Sky is a sandbox-style space exploration game similar to
+Elite, Escape Velocity, or Star Control. You start out as the captain
+of a tiny space ship and can choose what to do from there. The game
+includes a major plot line and many minor missions, but you can
+choose whether you want to play through the plot or strike out on
+your own as a merchant or bounty hunter or explorer.
+
+WWW: http://endless-sky.github.io/
Added: head/games/endless-sky/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/endless-sky/pkg-plist Wed Oct 21 09:08:08 2015 (r399897)
@@ -0,0 +1,9 @@
+bin/endless-sky
+man/man6/endless-sky.6.gz
+share/applications/endless-sky.desktop
+share/icons/hicolor/16x16/apps/endless-sky.png
+share/icons/hicolor/22x22/apps/endless-sky.png
+share/icons/hicolor/24x24/apps/endless-sky.png
+share/icons/hicolor/256x256/apps/endless-sky.png
+share/icons/hicolor/32x32/apps/endless-sky.png
+share/icons/hicolor/48x48/apps/endless-sky.png
More information about the svn-ports-head
mailing list