ports/142777: x11-fonts/liberation-fonts-ttf update to 1.05.2.20091227
Giorgos Keramidas
keramida at FreeBSD.org
Wed Jan 13 11:10:11 UTC 2010
>Number: 142777
>Category: ports
>Synopsis: x11-fonts/liberation-fonts-ttf update to 1.05.2.20091227
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 13 11:10:10 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Giorgos Keramidas
>Release: FreeBSD 9.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD kobe 9.0-CURRENT FreeBSD 9.0-CURRENT #0 hg at ca9eda1e1de8: Sat Jan 9 05:56:18 EET 2010 build at kobe:/usr/obj/usr/src/sys/KOBE i386
>Description:
The Liberation fonts have a new release, one that is available since 27
Dec 2009. Unfortunately this release is only available as a tarball,
and not a ZIP archive, so I had to make add some arguably ugly bits in
the port Makefile.
But the updated port seems to work ok, so here's the patch for it...
>How-To-Repeat:
>Fix:
--- liberation-fonts-ttf--1.05.2.20091227.patch begins here ---
diff -ruN a/liberation-fonts-ttf/Makefile b/liberation-fonts-ttf/Makefile
--- a/liberation-fonts-ttf/Makefile 2009-09-23 23:28:12.000000000 +0300
+++ b/liberation-fonts-ttf/Makefile 2010-01-13 12:06:19.263790000 +0200
@@ -6,7 +6,7 @@
#
PORTNAME= liberation-fonts-ttf
-PORTVERSION= 1.05.1.20090721
+PORTVERSION= 1.05.2.20091227
PORTEPOCH= 1
CATEGORIES= x11-fonts
MASTER_SITES= https://fedorahosted.org/releases/l/i/liberation-fonts/
@@ -18,7 +18,6 @@
mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
USE_XORG= x11
-USE_ZIP= yes # The 1.05.1.20090721 tarball is broken
NO_WRKSUBDIR= yes
PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}"
@@ -29,22 +28,20 @@
FONTNAME= Liberation
FONTDIR= ${PREFIX}/lib/X11/fonts/${FONTNAME}
-INSTDAT= AUTHORS License.txt fonts.dir fonts.scale
+INSTDAT= AUTHORS License.txt ttf/fonts.dir ttf/fonts.scale
MKFONTSCL_CMD= ${LOCALBASE}/bin/mkfontscale
MKFONTDIR_CMD= ${LOCALBASE}/bin/mkfontdir
do-build:
- cd ${WRKSRC} && \
- ${MKFONTSCL_CMD}
- ${REINPLACE_CMD} -e 's|-misc-|-redhat-|' ${WRKSRC}/fonts.scale
- cd ${WRKSRC} && \
- ${MKFONTDIR_CMD}
+ cd ${WRKSRC}/ttf && ${MKFONTSCL_CMD}
+ ${REINPLACE_CMD} -e 's|-misc-|-redhat-|' ${WRKSRC}/ttf/fonts.scale
+ cd ${WRKSRC}/ttf && ${MKFONTDIR_CMD}
do-install:
${MKDIR} ${FONTDIR}
- cd ${WRKSRC} && \
- ${INSTALL_DATA} ${INSTDAT} *.ttf ${FONTDIR}
+ cd ${WRKSRC} && \
+ ${INSTALL_DATA} ${INSTDAT} ttf/*.ttf ${FONTDIR}
post-install:
@${ECHO_MSG}
diff -ruN a/liberation-fonts-ttf/distinfo b/liberation-fonts-ttf/distinfo
--- a/liberation-fonts-ttf/distinfo 2009-09-23 23:28:12.000000000 +0300
+++ b/liberation-fonts-ttf/distinfo 2010-01-13 12:01:34.977002000 +0200
@@ -1,3 +1,3 @@
-MD5 (liberation-fonts-ttf-1.05.1.20090721.zip) = be344fa977332133ea5d6fbddfe0f216
-SHA256 (liberation-fonts-ttf-1.05.1.20090721.zip) = b0f69bfbe4d35eb5af2d22b8ce3445b3c8beee5a9ce0f4a4fee7d12fe9592d34
-SIZE (liberation-fonts-ttf-1.05.1.20090721.zip) = 1049067
+MD5 (liberation-fonts-ttf-1.05.2.20091227.tar.gz) = c61feadcb9195f5a111de4018b85b974
+SHA256 (liberation-fonts-ttf-1.05.2.20091227.tar.gz) = 2c4a413059930ea6a5fdde4b6f2cc49521f6c197040ade42efd10bf8a9c79a10
+SIZE (liberation-fonts-ttf-1.05.2.20091227.tar.gz) = 1037481
--- liberation-fonts-ttf--1.05.2.20091227.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list