blob: b08b3e22733b53e96c1f86efe66075c0f63de68d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# New ports collection makefile for: dejavu
# Date created: Dec 23 2004
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/x11-fonts/dejavu/Makefile,v 1.1 2006/10/13 23:29:09 ahze Exp $
#
PORTNAME= dejavu
DISTVERSION= 2.29
CATEGORIES= x11-fonts
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-fonts-ttf-${DISTVERSION}
MAINTAINER= ahze@FreeBSD.org
COMMENT= Bitstream Vera Fonts clone with a wider range of characters
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
USE_BZIP2= yes
USE_XORG= x11
NO_BUILD= yes
PORTDOCS= README status.txt unicover.txt langcover.txt
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}/"
MSG_FILE= ${PKGDIR}/pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
FONTNAME= ${PORTNAME}
FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME}
post-patch:
${SED} 's|%%FONTSDIR%%|${FONTSDIR}|g' ${MSG_FILE} > ${PKGMESSAGE}
do-install:
${MKDIR} ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/ttf/*.ttf ${FONTSDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
post-install:
@${ECHO_MSG} "===> Running fc-cache"
-${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
@${ECHO_MSG}
${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.include <bsd.port.mk>
|