openbsd-ports/audio/exaile/Makefile
2010-08-30 21:36:14 +00:00

57 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.11 2010/08/30 21:36:14 fgsch Exp $
COMMENT = music manager and player for GTK+ written in Python
V = 0.3.1
P = 2
DISTNAME = exaile-${V}.${P}
REVISION= 1
CATEGORIES = audio x11
HOMEPAGE = http://www.exaile.org/
MASTER_SITES = http://www.launchpad.net/exaile/$V/$V.$P/+download/
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/python
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = :dbus-python->=0.82.1:x11/dbus-python \
:py-notify->=0.1.1:devel/py-notify \
:py-mutagen->=1.11:audio/py-mutagen \
:py-cddb->=1.4:audio/py-cddb \
:py-gtk2->=1.10:x11/py-gtk2 \
::devel/libglade2 \
::devel/desktop-file-utils \
::multimedia/gstreamer-0.10/core \
::multimedia/gstreamer-0.10/plugins-bad,-main \
::multimedia/gstreamer-0.10/plugins-base,-main \
::multimedia/gstreamer-0.10/plugins-good,-main \
::multimedia/gstreamer-0.10/plugins-ugly,-main \
::multimedia/gstreamer-0.10/py-gstreamer
USE_X11 = Yes
USE_GMAKE = Yes
REGRESS_TARGET= test
PORTHOME = ${WRKDIR}
REGRESS_DEPENDS=::devel/py-nose \
::devel/py-mox
CONFIGURE_STYLE =none
SUBST_VARS += MODPY_SITEPKG
post-configure:
${SUBST_CMD} ${WRKSRC}/Makefile ${WRKSRC}/data/exaile.desktop \
${WRKSRC}/plugins/Makefile ${WRKSRC}/tools/generate-launcher
@find ${WRKSRC} -name "*.orig" -exec rm -f {} \;
.include <bsd.port.mk>