1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/x11-fonts/farsifonts/Makefile
Danilo Egea Gondolfo a63bcd1855 - Add stage support
PR:		ports/190801
Submitted by:	Carlos Jacobo Puga Medina <cjpugmed@gmail.com>
2014-06-08 21:22:25 +00:00

28 lines
734 B
Makefile

# 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}
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>