From nobody@FreeBSD.org  Wed Oct  5 07:32:27 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A904616A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  5 Oct 2005 07:32:27 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6680F43D46
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  5 Oct 2005 07:32:27 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j957WRJH055173
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 5 Oct 2005 07:32:27 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j957WRK8055172;
	Wed, 5 Oct 2005 07:32:27 GMT
	(envelope-from nobody)
Message-Id: <200510050732.j957WRK8055172@www.freebsd.org>
Date: Wed, 5 Oct 2005 07:32:27 GMT
From: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [NEW PORT] audio/py24-sdl_mixer: Pysdl_mixer is a python interface to SDL's sdl_mixer
X-Send-Pr-Version: www-2.3

>Number:         86927
>Category:       ports
>Synopsis:       [NEW PORT] audio/py24-sdl_mixer: Pysdl_mixer is a python interface to SDL's sdl_mixer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    garga
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 05 07:40:17 GMT 2005
>Closed-Date:    Wed Oct 05 17:03:03 GMT 2005
>Last-Modified:  Wed Oct 05 17:03:03 GMT 2005
>Originator:     Jose Alonso Cardenas Marquez
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
BSDPeru (http://www.bsd.org.pe)
>Environment:
FreeBSD HellFire.BSD.org.pe 5.4-STABLE FreeBSD 5.4-STABLE #1: Mon Oct  3 18:51:34 PET
>Description:
Pysdl_mixer is a python interface to SDL's sdl_mixer. 
This is usefull for multichannel sample and music playback from python. 
This project is currently being used by soya (https://gna.org/projects/soya/).

WWW:	https://gna.org/projects/pysdlmixer/
>How-To-Repeat:
      
>Fix:
--- py24-sdl_mixer-0.0.3.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-sdl_mixer
#	py-sdl_mixer/pkg-descr
#	py-sdl_mixer/Makefile
#	py-sdl_mixer/pkg-plist
#	py-sdl_mixer/distinfo
#	py-sdl_mixer/files
#	py-sdl_mixer/files/patch-setup.py
#	py-sdl_mixer/files/patch-sdl_mixer.c
#
echo c - py-sdl_mixer
mkdir -p py-sdl_mixer > /dev/null 2>&1
echo x - py-sdl_mixer/pkg-descr
sed 's/^X//' >py-sdl_mixer/pkg-descr << 'END-of-py-sdl_mixer/pkg-descr'
Xpysdl_mixer is a python interface to SDL's sdl_mixer. 
XThis is usefull for multichannel sample and music playback from python. 
XThis project is currently being used by soya (https://gna.org/projects/soya/).
X
XWWW:	https://gna.org/projects/pysdlmixer/
END-of-py-sdl_mixer/pkg-descr
echo x - py-sdl_mixer/Makefile
sed 's/^X//' >py-sdl_mixer/Makefile << 'END-of-py-sdl_mixer/Makefile'
X# New ports collection makefile for:	pysdl_mixer
X# Date created:		2005-10-05
X# Whom:			Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sdl_mixer
XPORTVERSION=	0.0.3
XCATEGORIES=	audio python
XMASTER_SITES=	http://download.gna.org/pysdlmixer/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	pysdl_mixer-${PORTVERSION}
XEXTRACT_SUFX=	.tar.gz
X
XMAINTAINER=	acardenas@bsd.org.pe
XCOMMENT=	Pysdl_mixer is a python interface to SDL's sdl_mixer
X
XLIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal
X
XDIST_SUBDIR=	python
XUSE_GZIP=	yes
XUSE_SDL=	sdl mixer
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=	yes
XWRKSRC=		${WRKDIR}/pysdl_mixer-${PORTVERSION}
XEXAMPLESDIR=	${PREFIX}/share/examples/py-sdl-mixer
X
X.include <bsd.port.pre.mk>
X
X.post-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
X.endif
X.include <bsd.port.post.mk>
END-of-py-sdl_mixer/Makefile
echo x - py-sdl_mixer/pkg-plist
sed 's/^X//' >py-sdl_mixer/pkg-plist << 'END-of-py-sdl_mixer/pkg-plist'
Xlib/%%PYTHON_VERSION%%/site-packages/pysdl_mixer/__init__.py
Xlib/%%PYTHON_VERSION%%/site-packages/pysdl_mixer/__init__.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/pysdl_mixer/__init__.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/pysdl_mixer/sdl_mixer.so
X%%PORTDOCS%%%%EXAMPLESDIR%%/sdl_mixer-1.py
X%%PORTDOCS%%%%EXAMPLESDIR%%/test.wav
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
X@dirrm lib/%%PYTHON_VERSION%%/site-packages/pysdl_mixer
END-of-py-sdl_mixer/pkg-plist
echo x - py-sdl_mixer/distinfo
sed 's/^X//' >py-sdl_mixer/distinfo << 'END-of-py-sdl_mixer/distinfo'
XMD5 (python/pysdl_mixer-0.0.3.tar.gz) = 81d109f02938c6a1c368dd461252450a
XSIZE (python/pysdl_mixer-0.0.3.tar.gz) = 24133
END-of-py-sdl_mixer/distinfo
echo c - py-sdl_mixer/files
mkdir -p py-sdl_mixer/files > /dev/null 2>&1
echo x - py-sdl_mixer/files/patch-setup.py
sed 's/^X//' >py-sdl_mixer/files/patch-setup.py << 'END-of-py-sdl_mixer/files/patch-setup.py'
X--- setup.py.orig	Wed Oct  5 01:56:46 2005
X+++ setup.py	Wed Oct  5 01:55:24 2005
X@@ -45,9 +45,9 @@
X   DEFINES = []
X 
X if sys.platform[:3] == "win":
X-  LIBS = ["SDL", "SDL_mixer" ]
X+  LIBS = ["SDL-1.1", "SDL_mixer" ]
X else:
X-  LIBS = ["SDL", "SDL_mixer" ]
X+  LIBS = ["SDL-1.1", "SDL_mixer" ]
X 
X SOYA_PYREX_SOURCES  = ["sdl_mixer.pyx"]
X SOYA_C_SOURCES      = ["sdl_mixer.c"]
END-of-py-sdl_mixer/files/patch-setup.py
echo x - py-sdl_mixer/files/patch-sdl_mixer.c
sed 's/^X//' >py-sdl_mixer/files/patch-sdl_mixer.c << 'END-of-py-sdl_mixer/files/patch-sdl_mixer.c'
X--- sdl_mixer.c.orig	Wed Oct  5 01:57:05 2005
X+++ sdl_mixer.c	Wed Oct  5 01:51:44 2005
X@@ -5,8 +5,8 @@
X #ifndef PY_LONG_LONG
X   #define PY_LONG_LONG LONG_LONG
X #endif
X-#include "SDL/SDL.h"
X-#include "SDL/SDL_mixer.h"
X+#include "SDL11/SDL.h"
X+#include "SDL11/SDL_mixer.h"
X 
X 
X typedef struct {PyObject **p; char *s;} __Pyx_InternTabEntry; /*proto*/
END-of-py-sdl_mixer/files/patch-sdl_mixer.c
exit
--- py24-sdl_mixer-0.0.3.shar ends here ---
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->garga 
Responsible-Changed-By: garga 
Responsible-Changed-When: Wed Oct 5 15:03:24 GMT 2005 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86927 
State-Changed-From-To: open->closed 
State-Changed-By: garga 
State-Changed-When: Wed Oct 5 17:03:02 GMT 2005 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86927 
>Unformatted:
