View | Details | Raw Unified | Return to bug 142777
Collapse All | Expand All

(-)b/liberation-fonts-ttf/Makefile (-10 / +7 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	liberation-fonts-ttf
8
PORTNAME=	liberation-fonts-ttf
9
PORTVERSION=	1.05.1.20090721
9
PORTVERSION=	1.05.2.20091227
10
PORTEPOCH=	1
10
PORTEPOCH=	1
11
CATEGORIES=	x11-fonts
11
CATEGORIES=	x11-fonts
12
MASTER_SITES=	https://fedorahosted.org/releases/l/i/liberation-fonts/
12
MASTER_SITES=	https://fedorahosted.org/releases/l/i/liberation-fonts/
Lines 18-24 Link Here
18
		mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
18
		mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
19
19
20
USE_XORG=	x11
20
USE_XORG=	x11
21
USE_ZIP=	yes	# The 1.05.1.20090721 tarball is broken
22
21
23
NO_WRKSUBDIR=	yes
22
NO_WRKSUBDIR=	yes
24
PLIST_SUB=	FONTDIR="${FONTDIR:S|${PREFIX}/||}"
23
PLIST_SUB=	FONTDIR="${FONTDIR:S|${PREFIX}/||}"
Lines 29-50 Link Here
29
28
30
FONTNAME=	Liberation
29
FONTNAME=	Liberation
31
FONTDIR=	${PREFIX}/lib/X11/fonts/${FONTNAME}
30
FONTDIR=	${PREFIX}/lib/X11/fonts/${FONTNAME}
32
INSTDAT=	AUTHORS License.txt fonts.dir fonts.scale
31
INSTDAT=	AUTHORS License.txt ttf/fonts.dir ttf/fonts.scale
33
32
34
MKFONTSCL_CMD=	${LOCALBASE}/bin/mkfontscale
33
MKFONTSCL_CMD=	${LOCALBASE}/bin/mkfontscale
35
MKFONTDIR_CMD=	${LOCALBASE}/bin/mkfontdir
34
MKFONTDIR_CMD=	${LOCALBASE}/bin/mkfontdir
36
35
37
do-build:
36
do-build:
38
	cd ${WRKSRC} &&	\
37
	cd ${WRKSRC}/ttf && ${MKFONTSCL_CMD}
39
	${MKFONTSCL_CMD}
38
	${REINPLACE_CMD} -e 's|-misc-|-redhat-|' ${WRKSRC}/ttf/fonts.scale
40
	${REINPLACE_CMD} -e 's|-misc-|-redhat-|' ${WRKSRC}/fonts.scale
39
	cd ${WRKSRC}/ttf && ${MKFONTDIR_CMD}
41
	cd ${WRKSRC} &&	\
42
	${MKFONTDIR_CMD}
43
40
44
do-install:
41
do-install:
45
	${MKDIR} ${FONTDIR}
42
	${MKDIR} ${FONTDIR}
46
	cd ${WRKSRC} &&	\
43
	cd ${WRKSRC} && \
47
	${INSTALL_DATA} ${INSTDAT} *.ttf ${FONTDIR}
44
	${INSTALL_DATA} ${INSTDAT} ttf/*.ttf ${FONTDIR}
48
45
49
post-install:
46
post-install:
50
	@${ECHO_MSG}
47
	@${ECHO_MSG}
(-)b/liberation-fonts-ttf/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (liberation-fonts-ttf-1.05.1.20090721.zip) = be344fa977332133ea5d6fbddfe0f216
1
MD5 (liberation-fonts-ttf-1.05.2.20091227.tar.gz) = c61feadcb9195f5a111de4018b85b974
2
SHA256 (liberation-fonts-ttf-1.05.1.20090721.zip) = b0f69bfbe4d35eb5af2d22b8ce3445b3c8beee5a9ce0f4a4fee7d12fe9592d34
2
SHA256 (liberation-fonts-ttf-1.05.2.20091227.tar.gz) = 2c4a413059930ea6a5fdde4b6f2cc49521f6c197040ade42efd10bf8a9c79a10
3
SIZE (liberation-fonts-ttf-1.05.1.20090721.zip) = 1049067
3
SIZE (liberation-fonts-ttf-1.05.2.20091227.tar.gz) = 1037481

Return to bug 142777