summaryrefslogtreecommitdiffstats
path: root/arabic/kacst_fonts/Makefile
blob: 621ac52f8cb99ddab426cc8076a82bd918c110a5 (plain)
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
29
30
31
32
33
34
35
36
37
38
# 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:
	@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>
OpenPOWER on IntegriCloud