1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/x11-fonts/dejavu/Makefile
Niclas Zeising 7a325e6491 x11-fonts/mkfontscale: Update to 1.2.0
Update x11-fonts/mkfontscale to 1.2.0
Remove x11-fonts/mkfontdir, which has been merged into mkfontscale.
Update dependencies and bump portrevisions.
Add an entry to UPDATING and MOVES

Changelog:
https://lists.x.org/archives/xorg/2019-March/059633.html

Thanks to Antoine for the exp-run!

PR:		236336 (exp-run)
Obtained from:	FreeBSD Graphics Team dev repo
		https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/mkfontscale
Sponsored by:	B3 Init
2019-03-11 21:25:57 +00:00

49 lines
1.6 KiB
Makefile

# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
PORTNAME= dejavu
PORTVERSION= 2.37
PORTREVISION= 1
DISTVERSIONPREFIX= fonts-ttf-
CATEGORIES= x11-fonts
MASTER_SITES= https://github.com/dejavu-fonts/dejavu-fonts/releases/download/version_${PORTVERSION:R}_${PORTVERSION:E}/
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Bitstream Vera Fonts clone with a wider range of characters
LICENSE= AMS AREV BITSTREAM
LICENSE_COMB= multi
LICENSE_NAME_AMS= AMSFonts Copyright version 2.2
LICENSE_NAME_AREV= Arev Fonts Copyright
LICENSE_NAME_BITSTREAM= Bitstream Vera Fonts Copyright
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS_AMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_PERMS_AREV= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_PERMS_BITSTREAM=dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
OPTIONS_DEFINE= DOCS LINKS
OPTIONS_DEFAULT=LINKS
OPTIONS_SUB= yes
LINKS_DESC= Install links of configuration files in conf.d
NO_ARCH= yes
NO_BUILD= yes
USES= fonts tar:bzip2
PLIST_SUB= FCDIR=${FCDIR} FCDIR_LINKS=${FCDIR_LINKS}
PORTDOCS= README.md langcover.txt status.txt unicover.txt
SUB_FILES= pkg-message
FCDIR?= etc/fonts/conf.avail
FCDIR_LINKS= ${FCDIR:S|conf.avail|conf.d|}
do-install:
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}${FONTSDIR}/
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>