# Created by: martin.dieringer@gmx.de
# $FreeBSD: tags/RELEASE_10_4_0/print/frescobaldi/Makefile 439367 2017-04-25 08:20:30Z riggs $

PORTNAME=	frescobaldi
PORTVERSION=	2.20.0
DISTVERSIONPREFIX=	v
PORTREVISION=	1
CATEGORIES=	print kde

MAINTAINER=	martin.dieringer@gmx.de
COMMENT=	Music score editor for lilypond

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poppler-qt4>=0:graphics/py-poppler-qt4 \
		${PYTHON_PKGNAMEPREFIX}python-ly>=0:print/py-python-ly

OPTIONS_DEFINE=	LILYPOND
LILYPOND_DESC=	Use unstable LilyPond (lilypond-devel)
LILYPOND_RUN_DEPENDS=	lilypond:print/lilypond-devel
LILYPOND_RUN_DEPENDS_OFF=	lilypond:print/lilypond

USE_GITHUB=	yes
GH_ACCOUNT=	wbsoft

USES=		gettext kde:4 python
INSTALLS_ICONS=	yes
USE_KDE=	kdelibs pykde4_build pykde4_run
USE_PYTHON=	distutils autoplist

.include <bsd.port.mk>
