freebsd-ports/audio/picard/Makefile

43 lines
1.2 KiB
Makefile
Raw Normal View History

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= picard
PORTVERSION= 1.4.2
PORTREVISION= 1
CATEGORIES= audio python
MASTER_SITES= http://ftp.musicbrainz.org/pub/musicbrainz/picard/ \
ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/ \
http://ftp.osuosl.org/pub/musicbrainz/picard/
MAINTAINER= jhale@FreeBSD.org
COMMENT= Next generation MusicBrainz Tagger
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}discid>=0.5.2:audio/py-discid@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mutagen>=1.23:audio/py-mutagen@${FLAVOR}
USES= gettext pyqt:4 python:2.7 desktop-file-utils
USE_PYQT= core_run gui_run network_run xml_run sip
USE_PYTHON= distutils
2015-02-26 03:52:27 +01:00
WRKSRC= ${WRKDIR}/${PORTNAME}-release-${PORTVERSION}
OPTIONS_DEFINE= ACOUSTID PLUGINS
OPTIONS_DEFAULT= PLUGINS
ACOUSTID_RUN_DEPENDS= fpcalc:audio/chromaprint
PLUGINS_DESC= Install various plugins to extend functionality
PLUGINS_RUN_DEPENDS= picard-plugins>0:audio/picard-plugins
post-patch:
2015-02-26 03:52:27 +01:00
@${REINPLACE_CMD} -e 's|distutils\.command\.install |setuptools\.command\.install |' \
${WRKSRC}/setup.py
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/picard/util/astrcmp.so
.include <bsd.port.mk>