| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.134 2021/12/08 16:06:14 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.135 2022/03/05 19:53:22 gdt Exp $ |
2 | | | 2 | |
3 | DISTNAME= lilypond-2.18.2 | | 3 | DISTNAME= lilypond-2.18.2 |
4 | PKGREVISION= 24 | | 4 | PKGREVISION= 24 |
5 | CATEGORIES= print | | 5 | CATEGORIES= print |
6 | MASTER_SITES= http://download.linuxaudio.org/lilypond/sources/v2.18/ | | 6 | MASTER_SITES= http://download.linuxaudio.org/lilypond/sources/v2.18/ |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://lilypond.org/ | | 9 | HOMEPAGE= http://lilypond.org/ |
10 | COMMENT= GNU Music Typesetter | | 10 | COMMENT= GNU Music Typesetter |
11 | LICENSE= gnu-gpl-v2 | | 11 | LICENSE= gnu-gpl-v2 |
12 | | | 12 | |
13 | BUILD_DEPENDS+= tex-metafont-[0-9]*:../../fonts/tex-metafont | | 13 | BUILD_DEPENDS+= tex-metafont-[0-9]*:../../fonts/tex-metafont |
14 | BUILD_DEPENDS+= tex-metapost-[0-9]*:../../graphics/tex-metapost | | 14 | BUILD_DEPENDS+= tex-metapost-[0-9]*:../../graphics/tex-metapost |
| @@ -54,18 +54,21 @@ CONFIGURE_ARGS+= --with-ncsb-dir=${PREFI | | | @@ -54,18 +54,21 @@ CONFIGURE_ARGS+= --with-ncsb-dir=${PREFI |
54 | CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} | | 54 | CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} |
55 | | | 55 | |
56 | REPLACE_PYTHON+= scripts/build/yyout2grammar.py | | 56 | REPLACE_PYTHON+= scripts/build/yyout2grammar.py |
57 | PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 2.18.0 | | 57 | PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 2.18.0 |
58 | PLIST_SUBST+= PKGVERSION=${PKGVERSION:S/nb${PKGREVISION}//} | | 58 | PLIST_SUBST+= PKGVERSION=${PKGVERSION:S/nb${PKGREVISION}//} |
59 | | | 59 | |
60 | # needs FlexLexer.h | | 60 | # needs FlexLexer.h |
61 | # make sure we use the same version for that file and the flex binary | | 61 | # make sure we use the same version for that file and the flex binary |
62 | FLEX_REQD= 2.6.0 | | 62 | FLEX_REQD= 2.6.0 |
63 | BUILDLINK_API_DEPENDS.flex+= flex>=2.6.0 | | 63 | BUILDLINK_API_DEPENDS.flex+= flex>=2.6.0 |
64 | .include "../../devel/flex/buildlink3.mk" | | 64 | .include "../../devel/flex/buildlink3.mk" |
65 | .include "../../devel/pango/buildlink3.mk" | | 65 | .include "../../devel/pango/buildlink3.mk" |
66 | .include "../../fonts/fontconfig/buildlink3.mk" | | 66 | .include "../../fonts/fontconfig/buildlink3.mk" |
67 | # lilypond's configure rejects guile2 | | 67 | # lilypond's configure rejects guile2. It is a bug in lilypond that |
| | | 68 | # maintained versions of guile are not usable, but it does not seem |
| | | 69 | # likely that will be fixed. See e.g. |
| | | 70 | # https://gitlab.com/lilypond/lilypond/-/issues/6163 |
68 | .include "../../lang/guile/buildlink3.mk" | | 71 | .include "../../lang/guile/buildlink3.mk" |
69 | .include "../../lang/python/application.mk" | | 72 | .include "../../lang/python/application.mk" |
70 | .include "../../mk/omf-scrollkeeper.mk" | | 73 | .include "../../mk/omf-scrollkeeper.mk" |
71 | .include "../../mk/bsd.pkg.mk" | | 74 | .include "../../mk/bsd.pkg.mk" |