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-
//}
7 MASTER_SITES
= ${MASTER_SITE_SOURCEFORGE
:=dejavu
/}
10 MAINTAINER
= jakllsch@NetBSD.org
11 HOMEPAGE
= http
://dejavu.sourceforge.net
/
12 COMMENT
= DejaVu family of TrueType fonts
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
41 REQD_DIRS
+= ${FCEGDIR}
43 INSTALLATION_DIRS
= lib
/X11
/fonts
/TTF
${DOCSDIR} ${FCEGDIR}
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}
52 .
include "../../mk/bsd.pkg.mk"