1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- 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>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-03-24 12:30:51 +00:00
parent d6317abcce
commit 8dadbfee1c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348959
2 changed files with 6 additions and 6 deletions

View File

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

View File

@ -5,7 +5,7 @@ line to the "Modules" section of your X Windows configuration file:
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.