966fc640b5
- add http MASTER_SITES and more explicit license marker while there
72 lines
1.7 KiB
Makefile
72 lines
1.7 KiB
Makefile
# $OpenBSD: Makefile,v 1.12 2011/06/27 12:46:06 sthen Exp $
|
|
|
|
COMMENT = automatic audio files tagger using the MusicBrainz database
|
|
|
|
MODPY_EGG_VERSION = 0.12.1
|
|
DISTNAME = picard-${MODPY_EGG_VERSION}
|
|
REVISION = 1
|
|
|
|
CATEGORIES = audio
|
|
|
|
HOMEPAGE = http://musicbrainz.org/doc/Picard_Tagger
|
|
|
|
MAINTAINER = Amaury Gauthier <amaury.gauthier@etu.unilim.fr>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB += m stdc++ avcodec avformat ofa ${MODPY_WANTLIB}
|
|
|
|
MASTER_SITES = http://ftp.musicbrainz.org/pub/musicbrainz/picard/ \
|
|
ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_SETUPTOOLS = Yes
|
|
# --single-version-externally-managed option used by MODPY doesn't exist
|
|
MODPY_DISTUTILS_INSTALL=install --prefix=${LOCALBASE} --root=${DESTDIR}
|
|
|
|
# msgfmt
|
|
BUILD_DEPENDS = devel/gettext
|
|
|
|
LIB_DEPENDS = audio/libofa graphics/ffmpeg
|
|
|
|
RUN_DEPENDS = x11/py-qt4>=4.1 \
|
|
audio/py-mutagen>=1.9 \
|
|
devel/desktop-file-utils
|
|
|
|
REGRESS_DEPENDS = ${BASE_PKGPATH}
|
|
|
|
PLUGINS_DIRS = lastfm \
|
|
replaygain
|
|
PLUGINS = addrelease.py \
|
|
coverart.py \
|
|
cuesheet.py \
|
|
discnumber.py \
|
|
featartist.py \
|
|
fix_mp4_meta.py \
|
|
lastfm/__init__.py \
|
|
lastfm/options_lastfm.ui \
|
|
lastfm/ui_options_lastfm.py \
|
|
originalreleasedate.py \
|
|
replaygain/__init__.py \
|
|
replaygain/options_replaygain.ui \
|
|
replaygain/ui_options_replaygain.py \
|
|
titlecase.py
|
|
|
|
post-install:
|
|
.for dir in ${PLUGINS_DIRS}
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/picard/${dir}
|
|
.endfor
|
|
.for file in ${PLUGINS}
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/plugins/${file} ${PREFIX}/share/picard/${file}
|
|
.endfor
|
|
|
|
do-regress:
|
|
cd ${WRKSRC} && ${MODPY_BIN} ./setup.py build_ext -i test
|
|
|
|
.include <bsd.port.mk>
|