svn commit: r348959 - in head/x11-fonts/dejavu: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Mar 24 12:30:52 UTC 2014
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 at 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.
More information about the svn-ports-all
mailing list