55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.20 2011/09/16 08:26:10 espie Exp $
|
|
|
|
COMMENT = music manager and player for GTK+ written in Python
|
|
|
|
V = 0.3.2
|
|
P = 2
|
|
DISTNAME = exaile-${V}.${P}
|
|
REVISION = 0
|
|
|
|
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 = x11/dbus-python>=0.82.1 \
|
|
devel/py-notify>=0.1.1 \
|
|
audio/py-mutagen>=1.11 \
|
|
audio/py-cddb>=1.4 \
|
|
x11/py-gtk2>=2.17 \
|
|
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_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>
|