1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/arabic/kacst_fonts/Makefile
Thierry Thomas d96a81c159 Run ttmkfdir in a writable directory and unbreak.
PR:		ports/103852
Approved by:	maintainer
2006-10-02 19:33:31 +00:00

39 lines
950 B
Makefile

# New ports collection makefile for: kacst_fonts
# Date created: August 22 2003
# Whom: Samy Al Bahra <samy@kerneled.com>
#
# $FreeBSD$
#
PORTNAME= kacst_fonts
PORTVERSION= 1.5
CATEGORIES= arabic
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= arabeyes
DISTNAME= kacst_fonts_${PORTVERSION}
MAINTAINER= sbahra@kerneled.org
COMMENT= Truetype Arabic fonts created by KACST
BUILD_DEPENDS= ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir
USE_X_PREFIX= yes
USE_BZIP2= yes
WRKSRC= ${WRKDIR}/KacstArabicFonts-${PORTVERSION}
SUB_FILES= pkg-message
SUB_LIST= PORTNAME="${PORTNAME}"
do-build:
cd ${WRKDIR} && ttmkfdir -c -d ${WRKSRC} > ${WRKSRC}/fonts.dir
do-install:
${MKDIR} ${PREFIX}/lib/X11/fonts/kacst_fonts/
${INSTALL_DATA} ${WRKSRC}/*.ttf ${PREFIX}/lib/X11/fonts/kacst_fonts/
${INSTALL_DATA} ${WRKSRC}/fonts.dir ${PREFIX}/lib/X11/fonts/kacst_fonts/
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>