1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/audio/exaile/Makefile
Ruslan Makhmatkhanov 5654168e6d - update to 3.3.0
- convert Makefile header into two-line format
- use PORTVERSION and common launchpad download url, as other launchpad ports do
  to remove complexity
- update COMMENT (indefinite article removed)
- remove LICENSE_FILE for common license (GPLv2)
- convert py-* to ${PYTHON_PKGNAMEPREFIX} in dependencies
- remove shlib version from hal library dependency
- limit python version to 2.x only
- remove conflicts with unexisting exaile-devel
- convert to optionsng
- remove reinplace (XDG), that's not needed anymore
- remove deprecated attribution from pkg-descr
- sort pkg-plist

changelog:
- see first news article on www.exaile.org

PR:		171911
Submitted by:	rm (myself)
Approved by:	jsa (maintainer)
2012-09-25 07:04:59 +00:00

71 lines
1.7 KiB
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= exaile
PORTVERSION= 3.3.0
CATEGORIES= audio
MASTER_SITES= https://launchpadlibrarian.net/116926188/ \
http://wickedmachine.net/mirror/
MAINTAINER= jsa@FreeBSD.org
COMMENT= Full featured python-based music player for GTK+
LICENSE= GPLv2
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>=1.11:${PORTSDIR}/audio/py-mutagen
FETCH_ARGS= -pRr
MAKE_ENV+= PYTHON2_CMD=${PYTHON_CMD} XDGCONFDIR=${PREFIX}/etc/xdg
USE_GNOME= pygtk2 librsvg2
USE_GSTREAMER= python good faad
USE_PYTHON= -2.7
# 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_DEFINE= BAD BDB CDDB DBUS HAL NOTIFY NLS SEXY
OPTIONS_DEFAULT=BAD BDB CDDB DBUS HAL NOTIFY NLS SEXY
BAD_DESC= Install bad GStreamer plugins
SEXY_DESC= UI enhancements
MANCOMPRESSED= yes
MAN1= exaile.1
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MBAD}
USE_GSTREAMER+= bad
.endif
.if ${PORT_OPTIONS:MCDDB}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cddb>=1.4:${PORTSDIR}/audio/py-cddb
.endif
.if ${PORT_OPTIONS:MDBUS}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.1:${PORTSDIR}/devel/py-dbus
.endif
.if ${PORT_OPTIONS:MHAL}
LIB_DEPENDS+= hal:${PORTSDIR}/sysutils/hal
.endif
.if ${PORT_OPTIONS:MNOTIFY}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}notify>=0.1.1:${PORTSDIR}/devel/py-notify
.endif
.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
INSTALL_TARGET= install_no_locale
.endif
.if ${PORT_OPTIONS:MSEXY}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sexy>=0.1.9:${PORTSDIR}/x11-toolkits/py-sexy
.endif
post-patch:
@${REINPLACE_CMD} -e 's|share\/man|man|g' ${WRKSRC}/Makefile
.include <bsd.port.mk>