mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
1d6e3807bf
Approved by: miwi (mentor)
33 lines
840 B
Makefile
33 lines
840 B
Makefile
# 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.unixified.net/distfiles/ \
|
|
http://www.farsiweb.info/font/
|
|
|
|
MAINTAINER= farrokhi@FreeBSD.org
|
|
COMMENT= Standard set of Unicode Persian fonts
|
|
|
|
BUILD_DEPENDS= ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_ZIP= yes
|
|
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
|
|
FONTSDIR?= ${PREFIX}/lib/X11/fonts/${PORTNAME}
|
|
|
|
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>
|