aboutsummaryrefslogblamecommitdiff
path: root/print/py-frescobaldi/Makefile
blob: fd1c816d234b07395b9ce047a8d58fde0bd2dfc7 (plain) (tree)
1
2
3
4
5
6
7
8
                                     


                           
                     
                 

                                       






                                               


                                                            
                                                                                     
                                                                                                          
 
                                                                              
                   


                                                              












                                                               

                                           

                      
# Created by: martin.dieringer@gmx.de

PORTNAME=	frescobaldi
DISTVERSIONPREFIX=	v
DISTVERSION=	3.1.3
PORTREVISION=	4
CATEGORIES=	print kde python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	m.ne@gmx.net
COMMENT=	Music score editor for lilypond

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

DEPRECATED=	Uses EOL Python 2.7 via www/py-qt5-webengine
EXPIRATION_DATE=2021-06-23

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python-ly>=0:print/py-python-ly@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}python-poppler-qt5>=0:graphics/py-python-poppler-qt5 #@${PY_FLAVOR}

USES=		desktop-file-utils gettext gmake pyqt:5 python:3.5+ qmake qt:5
USE_GITHUB=	yes
GH_ACCOUNT=	frescobaldi
USE_PYQT=	network printsupport sip svg webengine widgets
USE_PYTHON=	autoplist distutils noflavors

NO_ARCH=	yes

OPTIONS_DEFINE=	LILYPOND

LILYPOND_DESC=	Use unstable LilyPond (lilypond-devel)

LILYPOND_RUN_DEPENDS=		lilypond:print/lilypond-devel
LILYPOND_RUN_DEPENDS_OFF=	lilypond:print/lilypond

post-patch:
	@${REINPLACE_CMD} -e 's|'share/man/man1'|'man/man1'|' \
		${WRKSRC}/setup.py
post-build:
	(cd ${WRKSRC} && ${GMAKE} -C linux)

.include <bsd.port.mk>