sync with pygame update; ok jolan@.

This commit is contained in:
xsa 2004-04-10 23:10:14 +00:00
parent cbfdd53518
commit b04913c365
2 changed files with 13 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2003/12/05 08:20:40 pvalchev Exp $
# $OpenBSD: Makefile,v 1.3 2004/04/10 23:10:14 xsa Exp $
COMMENT= "enriched clone of the game Logical by Rainbow Arts"
@ -14,7 +14,7 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pathological/}
PYTHON_VER= 2.2
PYTHON_VER= 2.3
RUN_DEPENDS= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER} \
:pygame-*:devel/pygame
@ -27,8 +27,7 @@ GAMEDIR= ${PREFIX}/share/pathological
pre-build:
@perl -pi -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
${WRKSRC}/pathological \
${WRKSRC}/pathological.py
${WRKSRC}/pathological{,.py}
@perl -pi -e 's,/usr/bin/python,${LOCALBASE}/bin/python${PYTHON_VER},g' \
${WRKSRC}/pathological.py

View File

@ -1,7 +1,13 @@
$OpenBSD: patch-pathological_py,v 1.1.1.1 2003/08/08 22:01:36 jolan Exp $
$OpenBSD: patch-pathological_py,v 1.2 2004/04/10 23:10:14 xsa Exp $
--- pathological.py.orig 2003-07-17 16:12:30.000000000 +0200
+++ pathological.py 2003-08-08 21:43:06.000000000 +0200
@@ -27,7 +27,7 @@ screenshot = 0
+++ pathological.py 2004-04-10 09:42:36.000000000 +0200
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# -*- coding: UTF-8 -*-
"""
Copyright (C) 2003 John-Paul Gignac
@@ -27,7 +28,7 @@ screenshot = 0
fullscreen = 0
colorblind = 0
sound_on = 1
@ -10,7 +16,7 @@ $OpenBSD: patch-pathological_py,v 1.1.1.1 2003/08/08 22:01:36 jolan Exp $
for arg in sys.argv[1:]:
if arg == '-s':
screenshot = 1
@@ -51,7 +51,7 @@ else:
@@ -51,7 +52,7 @@ else:
# The location of the setgid script for writing highscores
# This script is only used if the highscores file is not writable directly