freebsd-ports/audio/exaile/Makefile
Joseph S. Atkinson 4e2ca55c11 Update my email address to my new @FreeBSD.org addy
Approved by:	wxs (mentor)
2010-07-25 11:18:55 +00:00

89 lines
2.2 KiB
Makefile

# New ports collection makefile for: exaile
# Date created: 19 December 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= exaile
PORTVERSION= ${PORTVERSION_MAJOR}.${PORTVERSION_MINOR} # See below
CATEGORIES= audio
MASTER_SITES= http://launchpad.net/${LP_DIR}/ \
http://wickedmachine.net/mirror/
MAINTAINER= jsa@FreeBSD.org
COMMENT= A full featured python-based music player for GTK+
RUN_DEPENDS= py*-mutagen>=1.11:${PORTSDIR}/audio/py-mutagen
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
FETCH_ARGS= -pRr
USE_GNOME= pygtk2 librsvg2
USE_GSTREAMER= python good
USE_PYTHON= 2.5+
CONFLICTS= exaile-devel-[0-9]*
# 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.
OPTIONS= BAD "Install bad GStreamer plugins" On \
BDB "Install Python Berkley DB module" On \
CDDB "Lookup CD information within Exaile" On \
DBUS "Rely on Python D-Bus bindings" On \
HAL "Force depend on HAL" On \
NOTIFY "Enable desktop event notification" On \
NLS "Native Language Support" On \
SEXY "UI enhancements" On
PORTVERSION_MAJOR= 0.3.2
PORTVERSION_MINOR= 0
LP_DIR= ${PORTNAME}/${PORTVERSION_MAJOR}/${PORTVERSION}/+download
MANCOMPRESSED= yes
MAN1= exaile.1
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_BAD)
USE_GSTREAMER+= bad
.endif
.if !defined(WITHOUT_BDB)
RUN_DEPENDS+= py*-bsddb>=2.5:${PORTSDIR}/databases/py-bsddb
.endif
.if !defined(WITHOUT_CDDB)
RUN_DEPENDS+= py*-cddb>=1.4:${PORTSDIR}/audio/py-cddb
.endif
.if !defined(WITHOUT_DBUS)
RUN_DEPENDS+= py*-dbus>=0.82.1:${PORTSDIR}/devel/py-dbus
.endif
.if !defined(WITHOUT_HAL)
LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
.endif
.if !defined(WITHOUT_NOTIFY)
RUN_DEPENDS+= py*-notify>=0.1.1:${PORTSDIR}/devel/py-notify
.endif
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
INSTALL_TARGET= install_no_locale
.endif
.if !defined(WITHOUT_SEXY)
RUN_DEPENDS+= py*-sexy>=0.1.9:${PORTSDIR}/x11-toolkits/py-sexy
.endif
post-patch:
@${REINPLACE_CMD} -e 's|$$(XDG|$$(PREFIX)$$(XDG|g' \
-e 's|share\/man|man|g' ${WRKSRC}/Makefile
.include <bsd.port.post.mk>