From 5468b0d56181c2b50560c0b78be6b91430f68445 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Fri, 1 Dec 2017 19:13:02 +0000 Subject: 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/ --- games/Makefile | 1 + games/lightyears/Makefile | 51 ++++++++++++++++++++++++++++++++++++++++++++++ games/lightyears/distinfo | 3 +++ games/lightyears/pkg-descr | 4 ++++ 4 files changed, 59 insertions(+) create mode 100644 games/lightyears/Makefile create mode 100644 games/lightyears/distinfo create mode 100644 games/lightyears/pkg-descr 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 +# $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 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/ -- cgit