mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
- Generate and install fonts.dir and fonts.scale
- Bump PORTREVISION for package change PR: ports/179965 Submitted by: Dmitry Afanasiev <KOT@MATPOCKuH.Ru>
This commit is contained in:
parent
5c1a3ded3d
commit
3dfc9b9fcd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343931
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= dejavu
|
PORTNAME= dejavu
|
||||||
PORTVERSION= 2.34
|
PORTVERSION= 2.34
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= x11-fonts
|
CATEGORIES= x11-fonts
|
||||||
MASTER_SITES= SF
|
MASTER_SITES= SF
|
||||||
DISTNAME= ${PORTNAME}-fonts-ttf-${PORTVERSION}
|
DISTNAME= ${PORTNAME}-fonts-ttf-${PORTVERSION}
|
||||||
@ -10,13 +11,14 @@ DISTNAME= ${PORTNAME}-fonts-ttf-${PORTVERSION}
|
|||||||
MAINTAINER= sunpoet@FreeBSD.org
|
MAINTAINER= sunpoet@FreeBSD.org
|
||||||
COMMENT= Bitstream Vera Fonts clone with a wider range of characters
|
COMMENT= Bitstream Vera Fonts clone with a wider range of characters
|
||||||
|
|
||||||
BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
|
BUILD_DEPENDS= ${LOCALBASE}/bin/fc-cache:${PORTSDIR}/x11-fonts/fontconfig \
|
||||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
${LOCALBASE}/bin/mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
|
||||||
|
${LOCALBASE}/bin/mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
|
||||||
|
RUN_DEPENDS= ${LOCALBASE}/bin/fc-cache:${PORTSDIR}/x11-fonts/fontconfig
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS LINKS
|
OPTIONS_DEFINE= DOCS LINKS
|
||||||
LINKS_DESC= Install links of configuration files in conf.d
|
LINKS_DESC= Install links of configuration files in conf.d
|
||||||
|
|
||||||
NO_BUILD= yes
|
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
|
|
||||||
FCDIR= ${PREFIX}/${FCDIR_REL}
|
FCDIR= ${PREFIX}/${FCDIR_REL}
|
||||||
@ -37,10 +39,14 @@ PLIST_SUB+= FCDIR_LINKS="${FCDIR_LINKS}"
|
|||||||
PLIST_SUB+= FCDIR_LINKS="@comment "
|
PLIST_SUB+= FCDIR_LINKS="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
do-build:
|
||||||
|
@cd ${WRKSRC}/ && ${LOCALBASE}/bin/mkfontscale
|
||||||
|
@cd ${WRKSRC}/ && ${LOCALBASE}/bin/mkfontdir
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${MKDIR} ${STAGEDIR}${FCDIR}/ ${STAGEDIR}${PREFIX}/${FCDIR_LINKS}/ ${STAGEDIR}${FONTSDIR}/
|
${MKDIR} ${STAGEDIR}${FCDIR}/ ${STAGEDIR}${PREFIX}/${FCDIR_LINKS}/ ${STAGEDIR}${FONTSDIR}/
|
||||||
${INSTALL_DATA} ${WRKSRC}/fontconfig/*.conf ${STAGEDIR}${FCDIR}/
|
${INSTALL_DATA} ${WRKSRC}/fontconfig/*.conf ${STAGEDIR}${FCDIR}/
|
||||||
${INSTALL_DATA} ${WRKSRC}/ttf/*.ttf ${STAGEDIR}${FONTSDIR}/
|
${INSTALL_DATA} ${WRKSRC}/fonts.* ${WRKSRC}/ttf/*.ttf ${STAGEDIR}${FONTSDIR}/
|
||||||
.if ${PORT_OPTIONS:MDOCS}
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
||||||
|
@ -31,4 +31,6 @@
|
|||||||
%%FONTSDIR_REL%%/DejaVuSerifCondensed-BoldItalic.ttf
|
%%FONTSDIR_REL%%/DejaVuSerifCondensed-BoldItalic.ttf
|
||||||
%%FONTSDIR_REL%%/DejaVuSerifCondensed-Italic.ttf
|
%%FONTSDIR_REL%%/DejaVuSerifCondensed-Italic.ttf
|
||||||
%%FONTSDIR_REL%%/DejaVuSerifCondensed.ttf
|
%%FONTSDIR_REL%%/DejaVuSerifCondensed.ttf
|
||||||
|
%%FONTSDIR_REL%%/fonts.dir
|
||||||
|
%%FONTSDIR_REL%%/fonts.scale
|
||||||
@dirrm %%FONTSDIR_REL%%
|
@dirrm %%FONTSDIR_REL%%
|
||||||
|
Loading…
Reference in New Issue
Block a user