aboutsummaryrefslogblamecommitdiff
path: root/x11-fonts/gnu-unifont-ttf/Makefile
blob: f504a181bbcdfd198147dd6c05c1d3488458fa4a (plain) (tree)
1
2
3
4
5
6
7
8
9
                       
                       



                                                  
                    

                                                              
 
                                   
                                         
                                                         
 






                      
                                                     

                                                                 
                                                  
                    
 


                                       
                                                                                                            
       
 
                      
PORTNAME=	unifont
PORTVERSION=	15.0.06
PORTEPOCH=	1
CATEGORIES=	x11-fonts
MASTER_SITES=	GNU/unifont/unifont-${PORTVERSION}
PKGNAMEPREFIX=	gnu-
PKGNAMESUFFIX=	-ttf
DISTFILES=	${FONTFILES:S|$|-${PORTVERSION}${FONTSUFFIX}|}
EXTRACT_ONLY=	# empty

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	GNU Unicode TrueType font
WWW=		https://unifoundry.com/unifont/index.html

LICENSE=	GPLv2+

USES=		fonts

NO_ARCH=	yes
NO_BUILD=	yes

FONTSDIR=	${PREFIX}/share/fonts/gnu-unifont-ttf
PLIST_FILES=	${FONTFILES:S|^|${FONTSDIR}/|:S|$|${FONTSUFFIX}|}

FONTFILES=	unifont unifont_csur unifont_upper
FONTSUFFIX=	.ttf

do-install:
	${MKDIR} ${STAGEDIR}${FONTSDIR}
.for i in ${FONTFILES}
	${INSTALL_DATA} ${DISTDIR}/${i}-${PORTVERSION}${FONTSUFFIX} ${STAGEDIR}${FONTSDIR}/${i}${FONTSUFFIX}
.endfor

.include <bsd.port.mk>