summaryrefslogtreecommitdiff
path: root/print/lilypond-devel
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2016-10-03 16:33:51 +0000
committerPawel Pekala <pawel@FreeBSD.org>2016-10-03 16:33:51 +0000
commit60ce56b05145382b8596faa2f8bd810bf5e43f27 (patch)
treecc918740e9a8445229b0d279adc2e3a50eac1f9e /print/lilypond-devel
parentUpdate to patchlevel 21. (diff)
- Update to version 2.19.48 [1]
- Register proxy dependencies found by stage-qa - Use options substitutions for NLS option - Use option helper in post-patch - Fix absolute path symlink PR: 212784 [1] Submitted by: maintainer [1]
Diffstat (limited to 'print/lilypond-devel')
-rw-r--r--print/lilypond-devel/Makefile23
-rw-r--r--print/lilypond-devel/distinfo6
2 files changed, 12 insertions, 17 deletions
diff --git a/print/lilypond-devel/Makefile b/print/lilypond-devel/Makefile
index 019eb813c5ec..4b0ff90ea75c 100644
--- a/print/lilypond-devel/Makefile
+++ b/print/lilypond-devel/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= lilypond
-PORTVERSION= 2.19.47
+PORTVERSION= 2.19.48
CATEGORIES= print audio
MASTER_SITES= http://download.linuxaudio.org/lilypond/sources/v${PORTVERSION:R}/
PKGNAMESUFFIX= -devel
@@ -25,9 +25,11 @@ BUILD_DEPENDS= pdftexi2dvi:print/texinfo \
zip:archivers/zip
RUN_DEPENDS= mftrace:print/mftrace \
${LOCALBASE}/share/fonts/dejavu/DejaVuSans-Bold.ttf:x11-fonts/dejavu
-LIB_DEPENDS= libguile.so:lang/guile \
+LIB_DEPENDS= libltdl.so:devel/libltdl \
+ libguile.so:lang/guile \
libgmp.so:math/gmp \
- libfreetype.so:print/freetype2
+ libfreetype.so:print/freetype2 \
+ libfontconfig.so:x11-fonts/fontconfig
BROKEN_FreeBSD_9= does not build on FreeBSD < 10.x
@@ -68,27 +70,20 @@ NO_CCACHE= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
OPTIONS_DEFINE= NLS
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-PLIST_SUB+= NLS=""
-.else
-PLIST_SUB+= NLS="@comment "
-.endif
+OPTIONS_SUB= yes
post-patch:
${FIND} ${WRKSRC} -name "*.cc" | ${XARGS} \
${REINPLACE_CMD} -e 's|isinf[ ]*(|::isinf(|g' -e 's|isnan|::isnan|g'
${REINPLACE_CMD} -e 's|<FlexLexer.h>|"/usr/include/FlexLexer.h"|' \
${WRKSRC}/lily/include/includable-lexer.hh
-.if !${PORT_OPTIONS:MNLS}
+
+post-patch-NLS-off:
${REINPLACE_CMD} -e '/po \\$$/d' ${WRKSRC}/${MAKEFILE}.in
-.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lilypond
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lilypond/${PORTVERSION}/python/midi.so
- @${LN} -fs ${DATADIR}/${PORTVERSION} ${STAGEDIR}${DATADIR}/current
+ (cd ${STAGEDIR}/${DATADIR} && ${LN} -fs ${PORTVERSION} current)
.include <bsd.port.mk>
diff --git a/print/lilypond-devel/distinfo b/print/lilypond-devel/distinfo
index 0fb81b762766..a9690c6efd5f 100644
--- a/print/lilypond-devel/distinfo
+++ b/print/lilypond-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1472857204
-SHA256 (lilypond-2.19.47.tar.gz) = 842312813a9144b6b54a33f13fb19addbfc779d7bbfe3b2075be1235287de08c
-SIZE (lilypond-2.19.47.tar.gz) = 16926783
+TIMESTAMP = 1475512276
+SHA256 (lilypond-2.19.48.tar.gz) = 84b586cfe933a330e964b1c3e95c41525499eca6a5625089044d943e9cc768c8
+SIZE (lilypond-2.19.48.tar.gz) = 16928689