diff options
author | edwin <edwin@FreeBSD.org> | 2003-10-03 11:47:23 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-10-03 11:47:23 +0000 |
commit | 3235ad79cc5990fa8f5518d0c72a4bf137ddf70e (patch) | |
tree | 6e5b6886498ee2fea771b226e10e001d3f5a0800 /arabic/ae_fonts_ttf/Makefile | |
parent | cc0d33a8175503e9ec7532983e2936bd4b1b282e (diff) | |
download | FreeBSD-ports-3235ad79cc5990fa8f5518d0c72a4bf137ddf70e.zip FreeBSD-ports-3235ad79cc5990fa8f5518d0c72a4bf137ddf70e.tar.gz |
New arabic port: ae_fonts_ttf
This port contains a collection of some of the most popular
Arabic fonts created and used by the Arabic UNIX community.
This truetype font set was developed at Arabeyes.
PR: ports/57508
Submitted by: Samy Al Bahra <samy@kerneled.com>
Diffstat (limited to 'arabic/ae_fonts_ttf/Makefile')
-rw-r--r-- | arabic/ae_fonts_ttf/Makefile | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/arabic/ae_fonts_ttf/Makefile b/arabic/ae_fonts_ttf/Makefile new file mode 100644 index 0000000..bf6406b --- /dev/null +++ b/arabic/ae_fonts_ttf/Makefile @@ -0,0 +1,78 @@ +# New ports collection makefile for: ae_fonts1_ttf +# Date created: August 22 2003 +# Whom: Samy Al Bahra <samy@kerneled.com> +# +# $FreeBSD$ +# + +PORTNAME= ae_fonts1_ttf +PORTVERSION= 1.0 +CATEGORIES= x11-fonts +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= arabeyes +DISTNAME= ae_fonts1_ttf_${PORTVERSION} + +MAINTAINER= samy@kerneled.com +COMMENT= A collection of truetype Arabic fonts created by Arabeyes.org + +BUILD_DEPENDS= ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir + +USE_X_PREFIX= yes +USE_BZIP2= yes +WRKSRC= ${WRKDIR}/ae_fonts1 + +.if !defined(WITHOUT_AAHS) +FONTS= AAHS +.endif + +.if !defined(WITHOUT_AGA) +FONTS+= AGA +.endif + +.if !defined(WITHOUT_FS) +FONTS+= FS +.endif + +.if !defined(WITHOUT_KASR) +FONTS+= Kasr +.endif + +.if !defined(WITHOUT_MCS) +FONTS+= MCS +.endif + +.if !defined(WITHOUT_SHMOOKH) +FONTS+= Shmookh +.endif + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} "*****************************************************" + @${ECHO_MSG} "The following make variables can be set to" + @${ECHO_MSG} "exclude certain font sets:" + @${ECHO_MSG} "" + @${ECHO_MSG} "WITHOUT_AAHS - do not install the AAHS font set" + @${ECHO_MSG} "WITHOUT_AGA - do not install the AGA font set" + @${ECHO_MSG} "WITHOUT_FS - do not install the FS font set" + @${ECHO_MSG} "WITHOUT_KASR - do not install the Kasr font set" + @${ECHO_MSG} "WITHOUT_MCS - do not install the MCS font set" + @${ECHO_MSG} "WITHOUT_SHMOOKH - do not install the Shmookh font set" + @${ECHO_MSG} "*****************************************************" + @${ECHO_MSG} "" + +do-build: +.for i in ${FONTS} + @ttmkfdir -c -d ${WRKSRC}/${i} > ${WRKSRC}/${i}/fonts.dir +.endfor + +do-install: +.for i in ${FONTS} + @${MKDIR} ${PREFIX}/lib/X11/fonts/ae_fonts1/${i} + @${INSTALL_DATA} ${WRKSRC}/${i}/* ${PREFIX}/lib/X11/fonts/ae_fonts1/${i} +.endfor + +post-install: + @${CAT} ${PKGMESSAGE} | ${SED} "s|X11BASE|${X11BASE}|g" \ + | ${SED} "s|PORTNAME|ae_fonts1|g" + +.include <bsd.port.mk> |