summaryrefslogtreecommitdiffstats
path: root/audio/picard/Makefile
blob: 8eef971db1d372e262c227b3adc3958ca1641151 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:	picard
# Date created:		Sat Aug 20 15:26:15 UTC 2005
# Whom:			Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	picard
PORTVERSION=	0.13
CATEGORIES=	audio python
MASTER_SITES=	http://ftp.musicbrainz.org/pub/musicbrainz/picard/ \
		ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/ \
		http://ftp.uk.musicbrainz.org/pub/musicbrainz/picard/ \
		http://ftp.osuosl.org/pub/musicbrainz/picard/

MAINTAINER=	bsdkaffee@gmail.com
COMMENT=	Next generation MusicBrainz Tagger

LIB_DEPENDS=	ofa.0:${PORTSDIR}/audio/libofa \
		avcodec.1:${PORTSDIR}/multimedia/ffmpeg \
		discid.2:${PORTSDIR}/audio/libdiscid
RUN_DEPENDS=	py*-mutagen>=0:${PORTSDIR}/audio/py-mutagen \
		py*-qt4-core>=0:${PORTSDIR}/devel/py-qt4-core \
		py*-qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-gui \
		py*-qt4-network>=0:${PORTSDIR}/net/py-qt4-network \
		py*-qt4-xml>=0:${PORTSDIR}/textproc/py-qt4-xml

USE_GETTEXT=	yes
USE_PYTHON=	2.5+
USE_PYDISTUTILS=yes
INSTALLS_ICONS=	yes

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING.txt

post-patch:
	@${REINPLACE_CMD} -e 's|libdiscid.so.0|libdiscid.so.2|g' \
		${WRKSRC}/picard/disc.py
	@${REINPLACE_CMD} -e "s|'picard.plugins',|'picard.plugins', 'picard.plugins.lastfm', 'picard.plugins.replaygain',|" \
		${WRKSRC}/setup.py
	@${CP} -R ${WRKSRC}/contrib/plugins/ ${WRKSRC}/picard/plugins

.include <bsd.port.mk>
OpenPOWER on IntegriCloud