# New ports collection makefile for:	py-xmms
# Date created:		19 March 2002
# Whom:			Hye-Shik Chang <perky@fallin.lv>
#
# $FreeBSD: ports/audio/py-xmms/Makefile,v 1.10 2003/02/25 06:25:27 perky Exp $
#

PORTNAME=	xmms
PORTVERSION=	1.06
CATEGORIES=	audio python
MASTER_SITES=	http://www.via.ecp.fr/~flo/2002/PyXMMS/dist/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	pyxmms-${PORTVERSION}

MAINTAINER=	perky@FreeBSD.org
COMMENT=	XMMS Remote Control Library for Python

BUILD_DEPENDS=	${XMMS_CONFIG}:${PORTSDIR}/multimedia/xmms
LIB_DEPENDS=	xmms.3:${PORTSDIR}/multimedia/xmms

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes
USE_GNOMENG=	yes
USE_GNOME=	glib12
XMMS_CONFIG?=	${X11BASE}/bin/xmms-config
MAKE_ENV=	GLIB_CONFIG="${GLIB_CONFIG}" XMMS_CONFIG="${XMMS_CONFIG}"

post-patch:
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} patch

.include <bsd.port.mk>
