mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
48 lines
1.6 KiB
Makefile
48 lines
1.6 KiB
Makefile
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dejavu
|
|
PORTVERSION= 2.37
|
|
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>
|