summaryrefslogtreecommitdiff
path: root/audio/py-xmms/Makefile
blob: 056b633465958cc22de6027d3fc9607be2bf84cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:	py-xmms
# Date created:		19 March 2002
# Whom:			Hye-Shik Chang <perky@fallin.lv>
#
# $FreeBSD$
#

PORTNAME=	xmms
PORTVERSION=	1.05
CATEGORIES=	audio python
MASTER_SITES=	http://www.via.ecp.fr/~flo/2002/PyXMMS/dist/ \
		http://www3.kr.freebsd.org/~perky/distfiles/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	pyxmms-${PORTVERSION}

MAINTAINER=	perky@FreeBSD.org

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

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes
USE_GNOMENG=	yes
USE_GNOME=	glib12
PLIST_SUB+=	PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g}
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>