summaryrefslogtreecommitdiff
path: root/arabic/kacst_fonts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arabic/kacst_fonts/Makefile')
-rw-r--r--arabic/kacst_fonts/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/arabic/kacst_fonts/Makefile b/arabic/kacst_fonts/Makefile
new file mode 100644
index 000000000000..a41cd15637cc
--- /dev/null
+++ b/arabic/kacst_fonts/Makefile
@@ -0,0 +1,36 @@
+# 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.4
+CATEGORIES= x11-fonts
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= arabeyes
+DISTNAME= kacst_fonts_${PORTVERSION}
+
+MAINTAINER= samy@kerneled.com
+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}
+
+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} | ${SED} "s|X11BASE|${X11BASE}|g" \
+ | ${SED} "s|PORTNAME|${PORTNAME}|g"
+
+.include <bsd.port.mk>