blob: d4a0f31b78c1fc4c824e54058ba4da14aed1660e (
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
|
# New ports collection makefile for: fonts-te
# Date created: Jan 24 2007
# Whom: Prudhvi Krishna <prudhvikrishna@gmail.com>
#
# $FreeBSD$
PORTNAME= fonts-te
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= http://itachi.prudhvi.org/te_fonts/ \
http://freebsd.unixfreunde.de/sources/
MAINTAINER= prudhvikrishna@gmail.com
COMMENT= Telugu fonts for te_IN.
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
USE_BZIP2= yes
NO_BUILD= yes
PORTDOCS= MANUAL.PDF
PKGMESSAGE= ${PKGDIR}/pkg-message
USE_X_PREFIX= yes
FONTSDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
PLIST_SUB= FONTSDIR=${FONTSDIR:S|^${PREFIX}/||}
do-install:
${MKDIR} ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/Pothana2000.ttf ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/vemana.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"
-${X11BASE}/bin/fc-cache -f -v ${FONTSDIR}
@${ECHO_MSG}
${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.include <bsd.port.mk>
|