freebsd-ports/audio/py-xmms2/Makefile
Edwin Groothuis 6e6e22ca9d [PATCH] audio/py-xmms2: Unbreak build
- switch to a pkg-plist so as to override the master port's plist
	- add the master port as a run dependency

	Added file(s):
	- pkg-plist

PR:		ports/95217
Submitted by:	Alexander Botero-Lowry <alex@foxybanana.com>
2006-04-02 06:56:40 +00:00

30 lines
787 B
Makefile

# 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= alex@foxybanana.com
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} ${PYTHONPREFIX_SITELIBDIR}/xmmsclient.so
.include "${MASTERDIR}/Makefile"