1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/x11-fonts/farsifonts/Makefile

28 lines
734 B
Makefile
Raw Normal View History

# 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
2014-03-10 18:09:41 +00:00
USES= zip
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} ${STAGEDIR}${PREFIX}/lib/X11/fonts/farsifonts
@${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${PREFIX}/lib/X11/fonts/farsifonts
@${INSTALL_DATA} ${WRKSRC}/fonts.dir ${STAGEDIR}${PREFIX}/lib/X11/fonts/farsifonts
.include <bsd.port.mk>