freebsd-ports/audio/py-xmms/Makefile

35 lines
888 B
Makefile
Raw Normal View History

# New ports collection makefile for: py-xmms
# Date created: 19 March 2002
# Whom: Hye-Shik Chang <perky@fallin.lv>
#
# $FreeBSD$
#
PORTNAME= xmms
PORTVERSION= 1.02
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@fallin.lv
BUILD_DEPENDS= ${XMMS_CONFIG}:${PORTSDIR}/audio/xmms
LIB_DEPENDS= xmms.3:${PORTSDIR}/audio/xmms
USE_PYTHON= yes
USE_GLIB= yes
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}"
SETUP_CMD= cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} setup.py
do-build:
${SETUP_CMD} build
do-install:
${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
.include <bsd.port.mk>