| @@ -1,71 +1,74 @@ | | | @@ -1,71 +1,74 @@ |
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 |
15 | BUILD_DEPENDS+= urw-fonts-[0-9]*:../../fonts/urw-fonts | | 15 | BUILD_DEPENDS+= urw-fonts-[0-9]*:../../fonts/urw-fonts |
16 | BUILD_DEPENDS+= intlfonts-[0-9]*:../../fonts/intlfonts | | 16 | BUILD_DEPENDS+= intlfonts-[0-9]*:../../fonts/intlfonts |
17 | BUILD_DEPENDS+= font-cronyx-cyrillic-[0-9]*:../../fonts/font-cronyx-cyrillic | | 17 | BUILD_DEPENDS+= font-cronyx-cyrillic-[0-9]*:../../fonts/font-cronyx-cyrillic |
18 | BUILD_DEPENDS+= kochi-ttf-[0-9]*:../../fonts/kochi-ttf | | 18 | BUILD_DEPENDS+= kochi-ttf-[0-9]*:../../fonts/kochi-ttf |
19 | BUILD_DEPENDS+= fontforge>=20060125:../../fonts/fontforge | | 19 | BUILD_DEPENDS+= fontforge>=20060125:../../fonts/fontforge |
20 | BUILD_DEPENDS+= t1utils>=1.33:../../fonts/t1utils | | 20 | BUILD_DEPENDS+= t1utils>=1.33:../../fonts/t1utils |
21 | BUILD_DEPENDS+= dblatex-[0-9]*:../../textproc/dblatex | | 21 | BUILD_DEPENDS+= dblatex-[0-9]*:../../textproc/dblatex |
22 | BUILD_DEPENDS+= rsync-[0-9]*:../../net/rsync | | 22 | BUILD_DEPENDS+= rsync-[0-9]*:../../net/rsync |
23 | # pngtopnm | | 23 | # pngtopnm |
24 | BUILD_DEPENDS+= netpbm-[0-9]*:../../graphics/netpbm | | 24 | BUILD_DEPENDS+= netpbm-[0-9]*:../../graphics/netpbm |
25 | # convert | | 25 | # convert |
26 | BUILD_DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick | | 26 | BUILD_DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick |
27 | | | 27 | |
28 | DEPENDS+= tex-cyrillic-[0-9]*:../../print/tex-cyrillic | | 28 | DEPENDS+= tex-cyrillic-[0-9]*:../../print/tex-cyrillic |
29 | DEPENDS+= tex-lh-[0-9]*:../../fonts/tex-lh | | 29 | DEPENDS+= tex-lh-[0-9]*:../../fonts/tex-lh |
30 | DEPENDS+= tex-psnfss-[0-9]*:../../fonts/tex-psnfss | | 30 | DEPENDS+= tex-psnfss-[0-9]*:../../fonts/tex-psnfss |
31 | DEPENDS+= tex-epsf-[0-9]*:../../print/tex-epsf | | 31 | DEPENDS+= tex-epsf-[0-9]*:../../print/tex-epsf |
32 | DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics | | 32 | DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics |
33 | # 1.7 coredumps when generating eps files | | 33 | # 1.7 coredumps when generating eps files |
34 | DEPENDS+= potrace>=1.8:../../graphics/potrace | | 34 | DEPENDS+= potrace>=1.8:../../graphics/potrace |
35 | | | 35 | |
36 | GNU_CONFIGURE= YES | | 36 | GNU_CONFIGURE= YES |
37 | USE_PKGLOCALEDIR= YES | | 37 | USE_PKGLOCALEDIR= YES |
38 | USE_LANGUAGES= c c++ | | 38 | USE_LANGUAGES= c c++ |
39 | USE_TOOLS+= bison flex gmake gs:run makeinfo perl pkg-config msgfmt | | 39 | USE_TOOLS+= bison flex gmake gs:run makeinfo perl pkg-config msgfmt |
40 | USE_TOOLS+= texi2html zip | | 40 | USE_TOOLS+= texi2html zip |
41 | MAKE_FILE= GNUmakefile | | 41 | MAKE_FILE= GNUmakefile |
42 | | | 42 | |
43 | .include "../../mk/bsd.prefs.mk" | | 43 | .include "../../mk/bsd.prefs.mk" |
44 | | | 44 | |
45 | TEXINFO_REQD= 4.11 | | 45 | TEXINFO_REQD= 4.11 |
46 | GCC_REQD+= 3.0.5 | | 46 | GCC_REQD+= 3.0.5 |
47 | | | 47 | |
48 | GNU_CONFIGURE_INFODIR= ${PREFIX}/${PKGINFODIR} | | 48 | GNU_CONFIGURE_INFODIR= ${PREFIX}/${PKGINFODIR} |
49 | INFO_DIR= ${GNU_CONFIGURE_INFODIR} | | 49 | INFO_DIR= ${GNU_CONFIGURE_INFODIR} |
50 | INFO_FILES= YES | | 50 | INFO_FILES= YES |
51 | | | 51 | |
52 | CONFIGURE_ARGS+= --disable-optimising | | 52 | CONFIGURE_ARGS+= --disable-optimising |
53 | CONFIGURE_ARGS+= --with-ncsb-dir=${PREFIX}/share/fonts/urw | | 53 | CONFIGURE_ARGS+= --with-ncsb-dir=${PREFIX}/share/fonts/urw |
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" |