aboutsummaryrefslogtreecommitdiff
path: root/print/lilypond-devel
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-12-24 18:35:50 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-12-24 18:35:50 +0000
commit7c0b40bc1606382ebb43945c77db1872fdc96a78 (patch)
tree3760fdfbf5b73f7cd874996673adde03379fd2dd /print/lilypond-devel
parentee66a432f1b740d40f5577ea70c81579a82dfd1c (diff)
downloadports-7c0b40bc1606382ebb43945c77db1872fdc96a78.tar.gz
ports-7c0b40bc1606382ebb43945c77db1872fdc96a78.zip
Notes
Diffstat (limited to 'print/lilypond-devel')
-rw-r--r--print/lilypond-devel/Makefile13
-rw-r--r--print/lilypond-devel/pkg-plist12
2 files changed, 22 insertions, 3 deletions
diff --git a/print/lilypond-devel/Makefile b/print/lilypond-devel/Makefile
index c1c7c5b2c8a5..3c5ca499f71b 100644
--- a/print/lilypond-devel/Makefile
+++ b/print/lilypond-devel/Makefile
@@ -3,6 +3,7 @@
PORTNAME= lilypond
DISTVERSION= 2.21.81
+PORTREVISION= 1
CATEGORIES= print audio
MASTER_SITES= http://lilypond.org/download/source/v${DISTVERSION:R}/
PKGNAMESUFFIX= -devel
@@ -39,8 +40,7 @@ USE_PERL5= build
USE_TEX= latex texmf
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-texgyre-dir=${LOCALBASE}/${TEXMFDISTDIR}/fonts/opentype/public/tex-gyre \
- --without-urwotf-dir
+CONFIGURE_ARGS+= --with-texgyre-dir=${LOCALBASE}/${TEXMFDISTDIR}/fonts/opentype/public/tex-gyre
CONFIGURE_ENV+= ac_cv_prog_MAKEINFO="${LOCALBASE}/bin/makeinfo" \
FLEX=${FLEX} \
HOME=${WRKDIR} \
@@ -65,11 +65,18 @@ INFO= internals \
music-glossary
PLIST_SUB= DISTVERSION=${DISTVERSION}
-OPTIONS_DEFINE= NLS
+OPTIONS_DEFINE= URW NLS
OPTIONS_SUB= yes
+URW_DESC= Use bundled URW fonts
+
NLS_USES= gettext
+URW_BUILD_DEPENDS= urw-core35-fonts>0:x11-fonts/urw-core35-fonts
+URW_RUN_DEPENDS_OFF= urw-core35-fonts>0:x11-fonts/urw-core35-fonts
+
+URW_CONFIGURE_WITH= urwotf-dir=${LOCALBASE}/share/fonts/urw-core35-fonts
+
post-patch:
@${REINPLACE_CMD} -e 's|<FlexLexer.h>|"/usr/include/FlexLexer.h"|' \
${WRKSRC}/lily/include/includable-lexer.hh
diff --git a/print/lilypond-devel/pkg-plist b/print/lilypond-devel/pkg-plist
index 337fec70850e..c644076e4f96 100644
--- a/print/lilypond-devel/pkg-plist
+++ b/print/lilypond-devel/pkg-plist
@@ -380,3 +380,15 @@ share/emacs/site-lisp/lilypond-words.el
%%NLS%%share/locale/uk/LC_MESSAGES/lilypond.mo
%%NLS%%share/locale/vi/LC_MESSAGES/lilypond.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/lilypond.mo
+%%URW%%%%DATADIR%%/%%DISTVERSION%%/fonts/otf/C059-BdIta.otf
+%%URW%%%%DATADIR%%/%%DISTVERSION%%/fonts/otf/C059-Bold.otf
+%%URW%%%%DATADIR%%/%%DISTVERSION%%/fonts/otf/C059-Italic.otf
+%%URW%%%%DATADIR%%/%%DISTVERSION%%/fonts/otf/C059-Roman.otf
+%%URW%%%%DATADIR%%/%%DISTVERSION%%/fonts/otf/NimbusMonoPS-Bold.otf
+%%URW%%%%DATADIR%%/%%DISTVERSION%%/fonts/otf/NimbusMonoPS-BoldItalic.otf
+%%URW%%%%DATADIR%%/%%DISTVERSION%%/fonts/otf/NimbusMonoPS-Italic.otf
+%%URW%%%%DATADIR%%/%%DISTVERSION%%/fonts/otf/NimbusMonoPS-Regular.otf
+%%URW%%%%DATADIR%%/%%DISTVERSION%%/fonts/otf/NimbusSans-Bold.otf
+%%URW%%%%DATADIR%%/%%DISTVERSION%%/fonts/otf/NimbusSans-BoldItalic.otf
+%%URW%%%%DATADIR%%/%%DISTVERSION%%/fonts/otf/NimbusSans-Italic.otf
+%%URW%%%%DATADIR%%/%%DISTVERSION%%/fonts/otf/NimbusSans-Regular.otf