diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-03-28 17:08:31 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-03-28 17:08:31 +0000 |
commit | 8797cd94a377be39a6d7b14f8352a56162100173 (patch) | |
tree | 33bcee06a696d0c296509bd92a76d6fd8d941134 /games | |
parent | 29424db09766b5779f4ab1028c7f7d85fc903a72 (diff) | |
download | ports-8797cd94a377be39a6d7b14f8352a56162100173.tar.gz ports-8797cd94a377be39a6d7b14f8352a56162100173.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/outerspace/Makefile | 33 | ||||
-rw-r--r-- | games/outerspace/distinfo | 3 | ||||
-rw-r--r-- | games/outerspace/files/outerspace.in | 16 | ||||
-rw-r--r-- | games/outerspace/pkg-descr | 6 | ||||
-rw-r--r-- | games/outerspace/pkg-message | 3 | ||||
-rw-r--r-- | games/outerspace/pkg-plist | 105 |
7 files changed, 167 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 115c4be3b43f..52113a499085 100644 --- a/games/Makefile +++ b/games/Makefile @@ -522,6 +522,7 @@ SUBDIR += openttd SUBDIR += openyahtzee SUBDIR += orbital_eunuchs_sniper + SUBDIR += outerspace SUBDIR += p5-Algorithm-Pair-Best SUBDIR += p5-Algorithm-Pair-Swiss SUBDIR += p5-Baseball-Sabermetrics diff --git a/games/outerspace/Makefile b/games/outerspace/Makefile new file mode 100644 index 000000000000..2c2f045caf09 --- /dev/null +++ b/games/outerspace/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: outerspace +# Date created: 27 Mar 2007 +# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru> +# +# $FreeBSD$ +# + +PORTNAME= outerspace +PORTVERSION= 0.2.1 +CATEGORIES= games +MASTER_SITES= SF +MASTER_SITE_SUBDIR= ospace + +MAINTAINER= amdmi3@amdmi3.ru +COMMENT= On-line strategy game + +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game + +USE_PYTHON= 2.4+ +NO_BUILD= yes + +SUB_FILES= outerspace +SUB_LIST= PROGRAM_DIR="${PREFIX}/lib/${PORTNAME}" + +do-install: + ${MKDIR} ${PREFIX}/lib/${PORTNAME} + @(cd ${WRKSRC} && ${COPYTREE_SHARE} oslauncher ${PREFIX}/lib/${PORTNAME}) + ${INSTALL_DATA} ${WRKSRC}/outerspace ${PREFIX}/lib/${PORTNAME} + ${INSTALL_SCRIPT} ${WRKDIR}/outerspace ${PREFIX}/bin + + @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD} + +.include <bsd.port.mk> diff --git a/games/outerspace/distinfo b/games/outerspace/distinfo new file mode 100644 index 000000000000..c30b60cf6c58 --- /dev/null +++ b/games/outerspace/distinfo @@ -0,0 +1,3 @@ +MD5 (outerspace-0.2.1.tar.gz) = 3ee9e7890392acd53cd5487f33f84f48 +SHA256 (outerspace-0.2.1.tar.gz) = 4349a3996bfee7ba7fb87268d10e146820c381e8ec2e9ac854a5d3a5d5279e3f +SIZE (outerspace-0.2.1.tar.gz) = 284619 diff --git a/games/outerspace/files/outerspace.in b/games/outerspace/files/outerspace.in new file mode 100644 index 000000000000..9d50fcc276ba --- /dev/null +++ b/games/outerspace/files/outerspace.in @@ -0,0 +1,16 @@ +#!/usr/bin/env python + +import sys +import os.path + +#Program path +package_dir = os.path.join("%%PROGRAM_DIR%%") + +#Change current work directory +os.chdir(package_dir) + +#Add package_dir to python path +sys.path.append(package_dir) + +#Launch the program! +execfile(os.path.join(package_dir, "outerspace")) diff --git a/games/outerspace/pkg-descr b/games/outerspace/pkg-descr new file mode 100644 index 000000000000..ccc123c1dd35 --- /dev/null +++ b/games/outerspace/pkg-descr @@ -0,0 +1,6 @@ +Outer Space is an on-line strategy game which takes place in the +dangerous universe. You will become powerful commander of many +stars, planets, and great fleets and will struggle for survival +with other commanders. + +WWW: http://www.ospace.net diff --git a/games/outerspace/pkg-message b/games/outerspace/pkg-message new file mode 100644 index 000000000000..879ad2774d5c --- /dev/null +++ b/games/outerspace/pkg-message @@ -0,0 +1,3 @@ +NOTE: This is actually a port of Outer Space Launcher - a program which +automatically handles downloading and updating of Outer Space client. +Expect it to download about 2 Mb on the first run. diff --git a/games/outerspace/pkg-plist b/games/outerspace/pkg-plist new file mode 100644 index 000000000000..7ce449c30988 --- /dev/null +++ b/games/outerspace/pkg-plist @@ -0,0 +1,105 @@ +bin/outerspace +lib/outerspace/oslauncher/__init__.py +lib/outerspace/oslauncher/config.py +lib/outerspace/oslauncher/pgu/__init__.py +lib/outerspace/oslauncher/pgu/algo.py +lib/outerspace/oslauncher/pgu/ani.py +lib/outerspace/oslauncher/pgu/engine.py +lib/outerspace/oslauncher/pgu/fonts.py +lib/outerspace/oslauncher/pgu/gui/__init__.py +lib/outerspace/oslauncher/pgu/gui/app.py +lib/outerspace/oslauncher/pgu/gui/area.py +lib/outerspace/oslauncher/pgu/gui/basic.py +lib/outerspace/oslauncher/pgu/gui/button.py +lib/outerspace/oslauncher/pgu/gui/const.py +lib/outerspace/oslauncher/pgu/gui/container.py +lib/outerspace/oslauncher/pgu/gui/deprecated.py +lib/outerspace/oslauncher/pgu/gui/dialog.py +lib/outerspace/oslauncher/pgu/gui/document.py +lib/outerspace/oslauncher/pgu/gui/form.py +lib/outerspace/oslauncher/pgu/gui/group.py +lib/outerspace/oslauncher/pgu/gui/input.py +lib/outerspace/oslauncher/pgu/gui/keysym.py +lib/outerspace/oslauncher/pgu/gui/layout.py +lib/outerspace/oslauncher/pgu/gui/menus.py +lib/outerspace/oslauncher/pgu/gui/misc.py +lib/outerspace/oslauncher/pgu/gui/select.py +lib/outerspace/oslauncher/pgu/gui/slider.py +lib/outerspace/oslauncher/pgu/gui/style.py +lib/outerspace/oslauncher/pgu/gui/surface.py +lib/outerspace/oslauncher/pgu/gui/table.py +lib/outerspace/oslauncher/pgu/gui/theme.py +lib/outerspace/oslauncher/pgu/gui/widget.py +lib/outerspace/oslauncher/pgu/hexvid.py +lib/outerspace/oslauncher/pgu/high.py +lib/outerspace/oslauncher/pgu/html.py +lib/outerspace/oslauncher/pgu/isovid.py +lib/outerspace/oslauncher/pgu/layout.py +lib/outerspace/oslauncher/pgu/text.py +lib/outerspace/oslauncher/pgu/tilevid.py +lib/outerspace/oslauncher/pgu/timer.py +lib/outerspace/oslauncher/pgu/vid.py +lib/outerspace/oslauncher/res/bigicon.ico +lib/outerspace/oslauncher/res/gray/Vera.ttf +lib/outerspace/oslauncher/res/gray/box.down.png +lib/outerspace/oslauncher/res/gray/box.normal.png +lib/outerspace/oslauncher/res/gray/button.down.png +lib/outerspace/oslauncher/res/gray/button.normal.png +lib/outerspace/oslauncher/res/gray/checkbox.off.down.png +lib/outerspace/oslauncher/res/gray/checkbox.off.normal.png +lib/outerspace/oslauncher/res/gray/checkbox.on.down.png +lib/outerspace/oslauncher/res/gray/checkbox.on.normal.png +lib/outerspace/oslauncher/res/gray/config.txt +lib/outerspace/oslauncher/res/gray/console.input.focus.png +lib/outerspace/oslauncher/res/gray/console.input.normal.png +lib/outerspace/oslauncher/res/gray/console.png +lib/outerspace/oslauncher/res/gray/desktop.png +lib/outerspace/oslauncher/res/gray/desktopos.png +lib/outerspace/oslauncher/res/gray/dialog.bar.png +lib/outerspace/oslauncher/res/gray/dialog.close.down.png +lib/outerspace/oslauncher/res/gray/dialog.close.normal.png +lib/outerspace/oslauncher/res/gray/dialog.png +lib/outerspace/oslauncher/res/gray/filebrowser.folder.png +lib/outerspace/oslauncher/res/gray/input.focus.png +lib/outerspace/oslauncher/res/gray/input.normal.png +lib/outerspace/oslauncher/res/gray/list.item.normal.png +lib/outerspace/oslauncher/res/gray/list.png +lib/outerspace/oslauncher/res/gray/menu.down.png +lib/outerspace/oslauncher/res/gray/menu.hover.png +lib/outerspace/oslauncher/res/gray/menu.normal.png +lib/outerspace/oslauncher/res/gray/menu.option.hover.png +lib/outerspace/oslauncher/res/gray/menu.option.normal.png +lib/outerspace/oslauncher/res/gray/progressbar.bar.tga +lib/outerspace/oslauncher/res/gray/progressbar.tga +lib/outerspace/oslauncher/res/gray/radio.off.down.png +lib/outerspace/oslauncher/res/gray/radio.off.normal.png +lib/outerspace/oslauncher/res/gray/radio.on.down.png +lib/outerspace/oslauncher/res/gray/radio.on.normal.png +lib/outerspace/oslauncher/res/gray/select.arrow.down.png +lib/outerspace/oslauncher/res/gray/select.arrow.normal.png +lib/outerspace/oslauncher/res/gray/select.arrow.png +lib/outerspace/oslauncher/res/gray/select.option.normal.png +lib/outerspace/oslauncher/res/gray/select.options.png +lib/outerspace/oslauncher/res/gray/select.selected.normal.png +lib/outerspace/oslauncher/res/gray/slider.bar.normal.png +lib/outerspace/oslauncher/res/gray/slider.png +lib/outerspace/oslauncher/res/gray/tool.down.png +lib/outerspace/oslauncher/res/gray/tool.normal.png +lib/outerspace/oslauncher/res/icon32.png +lib/outerspace/oslauncher/res/smallicon.ico +lib/outerspace/oslauncher/urlgrabber/__init__.py +lib/outerspace/oslauncher/urlgrabber/byterange.py +lib/outerspace/oslauncher/urlgrabber/grabber.py +lib/outerspace/oslauncher/urlgrabber/keepalive.py +lib/outerspace/oslauncher/urlgrabber/mirror.py +lib/outerspace/oslauncher/urlgrabber/progress.py +lib/outerspace/oslauncher/version.py +lib/outerspace/oslauncher/versiondata.py +lib/outerspace/outerspace +@dirrm lib/outerspace/oslauncher/urlgrabber +@dirrm lib/outerspace/oslauncher/res/gray +@dirrm lib/outerspace/oslauncher/res +@dirrm lib/outerspace/oslauncher/pgu/gui +@dirrm lib/outerspace/oslauncher/pgu +@dirrm lib/outerspace/oslauncher +@dirrm lib/outerspace |