summaryrefslogtreecommitdiff
path: root/x11-fonts/farsifonts/Makefile
blob: d266a4e3233e1a18e24da084bebe393f0c2bc098 (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
# New ports collection makefile for:	farsifonts
# Date created:				06 FEB 2006
# Whom:					Babak Farrokhi <babak@farrokhi.net>
#
# $FreeBSD$
#

PORTNAME=	farsifonts
PORTVERSION=	0.4
CATEGORIES=	x11-fonts
MASTER_SITES=	http://www.farsiweb.info/font/

MAINTAINER=	babak@farrokhi.net
COMMENT=	Standard set of Unicode Persian fonts

BUILD_DEPENDS=	ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir

USE_X_PREFIX=	yes
USE_ZIP=	yes

do-build:
	@ttmkfdir -c -d ${WRKSRC} > ${WRKSRC}/fonts.dir

do-install:
	@${MKDIR} ${PREFIX}/lib/X11/fonts/farsifonts
	@${INSTALL_DATA} ${WRKSRC}/*.ttf ${PREFIX}/lib/X11/fonts/farsifonts
	@${INSTALL_DATA} ${WRKSRC}/*.dir ${PREFIX}/lib/X11/fonts/farsifonts

.include <bsd.port.mk>