diff options
author | bapt <bapt@FreeBSD.org> | 2015-03-21 00:30:23 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-03-21 00:30:23 +0800 |
commit | 2dfd70260fada51345ee7d7203a38c7bb02a8f1e (patch) | |
tree | a78a65e64a03b653085353e6fac15377c60eb92b /x11-fonts | |
parent | 4154cc54ea46172f87ba291bab84cf5e91d1b757 (diff) | |
download | freebsd-ports-graphics-2dfd70260fada51345ee7d7203a38c7bb02a8f1e.tar.gz freebsd-ports-graphics-2dfd70260fada51345ee7d7203a38c7bb02a8f1e.tar.zst freebsd-ports-graphics-2dfd70260fada51345ee7d7203a38c7bb02a8f1e.zip |
Convert to USES=fonts
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/dejavu/Makefile | 16 | ||||
-rw-r--r-- | x11-fonts/dejavu/pkg-plist | 1 |
2 files changed, 5 insertions, 12 deletions
diff --git a/x11-fonts/dejavu/Makefile b/x11-fonts/dejavu/Makefile index 1deee79ef65..1f6039fc430 100644 --- a/x11-fonts/dejavu/Makefile +++ b/x11-fonts/dejavu/Makefile @@ -3,7 +3,7 @@ PORTNAME= dejavu PORTVERSION= 2.34 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11-fonts MASTER_SITES= SF DISTNAME= ${PORTNAME}-fonts-ttf-${PORTVERSION} @@ -11,32 +11,26 @@ DISTNAME= ${PORTNAME}-fonts-ttf-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Bitstream Vera Fonts clone with a wider range of characters -BUILD_DEPENDS= ${LOCALBASE}/bin/fc-cache:${PORTSDIR}/x11-fonts/fontconfig \ - ${LOCALBASE}/bin/mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \ - ${LOCALBASE}/bin/mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale - OPTIONS_DEFINE= DOCS LINKS OPTIONS_DEFAULT=LINKS OPTIONS_SUB= yes LINKS_DESC= Install links of configuration files in conf.d NO_BUILD= yes -USES= tar:bzip2 +USES= fonts tar:bzip2 -PLIST_SUB= FCDIR=${FCDIR} FCDIR_LINKS=${FCDIR_LINKS} FONTSDIR=${FONTSDIR} +PLIST_SUB= FCDIR=${FCDIR} FCDIR_LINKS=${FCDIR_LINKS} PORTDOCS= README langcover.txt status.txt unicover.txt SUB_FILES= pkg-message -SUB_LIST= FONTSDIR=${FONTSDIR} FCDIR?= etc/fonts/conf.avail FCDIR_LINKS= ${FCDIR:S|conf.avail|conf.d|} -FONTSDIR?= lib/X11/fonts/${PORTNAME} do-install: - cd ${STAGEDIR}${PREFIX}/ && ${MKDIR} ${FCDIR}/ ${FCDIR_LINKS}/ ${FONTSDIR}/ + cd ${STAGEDIR}${PREFIX}/ && ${MKDIR} ${FCDIR}/ ${FCDIR_LINKS}/ ${STAGEDIR}${FONTSDIR}/ ${INSTALL_DATA} ${WRKSRC}/fontconfig/*.conf ${STAGEDIR}${PREFIX}/${FCDIR}/ cd ${STAGEDIR}${PREFIX}/${FCDIR_LINKS}/ && ${LN} -fs ../conf.avail/*dejavu*.conf . - ${INSTALL_DATA} ${WRKSRC}/ttf/*.ttf ${STAGEDIR}${PREFIX}/${FONTSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/ttf/*.ttf ${STAGEDIR}${FONTSDIR}/ ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ diff --git a/x11-fonts/dejavu/pkg-plist b/x11-fonts/dejavu/pkg-plist index d73af70eec1..fae43742ea0 100644 --- a/x11-fonts/dejavu/pkg-plist +++ b/x11-fonts/dejavu/pkg-plist @@ -31,4 +31,3 @@ %%FONTSDIR%%/DejaVuSerifCondensed-BoldItalic.ttf %%FONTSDIR%%/DejaVuSerifCondensed-Italic.ttf %%FONTSDIR%%/DejaVuSerifCondensed.ttf -@fcfontsdir %%FONTSDIR%% |