Traceback (most recent call last): File "/usr/local/bin/picard", line 2, in <module> from picard.tagger import main; main('/usr/local/share/locale', True) File "/usr/local/lib/python2.7/site-packages/picard/tagger.py", line 22, in <module> import sip ImportError: No module named sip
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# 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
|
|
|
|
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:
|
|
@${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>
|