diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2017-12-02 03:13:02 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2017-12-02 03:13:02 +0800 |
commit | 5468b0d56181c2b50560c0b78be6b91430f68445 (patch) | |
tree | f6fe0df9a82b1c61c6f80b3dc60f7f53521529bf | |
parent | 7ad29240b692119aa7c80b97f19e1113e7efc6f6 (diff) | |
download | freebsd-ports-gnome-5468b0d56181c2b50560c0b78be6b91430f68445.tar.gz freebsd-ports-gnome-5468b0d56181c2b50560c0b78be6b91430f68445.tar.zst freebsd-ports-gnome-5468b0d56181c2b50560c0b78be6b91430f68445.zip |
20,000 Light Years Into Space is a steampunk-themed strategy game
where you have to manage a steam supply network.
WWW: http://www.jwhitham.org/20kly/
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/lightyears/Makefile | 51 | ||||
-rw-r--r-- | games/lightyears/distinfo | 3 | ||||
-rw-r--r-- | games/lightyears/pkg-descr | 4 |
4 files changed, 59 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 1fcbda1e6642..c11507e98897 100644 --- a/games/Makefile +++ b/games/Makefile @@ -534,6 +534,7 @@ SUBDIR += libretro-cores SUBDIR += libshhcards SUBDIR += lightsoff + SUBDIR += lightyears SUBDIR += lincity SUBDIR += lincity-ng SUBDIR += linux-darwinia-demo diff --git a/games/lightyears/Makefile b/games/lightyears/Makefile new file mode 100644 index 000000000000..e9c3ce855c2c --- /dev/null +++ b/games/lightyears/Makefile @@ -0,0 +1,51 @@ +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= lightyears +PORTVERSION= 1.4 +CATEGORIES= games +MASTER_SITES= http://www.jwhitham.org/20kly/ + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Steampunk-themed strategy game: manage a steam supply network + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= ${PYGAME} + +USES= python:2 shebangfix tar:bz2 +SHEBANG_FILES= ${PORTNAME} + +NO_ARCH= yes +NO_BUILD= yes + +PORTDOCS= README.txt THANKS.txt +PORTDATA= * +PLIST_FILES= bin/${PORTNAME} \ + share/pixmaps/${PORTNAME}.png + +OPTIONS_DEFINE= DOCS + +DESKTOP_ENTRIES="20,000 Light Years Into Space" \ + "" \ + "${PREFIX}/share/pixmaps/${PORTNAME}.png" \ + "${PORTNAME}" \ + "Game;StrategyGame;" \ + "" + +post-patch: + @${REINPLACE_CMD} -e '/^LIGHTYEARS_DIR =/ s|".*"|"${DATADIR}"|' ${WRKSRC}/${PORTNAME} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + @cd ${WRKSRC} && ${COPYTREE_SHARE} "audio code data manual" ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/data/32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ +.endfor + +.include <bsd.port.mk> diff --git a/games/lightyears/distinfo b/games/lightyears/distinfo new file mode 100644 index 000000000000..f45f01f82712 --- /dev/null +++ b/games/lightyears/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1512042669 +SHA256 (lightyears-1.4.tar.bz2) = add4a8dea58af1e1ba69db3c0b1271312107c18e84b91a9dbb7162e92a1b078e +SIZE (lightyears-1.4.tar.bz2) = 693877 diff --git a/games/lightyears/pkg-descr b/games/lightyears/pkg-descr new file mode 100644 index 000000000000..4928139d127b --- /dev/null +++ b/games/lightyears/pkg-descr @@ -0,0 +1,4 @@ +20,000 Light Years Into Space is a steampunk-themed strategy game +where you have to manage a steam supply network. + +WWW: http://www.jwhitham.org/20kly/ |