aboutsummaryrefslogtreecommitdiffstats
path: root/audio/py-xmms2/Makefile
blob: 6709fb00ffef0a123df07182add8180ba4c07368 (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
# New ports collection makefile for:    py-xmms2
# Date created:             18 Mar 2006
# Whom:                 Alexander Botero-Lowry <alex@foxybanana.com>
#
# $FreeBSD$
#

CATEGORIES= audio python
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= alexbl@FreeBSD.org
COMMENT=    Python Bindings for XMMS2

BUILD_DEPENDS=  ${PYTHON_SITELIBDIR}/Pyrex/__init__.py:${PORTSDIR}/devel/pyrex \
        ${LOCALBASE}/lib/libxmmsclient.so:${PORTSDIR}/audio/xmms2
RUN_DEPENDS=    ${LOCALBASE}/lib/libxmmsclient.so:${PORTSDIR}/audio/xmms2

MASTERDIR=  ${.CURDIR}/../xmms2

USE_PYTHON= yes

PLIST=      ${.CURDIR}/pkg-plist

SCONS_TARGET=   src/clients/lib/python/xmmsclient.so
XMMS2_SLAVE=    python

do-install:
    @cd ${WRKSRC} && ${INSTALL_PROGRAM} ${SCONS_TARGET} ${DESTDIR}/${PYTHONPREFIX_SITELIBDIR}/xmmsclient.so

.include "${MASTERDIR}/Makefile"