Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / fonts / dejavu-ttf / Makefile
blobe3b320470c1d8fcd95dc1cb95a3b0e069e5b7de0
1 # $NetBSD: Makefile,v 1.18 2012/04/26 03:06:05 gendalia Exp $
4 DISTNAME= dejavu-fonts-ttf-2.33
5 PKGNAME= ${DISTNAME:S/fonts-//}
6 CATEGORIES= fonts
7 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dejavu/}
8 EXTRACT_SUFX= .tar.bz2
10 MAINTAINER= jakllsch@NetBSD.org
11 HOMEPAGE= http://dejavu.sourceforge.net/
12 COMMENT= DejaVu family of TrueType fonts
14 NO_CONFIGURE= yes
15 NO_BUILD= yes
17 FONTS_DIRS.ttf= ${PREFIX}/lib/X11/fonts/TTF
19 EGDIR= ${PREFIX}/share/examples/${PKGBASE}
20 FCEGDIR= ${EGDIR}/fontconfig-conf.d
21 FCCFDIR= ${PKG_SYSCONFDIR}/fontconfig/conf.d
22 DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
24 MAKE_DIRS+= ${FCCFDIR}
26 CONF_FILES= ${FCEGDIR}/20-unhint-small-dejavu-sans-mono.conf \
27 ${FCCFDIR}/20-unhint-small-dejavu-sans-mono.conf
28 CONF_FILES+= ${FCEGDIR}/20-unhint-small-dejavu-sans.conf \
29 ${FCCFDIR}/20-unhint-small-dejavu-sans.conf
30 CONF_FILES+= ${FCEGDIR}/20-unhint-small-dejavu-serif.conf \
31 ${FCCFDIR}/20-unhint-small-dejavu-serif.conf
33 CONF_FILES+= ${FCEGDIR}/57-dejavu-sans-mono.conf \
34 ${FCCFDIR}/57-dejavu-sans-mono.conf
35 CONF_FILES+= ${FCEGDIR}/57-dejavu-sans.conf \
36 ${FCCFDIR}/57-dejavu-sans.conf
37 CONF_FILES+= ${FCEGDIR}/57-dejavu-serif.conf \
38 ${FCCFDIR}/57-dejavu-serif.conf
40 REQD_DIRS= ${EGDIR}
41 REQD_DIRS+= ${FCEGDIR}
43 INSTALLATION_DIRS= lib/X11/fonts/TTF ${DOCSDIR} ${FCEGDIR}
45 do-install:
46 ${INSTALL_DATA} ${WRKSRC}/ttf/*.ttf ${DESTDIR}${FONTS_DIRS.ttf}
47 ${INSTALL_DATA} ${WRKSRC}/fontconfig/*.conf ${DESTDIR}${FCEGDIR}
48 .for docfile in AUTHORS BUGS LICENSE NEWS README
49 ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DESTDIR}${DOCSDIR}
50 .endfor
52 .include "../../mk/bsd.pkg.mk"