| @@ -1,66 +1,67 @@ | | | @@ -1,66 +1,67 @@ |
1 | # $NetBSD: Makefile,v 1.103 2015/04/25 14:24:46 tnn Exp $ | | 1 | # $NetBSD: Makefile,v 1.104 2015/04/28 15:07:10 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= lilypond-2.18.2 | | 3 | DISTNAME= lilypond-2.18.2 |
4 | PKGREVISION= 3 | | 4 | PKGREVISION= 4 |
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-psnfss-[0-9]*:../../fonts/tex-psnfss | | 30 | DEPENDS+= tex-psnfss-[0-9]*:../../fonts/tex-psnfss |
30 | DEPENDS+= tex-epsf-[0-9]*:../../print/tex-epsf | | 31 | DEPENDS+= tex-epsf-[0-9]*:../../print/tex-epsf |
31 | DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics | | 32 | DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics |
32 | # 1.7 coredumps when generating eps files | | 33 | # 1.7 coredumps when generating eps files |
33 | DEPENDS+= potrace>=1.8:../../graphics/potrace | | 34 | DEPENDS+= potrace>=1.8:../../graphics/potrace |
34 | | | 35 | |
35 | GNU_CONFIGURE= YES | | 36 | GNU_CONFIGURE= YES |
36 | USE_PKGLOCALEDIR= YES | | 37 | USE_PKGLOCALEDIR= YES |
37 | USE_LANGUAGES= c c++ | | 38 | USE_LANGUAGES= c c++ |
38 | 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 |
39 | USE_TOOLS+= texi2html zip | | 40 | USE_TOOLS+= texi2html zip |
40 | MAKE_FILE= GNUmakefile | | 41 | MAKE_FILE= GNUmakefile |
41 | | | 42 | |
42 | .include "../../mk/bsd.prefs.mk" | | 43 | .include "../../mk/bsd.prefs.mk" |
43 | | | 44 | |
44 | TEXINFO_REQD= 4.11 | | 45 | TEXINFO_REQD= 4.11 |
45 | GCC_REQD+= 3.0.5 | | 46 | GCC_REQD+= 3.0.5 |
46 | | | 47 | |
47 | GNU_CONFIGURE_INFODIR= ${PREFIX}/${PKGINFODIR} | | 48 | GNU_CONFIGURE_INFODIR= ${PREFIX}/${PKGINFODIR} |
48 | INFO_DIR= ${GNU_CONFIGURE_INFODIR} | | 49 | INFO_DIR= ${GNU_CONFIGURE_INFODIR} |
49 | INFO_FILES= YES | | 50 | INFO_FILES= YES |
50 | | | 51 | |
51 | CONFIGURE_ARGS+= --disable-optimising | | 52 | CONFIGURE_ARGS+= --disable-optimising |
52 | CONFIGURE_ARGS+= --with-ncsb-dir=${PREFIX}/share/fonts/urw | | 53 | CONFIGURE_ARGS+= --with-ncsb-dir=${PREFIX}/share/fonts/urw |
53 | CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} | | 54 | CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} |
54 | | | 55 | |
55 | REPLACE_PYTHON+= scripts/build/yyout2grammar.py | | 56 | REPLACE_PYTHON+= scripts/build/yyout2grammar.py |
56 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 2.18.0 | | 57 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 2.18.0 |
57 | PLIST_SUBST+= PKGVERSION=${PKGVERSION:S/nb${PKGREVISION}//} | | 58 | PLIST_SUBST+= PKGVERSION=${PKGVERSION:S/nb${PKGREVISION}//} |
58 | | | 59 | |
59 | # needs FlexLexer.h | | 60 | # needs FlexLexer.h |
60 | .include "../../devel/flex/buildlink3.mk" | | 61 | .include "../../devel/flex/buildlink3.mk" |
61 | .include "../../devel/pango/buildlink3.mk" | | 62 | .include "../../devel/pango/buildlink3.mk" |
62 | .include "../../fonts/fontconfig/buildlink3.mk" | | 63 | .include "../../fonts/fontconfig/buildlink3.mk" |
63 | .include "../../lang/guile/buildlink3.mk" | | 64 | .include "../../lang/guile/buildlink3.mk" |
64 | .include "../../lang/python/application.mk" | | 65 | .include "../../lang/python/application.mk" |
65 | .include "../../mk/omf-scrollkeeper.mk" | | 66 | .include "../../mk/omf-scrollkeeper.mk" |
66 | .include "../../mk/bsd.pkg.mk" | | 67 | .include "../../mk/bsd.pkg.mk" |