- 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.
This commit is contained in:
Pietro Cerutti 2008-12-11 23:49:42 +00:00
parent 5bc7f0f8f4
commit ca1f18c5cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=224132
2 changed files with 7 additions and 12 deletions

View File

@ -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|' \

View File

@ -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