mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Update to 0.5.
This commit is contained in:
parent
8166e86e11
commit
d5893b14f4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37050
3 changed files with 35 additions and 7 deletions
|
@ -6,18 +6,20 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= py-game
|
PORTNAME= py-game
|
||||||
PORTVERSION= 0.4
|
PORTVERSION= 0.5
|
||||||
CATEGORIES= devel python
|
CATEGORIES= devel python
|
||||||
MASTER_SITES= http://pygame.seul.org/ftp/
|
MASTER_SITES= http://pygame.seul.org/ftp/
|
||||||
DISTNAME= ${PORTNAME:S/-//}-${PORTVERSION}
|
DISTNAME= ${PORTNAME:S/-//}-${PORTVERSION}
|
||||||
|
|
||||||
MAINTAINER= sobomax@FreeBSD.org
|
MAINTAINER= sobomax@FreeBSD.org
|
||||||
|
|
||||||
BUILD_DEPENDS= ${PYDISTUTILS}
|
BUILD_DEPENDS= ${PYDISTUTILS} \
|
||||||
|
${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/numpy
|
||||||
LIB_DEPENDS= SDL_ttf.2:${PORTSDIR}/graphics/sdl_ttf \
|
LIB_DEPENDS= SDL_ttf.2:${PORTSDIR}/graphics/sdl_ttf \
|
||||||
SDL_image.10:${PORTSDIR}/graphics/sdl_image \
|
SDL_image.10:${PORTSDIR}/graphics/sdl_image \
|
||||||
SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
|
SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
|
||||||
smpeg.1:${PORTSDIR}/graphics/smpeg
|
smpeg.1:${PORTSDIR}/graphics/smpeg
|
||||||
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/numpy
|
||||||
|
|
||||||
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (pygame-0.4.tar.gz) = 6575358c5f440cbaae9561e26c5a666c
|
MD5 (pygame-0.5.tar.gz) = a565ed4c502f06e734d21bc3252440a8
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- config_unix.py 2000/12/16 08:03:29 1.1
|
--- config_unix.py.orig Sat Jan 6 19:18:37 2001
|
||||||
+++ config_unix.py 2000/12/16 08:23:56
|
+++ config_unix.py Tue Jan 9 19:37:48 2001
|
||||||
@@ -4,7 +4,9 @@
|
@@ -4,8 +4,12 @@
|
||||||
import os, sys, shutil
|
import os, sys, shutil
|
||||||
from glob import glob
|
from glob import glob
|
||||||
|
|
||||||
|
@ -9,5 +9,31 @@
|
||||||
+except KeyError: configcommand = 'sdl-config'
|
+except KeyError: configcommand = 'sdl-config'
|
||||||
+configcommand = configcommand + ' --version --cflags --libs'
|
+configcommand = configcommand + ' --version --cflags --libs'
|
||||||
|
|
||||||
|
+try: localbase = os.environ['LOCALBASE']
|
||||||
|
+except KeyError: localbase = ''
|
||||||
|
|
||||||
|
class Dependency:
|
||||||
|
def __init__(self, name, checkhead, checklib, lib):
|
||||||
|
@@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue