diff options
author | Nicola Vitale <nivit@FreeBSD.org> | 2009-11-10 17:52:40 +0000 |
---|---|---|
committer | Nicola Vitale <nivit@FreeBSD.org> | 2009-11-10 17:52:40 +0000 |
commit | f4b18956f11f96901b93406189bf0d697441bdd0 (patch) | |
tree | bb43526a51df92d83172b63f5e4fdc8e1b50ceda /audio/sonata | |
parent | eefa7d56ac424cad61a8177fb2dc8de2ec375587 (diff) |
- devel/py-dbus, x11-toolkits/python-gnome-extras are now optional dependencies
- Add WITH_PYGNOMEEXTRAS and WITH_MMKEYS options
- Set USE_GNOME to pygtk2
Notes
Notes:
svn path=/head/; revision=244077
Diffstat (limited to 'audio/sonata')
-rw-r--r-- | audio/sonata/Makefile | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/audio/sonata/Makefile b/audio/sonata/Makefile index 01760e8dd986..98054c66b478 100644 --- a/audio/sonata/Makefile +++ b/audio/sonata/Makefile @@ -15,16 +15,18 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= nivit@FreeBSD.org COMMENT= An elegant music player for MPD -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpd>=0.2.0:${PORTSDIR}/audio/py-mpd \ - ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.4:${PORTSDIR}/devel/py-dbus +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpd>=0.2.0:${PORTSDIR}/audio/py-mpd USE_GETTEXT= yes -USE_GNOME= pygnomeextras +USE_GNOME= pygtk2 USE_PYTHON= yes USE_PYDISTUTILS= yes + PYDISTUTILS_PKGNAME= Sonata -OPTIONS= MPD "Install Music Player Daemon" on \ +OPTIONS= MMKEYS "Enable instance single support for mmkeys" off \ + MPD "Install Music Player Daemon" on \ + PYGNOMEEXTRAS "Use py-gnome-extras for enhanced system tray" off \ TAGLIB "Install support for editing metadata" off \ ZSI "Install support for automatic lyrics fetching" off @@ -49,6 +51,14 @@ post-patch: RUN_DEPENDS+= mpd:${PORTSDIR}/audio/musicpd .endif +.if defined (WITH_MMKEYS) +RUN_DEPENDS+=${PYTHON_PKGNAMEPREFIX}dbus>=0.82.4:${PORTSDIR}/devel/py-dbus +.endif + +.if defined (WITH_PYGNOMEEXTRAS) +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gnome-extras>=2.25.3_4:${PORTSDIR}/x11-toolkits/py-gnome-extras +.endif + .if defined (WITH_TAGLIB) RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tagpy>=0.94.5:${PORTSDIR}/audio/py-tagpy .endif |