summaryrefslogtreecommitdiffstats
path: root/korean/baekmukfonts-ttf/Makefile
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-01-29 22:28:29 +0000
committersteve <steve@FreeBSD.org>2000-01-29 22:28:29 +0000
commit009c7288b5f5c23cfaa8fcb2a989ef438c2d9545 (patch)
tree83a10d8d08835f81be5e61a37f4ed7d31d1577f3 /korean/baekmukfonts-ttf/Makefile
parent4bb5dea3e3c2146de88aff3ff1c80c35dad6076b (diff)
downloadFreeBSD-ports-009c7288b5f5c23cfaa8fcb2a989ef438c2d9545.zip
FreeBSD-ports-009c7288b5f5c23cfaa8fcb2a989ef438c2d9545.tar.gz
Adding ko-baekmukfonts-ttf version 2.0.
Baekmuk family Korean TrueType Fonts. PR: 16367 Submitted by: CHOI Junho <cjh@kr.freebsd.org>
Diffstat (limited to 'korean/baekmukfonts-ttf/Makefile')
-rw-r--r--korean/baekmukfonts-ttf/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/korean/baekmukfonts-ttf/Makefile b/korean/baekmukfonts-ttf/Makefile
new file mode 100644
index 0000000..d58fa9f
--- /dev/null
+++ b/korean/baekmukfonts-ttf/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: Baekmuk Korean TrueType fonts
+# Version required: 2.0
+# Date created: 17 Jan 2000
+# Whom: CHOI Junho <cjh@kr.freebsd.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= baekmuk-ttf-2.0
+PKGNAME= ko-baekmukfonts-ttf-2.0
+CATEGORIES= korean
+MASTER_SITES= ftp://ftp.mizi.co.kr/pub/baekmuk/
+
+MAINTAINER= cjh@kr.freebsd.org
+
+USE_X_PREFIX= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+FONTDIR= ${PREFIX}/lib/X11/fonts/TrueType
+FONTLIST= batang gulim dotum hline
+
+.include <bsd.port.pre.mk>
+
+do-install:
+.if !exists(${FONTDIR})
+ @${ECHO} "*********************************************************"
+ @${ECHO} "If you want to use these fonts from X, install"
+ @${ECHO} "one of X-TT servers(x11-servers/Xtt*) and add ${FONTDIR}"
+ @${ECHO} "to your font path in /etc/XF86Config."
+ @${ECHO} "If you want to use these fonts from ghostscript,"
+ @${ECHO} "install korean/ftghostscript5 and edit"
+ @${ECHO} "${LOCALBASE}/share/ghostscript/5.10ft/hangul/hconfig.ps"
+ @${ECHO} "See examples in ${FONTDIR}"
+ @${ECHO} "*********************************************************"
+ ${MKDIR} ${FONTDIR}
+.endif
+.for FONTNAME in ${FONTLIST}
+ ${INSTALL_DATA} ${WRKSRC}/${FONTNAME}.ttf ${FONTDIR}
+.endfor
+ ${INSTALL_DATA} ${FILESDIR}/fonts.dir ${FONTDIR}/fonts.dir.baekmuk
+ ${INSTALL_DATA} ${FILESDIR}/fonts.alias ${FONTDIR}/fonts.alias.baekmuk
+ ${INSTALL_DATA} ${FILESDIR}/hconfig.ps ${FONTDIR}/hconfig.ps.baekmuk
+ ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
+
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud