1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Update to 1.0.

This commit is contained in:
Maxim Sobolev 2001-04-06 11:17:27 +00:00
parent dc00311780
commit 9135cc6f16
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40940
5 changed files with 2 additions and 67 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= py-game
PORTVERSION= 0.9
PORTVERSION= 1.0
CATEGORIES= devel python
MASTER_SITES= http://pygame.seul.org/ftp/
DISTNAME= ${PORTNAME:S/-//}-${PORTVERSION}

View File

@ -1 +1 @@
MD5 (pygame-0.9.tar.gz) = 520403b1b1a7cbf98c05a0eb3df50c18
MD5 (pygame-1.0.tar.gz) = 08f553af9c3b3f3b0c1c55ffbf8ea39b

View File

@ -1,51 +0,0 @@
$FreeBSD$
--- config_unix.py.orig Sat Jan 6 19:18:37 2001
+++ config_unix.py Tue Feb 20 14:26:38 2001
@@ -4,8 +4,12 @@
import os, sys, shutil
from glob import glob
-configcommand = 'sdl-config --version --cflags --libs'
+try: configcommand = os.environ['SDL_CONFIG']
+except KeyError: configcommand = 'sdl-config'
+configcommand = configcommand + ' --version --cflags --libs'
+try: localbase = os.environ['LOCALBASE']
+except KeyError: localbase = ''
class Dependency:
def __init__(self, name, checkhead, checklib, lib):
@@ -29,7 +33,7 @@
DEPS = [
- Dependency('SDL', 'SDL.h', 'libSDL.so', 'SDL'),
+ Dependency('SDL', 'SDL.h', 'libSDL-1.1.so', 'SDL-1.1'),
Dependency('FONT', 'SDL_ttf.h', 'libSDL_ttf.so', 'SDL_ttf'),
Dependency('IMAGE', 'SDL_image.h', 'libSDL_image.so', 'SDL_image'),
Dependency('MIXER', 'SDL_mixer.h', 'libSDL_mixer.so', 'SDL_mixer'),
@@ -57,12 +61,16 @@
flags have been used, which will likely require a little editing."""
print 'Hunting dependencies...'
- incdir = libdir = ''
- for arg in configinfo.split():
- if arg.startswith('-I'):
- incdir = arg[2:]
- elif arg.startswith('-L'):
- libdir = arg[2:]
+ if localbase != '':
+ incdir = localbase + '/include/SDL11'
+ libdir = localbase + '/lib'
+ else:
+ incdir = libdir = ''
+ for arg in configinfo.split():
+ if arg.startswith('-I'):
+ incdir = arg[2:]
+ elif arg.startswith('-L'):
+ libdir = arg[2:]
#print 'INCDIR', incdir
#print 'LIBDIR', libdir
for d in DEPS:

View File

@ -1,13 +0,0 @@
--- Setup.in 2000/12/16 09:11:55 1.1
+++ Setup.in 2000/12/16 09:12:14
@@ -4,8 +4,8 @@
SDL = -I/usr/include/SDL -D_REENTRANT -lSDL
FONT = -lSDL_ttf
IMAGE = -lSDL_image
-MIXER = -lSDL_mixer
-SMPEG = -lsmpeg
+MIXER = -lSDL_mixer
+SMPEG = -lsmpeg
#--EndConfig

View File

@ -16,7 +16,6 @@ lib/%%PYTHON_VERSION%%/site-packages/pygame/display.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/draw.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/event.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/font.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/ignore.pth
lib/%%PYTHON_VERSION%%/site-packages/pygame/image.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/joystick.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/key.so