aboutsummaryrefslogtreecommitdiff
path: root/games/wyrmsun
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-05-14 22:40:44 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-05-14 22:40:44 +0000
commit0a87701328300d31d67b88c6702e981486687134 (patch)
tree88ba697fad0bb1ecc27702c9c06b0e3501c8c5e7 /games/wyrmsun
parent343314f2527f87b0c0d5b354ea7c6439fa3cdd16 (diff)
downloadports-0a87701328300d31d67b88c6702e981486687134.tar.gz
ports-0a87701328300d31d67b88c6702e981486687134.zip
Notes
Diffstat (limited to 'games/wyrmsun')
-rw-r--r--games/wyrmsun/Makefile42
-rw-r--r--games/wyrmsun/distinfo2
-rw-r--r--games/wyrmsun/files/wyrmsun.in3
-rw-r--r--games/wyrmsun/pkg-descr10
4 files changed, 57 insertions, 0 deletions
diff --git a/games/wyrmsun/Makefile b/games/wyrmsun/Makefile
new file mode 100644
index 000000000000..e6c6cfc055fa
--- /dev/null
+++ b/games/wyrmsun/Makefile
@@ -0,0 +1,42 @@
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= wyrmsun
+PORTVERSION= 1.0.3
+DISTVERSIONPREFIX= v
+CATEGORIES= games
+
+MAINTAINER= amdmi3@FreeBSD.org
+COMMENT= Strategy game based on history, mythology and fiction
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/license.txt
+
+RUN_DEPENDS= wyrmgus:${PORTSDIR}/games/wyrmgus
+
+USE_GITHUB= yes
+GH_ACCOUNT= Andrettin
+GH_PROJECT= Wyrmsun
+
+NO_BUILD= yes
+NO_ARCH= yes
+
+PLIST_FILES= bin/${PORTNAME}
+PORTDATA= *
+
+SUB_FILES= ${PORTNAME}
+
+# icon comes from another port, so is referenced via LOCALBASE
+DESKTOP_ENTRIES="Wyrmsun" \
+ "" \
+ "${LOCALBASE}/share/pixmaps/${PORTNAME}.ico" \
+ "${PORTNAME}" \
+ "Game;StrategyGame;" \
+ ""
+
+do-install:
+ cd ${WRKSRC} && ${COPYTREE_SHARE} "graphics maps music scripts \
+ sounds translations" ${STAGEDIR}${DATADIR}/
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/games/wyrmsun/distinfo b/games/wyrmsun/distinfo
new file mode 100644
index 000000000000..c3cb179b881e
--- /dev/null
+++ b/games/wyrmsun/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Andrettin-Wyrmsun-v1.0.3_GH0.tar.gz) = a012abce9ae1c94ff62f08bd13b370965f29ac70d808155eaa7a45151e1f48d5
+SIZE (Andrettin-Wyrmsun-v1.0.3_GH0.tar.gz) = 192041501
diff --git a/games/wyrmsun/files/wyrmsun.in b/games/wyrmsun/files/wyrmsun.in
new file mode 100644
index 000000000000..2dc886ee3d32
--- /dev/null
+++ b/games/wyrmsun/files/wyrmsun.in
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec "%%LOCALBASE%%/bin/wyrmgus" -d "%%DATADIR%%" "$@"
diff --git a/games/wyrmsun/pkg-descr b/games/wyrmsun/pkg-descr
new file mode 100644
index 000000000000..bc51e45d1c09
--- /dev/null
+++ b/games/wyrmsun/pkg-descr
@@ -0,0 +1,10 @@
+Wyrmsun is an open-source RTS game which features elements of
+mythology, history and fiction.
+
+In the Wyrmsun universe a myriad of inhabited planets exist. Humans
+dwell on Earth, while dwarves inhabit Nidavellir and elves nourish
+the world of Alfheim. These peoples struggle to carve a place for
+themselves with their tools of stone, bronze and iron. And perhaps
+one day they will meet one another, beyond the stars...
+
+WWW: http://www.indiedb.com/games/wyrmsun