aboutsummaryrefslogtreecommitdiffstats
path: root/audio/py-xmms/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/py-xmms/Makefile')
-rw-r--r--audio/py-xmms/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/audio/py-xmms/Makefile b/audio/py-xmms/Makefile
new file mode 100644
index 000000000000..f722500e7563
--- /dev/null
+++ b/audio/py-xmms/Makefile
@@ -0,0 +1,34 @@
+# 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>