61863cebe0
- Disable translations (msgfmt problems) - Rely on dbus and disable mmkeys
43 lines
1.3 KiB
Makefile
43 lines
1.3 KiB
Makefile
# New ports collection makefile for: exaile
|
|
# Date created: 19 December 2006
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= exaile
|
|
DISTVERSION= 0.2.10
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://www.exaile.org/files/ GENTOO/distfiles
|
|
DISTNAME= ${PORTNAME}_${DISTVERSION}
|
|
|
|
MAINTAINER= infofarmer@FreeBSD.org
|
|
COMMENT= AmaroK replacement for GTK+
|
|
|
|
RUN_DEPENDS= py*-dbus>=0.82.1:${PORTSDIR}/devel/py-dbus \
|
|
py*-notify>=0.1.1:${PORTSDIR}/devel/py-notify \
|
|
py*-elementtree>=1.2.6:${PORTSDIR}/devel/py-elementtree \
|
|
py*-mutagen>=1.11:${PORTSDIR}/audio/py-mutagen \
|
|
py*-sexy>=0.1.9:${PORTSDIR}/x11-toolkits/py-sexy \
|
|
py*-cddb>=1.4:${PORTSDIR}/audio/py-cddb \
|
|
py*-pysqlite>=2.3.3:${PORTSDIR}/databases/py-pysqlite23
|
|
|
|
USE_GETTEXT= yes
|
|
USE_GNOME= pygtk2 pygnomeextras
|
|
USE_GSTREAMER= python gnomevfs
|
|
USE_PYTHON= yes
|
|
MAN1= ${PORTNAME}.1
|
|
MAKE_ENV+= FIREFOX=${LOCALBASE}/lib/firefox
|
|
ALL_TARGET= compile
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^PREFIX/d;/LIBDIR/d;/^FIREFOX/d;/install/s|-D||;\
|
|
/createpot/d;s|/bin/echo|echo|;s|$$[(]PREFIX[)]/share/exaile|${DATADIR}|;\
|
|
/install.*mmkeys/d;s|$$[(]PREFIX[)]/share/man/man1|${MAN1PREFIX}/man/man1|'\
|
|
${WRKSRC}/Makefile
|
|
|
|
#pre-install:
|
|
# @for i in ca cs es_AR he_IL it_IT nn pl ro tr_TR zh_CN zh_TW;do\
|
|
# ${INSTALL} -d ${PREFIX}/share/locale/$$i/LC_MESSAGES/;done
|
|
|
|
.include <bsd.port.mk>
|