From ca1f18c5cc1ae2bb33a0ada8f47f6e5edde6e4be Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Thu, 11 Dec 2008 23:49:42 +0000 Subject: [PATCH] - Fonts needed to build and not provided with the sources have been packed and put online. This decreases the total distfiles' size and semplifies the post-extract target. --- print/lilypond/Makefile | 13 ++++--------- print/lilypond/distinfo | 6 +++--- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/print/lilypond/Makefile b/print/lilypond/Makefile index c789b3730ea6..f76855cf93e1 100644 --- a/print/lilypond/Makefile +++ b/print/lilypond/Makefile @@ -11,9 +11,10 @@ PORTNAME= lilypond PORTVERSION= 2.11.65 CATEGORIES= print audio MASTER_SITES= http://download.linuxaudio.org/lilypond/sources/v2.11/:src \ - http://download.linuxaudio.org/lilypond/binaries/freebsd-x86/:bin + ${MASTER_SITE_LOCAL}/gahr/:fonts \ + http://people.freebsd.org/~gahr/distfiles/:fonts DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:src \ - ${PORTNAME}-${PORTVERSION}-1.freebsd-x86.sh:bin + ${PORTNAME}-fonts-${PORTVERSION}${EXTRACT_SUFX}:fonts EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= gahr@FreeBSD.org @@ -61,13 +62,7 @@ PLIST_SUB+= DOCS="@comment " .endif post-extract: - ( \ - ${TAIL} -c+000000004597 ${DISTDIR}/${PORTNAME}-${PORTVERSION}-1.freebsd-x86.sh > \ - ${WRKDIR}/${PORTNAME}.tmp.tar.bz2 && \ - ${TAR} -xjf ${WRKDIR}/${PORTNAME}.tmp.tar.bz2 -C ${WRKDIR} && \ - ${MKDIR} ${WRKSRC}/mf/out && \ - ${CP} ${WRKDIR}/usr/share/lilypond/current/fonts/otf/*.otf ${WRKSRC}/mf/out \ - ) + ${TAR} -C ${WRKDIR} -xf ${DISTDIR}/${PORTNAME}-fonts-${PORTVERSION}${EXTRACT_SUFX} post-patch: ${REINPLACE_CMD} -e 's|makeinfo|${LOCALBASE}/bin/makeinfo|' \ diff --git a/print/lilypond/distinfo b/print/lilypond/distinfo index 1702a52c194b..f712d146c25b 100644 --- a/print/lilypond/distinfo +++ b/print/lilypond/distinfo @@ -1,6 +1,6 @@ MD5 (lilypond-2.11.65.tar.gz) = 8693e2956d056800f8d61fa06743968f SHA256 (lilypond-2.11.65.tar.gz) = cd0dbd1086e102e745c539f065668dbd3677a99602e0fa98a2bc0373ad721b75 SIZE (lilypond-2.11.65.tar.gz) = 4411024 -MD5 (lilypond-2.11.65-1.freebsd-x86.sh) = 381e6caca024b5053e389687a17b21dc -SHA256 (lilypond-2.11.65-1.freebsd-x86.sh) = c33193726271fa3a4214a0dc6f4391f7defbef80f39654dc2865940124a82d1a -SIZE (lilypond-2.11.65-1.freebsd-x86.sh) = 16932850 +MD5 (lilypond-fonts-2.11.65.tar.gz) = e0e8fa249eecc64c4bfa993e9f1bd283 +SHA256 (lilypond-fonts-2.11.65.tar.gz) = 89ea868c2dbd75c39f9c1219e32838b831a4d766ae17e816a77b5d7d818e7c02 +SIZE (lilypond-fonts-2.11.65.tar.gz) = 538872