blob: 8b0fed2622b73a07862f63a82a602ebb084f9264 (
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
|
# Created by: Babak Farrokhi <babak@farrokhi.net>
# $FreeBSD$
PORTNAME= farsifonts
PORTVERSION= 0.4
PORTREVISION= 2
CATEGORIES= x11-fonts
MASTER_SITES= SF/farsi-fonts/
MAINTAINER= javad.kouhi@gmail.com
COMMENT= Standard set of Unicode Persian fonts
BUILD_DEPENDS= ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir
USES= zip
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
FONTSDIR?= ${PREFIX}/lib/X11/fonts/${PORTNAME}
NO_STAGE= yes
do-build:
@ttmkfdir -c -d ${WRKSRC} -o ${WRKSRC}/fonts.dir
do-install:
@${MKDIR} ${PREFIX}/lib/X11/fonts/farsifonts
@${INSTALL_DATA} ${WRKSRC}/*.ttf ${PREFIX}/lib/X11/fonts/farsifonts
@${INSTALL_DATA} ${WRKSRC}/fonts.dir ${PREFIX}/lib/X11/fonts/farsifonts
.include <bsd.port.mk>
|