summaryrefslogtreecommitdiff
path: root/fonts/thaixfonts/Makefile
diff options
context:
space:
mode:
authorrillig <rillig>2007-11-03 15:33:12 +0000
committerrillig <rillig>2007-11-03 15:33:12 +0000
commitbf81f5d50f190e59910f14aa36b8750ef27537a1 (patch)
treef2da0d026a7edb05e23d70c9a0173cc33ba22216 /fonts/thaixfonts/Makefile
parentb12b903481e75ed5da523d81edac62eb1a22339e (diff)
downloadpkgsrc-bf81f5d50f190e59910f14aa36b8750ef27537a1.tar.gz
Imported thaixfonts from pkgsrc-wip.
A collection of Thai fonts for X11. Includes: - DBThaiText family - DBNarai family - Manop's fonts - Voradesh fonts - Etl Thai - Phaisarn's fonts - Phaisarn's Linux console fonts (untested) They use tis-620 encoding. See home page for more info. Packaged by scole_mail@softhome.net.
Diffstat (limited to 'fonts/thaixfonts/Makefile')
-rw-r--r--fonts/thaixfonts/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/fonts/thaixfonts/Makefile b/fonts/thaixfonts/Makefile
new file mode 100644
index 00000000000..fb3aa7c66f2
--- /dev/null
+++ b/fonts/thaixfonts/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/11/03 15:33:12 rillig Exp $
+#
+
+DISTNAME= thaixfonts-1.1-3.noarch
+PKGNAME= thaixfonts-1.1.3
+CATEGORIES= fonts x11
+MASTER_SITES= http://www.fedu.uec.ac.jp/ZzzThai/linux/redhat/RPMS/noarch/
+EXTRACT_SUFX= .rpm
+
+MAINTAINER= scole_mail@softhome.net
+HOMEPAGE= http://www.fedu.uec.ac.jp/ZzzThai/fonts.html
+COMMENT= Various X11 Thai fonts in tis-620 encoding
+
+BUILD_DEPENDS+= rpm-[0-9]*:../../misc/rpm
+
+USE_X11BASE= yes
+
+MAKE_ENV+= FONTDIR=${FONTDIR}
+
+FONTDIR= ${PREFIX}/lib/X11/fonts/thaixfonts/
+
+WRKSRC= ${WRKDIR}/usr/share/fonts/TIS-620/misc/
+
+NO_BUILD= yes
+NO_CONFIGURE= yes
+
+do-extract:
+ cd ${WRKDIR} && rpm2cpio ${_DISTDIR}/${DISTFILES} | \
+ cpio -i --make-directories \*
+
+pre-install:
+ ${INSTALL_DATA_DIR} ${FONTDIR}
+
+do-install:
+ cd ${WRKSRC} && ${INSTALL_DATA} *.gz fonts.* ${FONTDIR}
+
+.include "../../mk/bsd.pkg.mk"