2012-09-25 09:04:59 +02:00
|
|
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
2006-12-19 09:06:33 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= exaile
|
2013-11-27 07:25:56 +01:00
|
|
|
PORTVERSION= 3.3.2
|
2006-12-19 09:06:33 +01:00
|
|
|
CATEGORIES= audio
|
2013-11-27 07:25:56 +01:00
|
|
|
MASTER_SITES= https://launchpadlibrarian.net/155081992/ \
|
2009-11-28 00:20:20 +01:00
|
|
|
http://wickedmachine.net/mirror/
|
2006-12-19 09:06:33 +01:00
|
|
|
|
2010-07-25 13:18:55 +02:00
|
|
|
MAINTAINER= jsa@FreeBSD.org
|
2012-09-25 09:04:59 +02:00
|
|
|
COMMENT= Full featured python-based music player for GTK+
|
2006-12-19 09:06:33 +01:00
|
|
|
|
2010-06-29 01:37:21 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2012-09-25 09:04:59 +02:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>=1.11:${PORTSDIR}/audio/py-mutagen
|
2011-07-19 13:50:18 +02:00
|
|
|
|
2012-09-25 09:04:59 +02:00
|
|
|
MAKE_ENV+= PYTHON2_CMD=${PYTHON_CMD} XDGCONFDIR=${PREFIX}/etc/xdg
|
2009-12-18 23:04:56 +01:00
|
|
|
USE_GNOME= pygtk2 librsvg2
|
2011-04-09 00:18:22 +02:00
|
|
|
USE_GSTREAMER= python good faad
|
2013-11-27 07:25:56 +01:00
|
|
|
USE_PYTHON= 2
|
2008-10-19 16:13:49 +02:00
|
|
|
|
2009-11-28 00:20:20 +01:00
|
|
|
# The reality with these options is that they all will be autodetected and used
|
|
|
|
# if already installed. These just force Exaile to bring them in as well.
|
2013-11-27 07:25:56 +01:00
|
|
|
OPTIONS_DEFINE= BAD CDDB DBUS HAL NOTIFY NLS SEXY
|
|
|
|
OPTIONS_DEFAULT=BAD CDDB DBUS HAL NOTIFY NLS SEXY
|
2012-09-25 09:04:59 +02:00
|
|
|
BAD_DESC= Install bad GStreamer plugins
|
|
|
|
SEXY_DESC= UI enhancements
|
2010-04-16 15:18:08 +02:00
|
|
|
|
2012-09-25 09:04:59 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2010-01-08 02:21:20 +01:00
|
|
|
|
2012-09-25 09:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MBAD}
|
2009-11-28 00:20:20 +01:00
|
|
|
USE_GSTREAMER+= bad
|
|
|
|
.endif
|
|
|
|
|
2012-09-25 09:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MCDDB}
|
|
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cddb>=1.4:${PORTSDIR}/audio/py-cddb
|
2009-11-28 00:20:20 +01:00
|
|
|
.endif
|
|
|
|
|
2012-09-25 09:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MDBUS}
|
|
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.1:${PORTSDIR}/devel/py-dbus
|
2009-11-28 00:20:20 +01:00
|
|
|
.endif
|
|
|
|
|
2012-09-25 09:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MHAL}
|
2013-12-11 15:35:36 +01:00
|
|
|
LIB_DEPENDS+= libhal.so:${PORTSDIR}/sysutils/hal
|
2009-11-28 00:20:20 +01:00
|
|
|
.endif
|
|
|
|
|
2012-09-25 09:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MNOTIFY}
|
|
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}notify>=0.1.1:${PORTSDIR}/devel/py-notify
|
2009-11-28 00:20:20 +01:00
|
|
|
.endif
|
|
|
|
|
2012-09-25 09:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2009-11-28 00:20:20 +01:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
INSTALL_TARGET= install_no_locale
|
|
|
|
.endif
|
|
|
|
|
2012-09-25 09:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MSEXY}
|
|
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sexy>=0.1.9:${PORTSDIR}/x11-toolkits/py-sexy
|
2009-11-28 00:20:20 +01:00
|
|
|
.endif
|
2006-12-19 09:06:33 +01:00
|
|
|
|
|
|
|
post-patch:
|
2012-09-25 09:04:59 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|share\/man|man|g' ${WRKSRC}/Makefile
|
2006-12-19 09:06:33 +01:00
|
|
|
|
2012-09-25 09:04:59 +02:00
|
|
|
.include <bsd.port.mk>
|