Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2014 12:30:51 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348959 - in head/x11-fonts/dejavu: . files
Message-ID:  <201403241230.s2OCUptM075980@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Mar 24 12:30:51 2014
New Revision: 348959
URL: http://svnweb.freebsd.org/changeset/ports/348959
QAT: https://qat.redports.org/buildarchive/r348959/

Log:
  - Fix fonts.dir and fonts.scale
  - Fix pkg-message
  - Bump PORTREVISION for package change
  - While I'm here, use USES=tar:bzip2
  
  Submitted by:	J.R. Oldroyd <jr@opal.com>

Modified:
  head/x11-fonts/dejavu/Makefile
  head/x11-fonts/dejavu/files/pkg-message.in

Modified: head/x11-fonts/dejavu/Makefile
==============================================================================
--- head/x11-fonts/dejavu/Makefile	Mon Mar 24 12:30:45 2014	(r348958)
+++ head/x11-fonts/dejavu/Makefile	Mon Mar 24 12:30:51 2014	(r348959)
@@ -3,7 +3,7 @@
 
 PORTNAME=	dejavu
 PORTVERSION=	2.34
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	x11-fonts
 MASTER_SITES=	SF
 DISTNAME=	${PORTNAME}-fonts-ttf-${PORTVERSION}
@@ -19,7 +19,7 @@ OPTIONS_DEFAULT=LINKS
 OPTIONS_SUB=	yes
 LINKS_DESC=	Install links of configuration files in conf.d
 
-USE_BZIP2=	yes
+USES=		tar:bzip2
 
 PLIST_SUB=	FCDIR=${FCDIR} FCDIR_LINKS=${FCDIR_LINKS} FONTSDIR=${FONTSDIR}
 PORTDOCS=	README langcover.txt status.txt unicover.txt
@@ -31,14 +31,14 @@ FCDIR_LINKS=	${FCDIR:S|conf.avail|conf.d
 FONTSDIR?=	lib/X11/fonts/${PORTNAME}
 
 do-build:
-	@cd ${WRKSRC}/ && ${LOCALBASE}/bin/mkfontscale
-	@cd ${WRKSRC}/ && ${LOCALBASE}/bin/mkfontdir
+	@cd ${WRKSRC}/ttf/ && ${LOCALBASE}/bin/mkfontscale
+	@cd ${WRKSRC}/ttf/ && ${LOCALBASE}/bin/mkfontdir
 
 do-install:
 	cd ${STAGEDIR}${PREFIX}/ && ${MKDIR} ${FCDIR}/ ${FCDIR_LINKS}/ ${FONTSDIR}/
 	${INSTALL_DATA} ${WRKSRC}/fontconfig/*.conf ${STAGEDIR}${PREFIX}/${FCDIR}/
 	cd ${STAGEDIR}${PREFIX}/${FCDIR_LINKS}/ && ${LN} -fs ../conf.avail/*dejavu*.conf .
-	${INSTALL_DATA} ${WRKSRC}/fonts.* ${WRKSRC}/ttf/*.ttf ${STAGEDIR}${PREFIX}/${FONTSDIR}/
+	${INSTALL_DATA} ${WRKSRC}/ttf/fonts.* ${WRKSRC}/ttf/*.ttf ${STAGEDIR}${PREFIX}/${FONTSDIR}/
 	${MKDIR} ${STAGEDIR}${DOCSDIR}/
 	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
 

Modified: head/x11-fonts/dejavu/files/pkg-message.in
==============================================================================
--- head/x11-fonts/dejavu/files/pkg-message.in	Mon Mar 24 12:30:45 2014	(r348958)
+++ head/x11-fonts/dejavu/files/pkg-message.in	Mon Mar 24 12:30:51 2014	(r348959)
@@ -5,7 +5,7 @@ line to the "Modules" section of your X 
 
 Add the following line to the "Files" section of X Windows configuration file:
 
-	FontPath "%%FONTSDIR%%/"
+	FontPath "%%PREFIX%%/%%FONTSDIR%%/"
 
 Note: your X Windows configuration file is typically /etc/X11/XF86Config
 if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403241230.s2OCUptM075980>