freebsd-ports/games/outerspace/files/outerspace.in
Martin Wilke 8797cd94a3 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

PR:		ports/110970
Submitted by:	Dmitry Marakasov <amdmi3 at amdmi3.ru>
2007-03-28 17:08:31 +00:00

16 lines
298 B
Python

#!/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"))