e45b218264
ok MAINTAINER
66 lines
1.6 KiB
Makefile
66 lines
1.6 KiB
Makefile
# $OpenBSD: Makefile,v 1.3 2009/08/23 19:20:21 jasper Exp $
|
|
|
|
COMMENT = automatic audio files tagger
|
|
|
|
MODPY_EGG_VERSION = 0.11
|
|
DISTNAME = picard-${MODPY_EGG_VERSION}
|
|
PKGNAME = ${DISTNAME}p1
|
|
|
|
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
|
|
|
|
MASTER_SITES = 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
|
|
|
|
RUN_DEPENDS = :py-qt4->=4.1:x11/py-qt4 \
|
|
:py-mutagen->=1.9:audio/py-mutagen \
|
|
:desktop-file-utils-*: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 \
|
|
initials.py \
|
|
lastfm/__init__.py \
|
|
lastfm/options_lastfm.ui \
|
|
lastfm/ui_options_lastfm.py \
|
|
replaygain/__init__.py \
|
|
replaygain/options_replaygain.ui \
|
|
replaygain/ui_options_replaygain.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>
|