summaryrefslogtreecommitdiff
path: root/fonts/tex-unttf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/tex-unttf/Makefile')
-rw-r--r--fonts/tex-unttf/Makefile67
1 files changed, 67 insertions, 0 deletions
diff --git a/fonts/tex-unttf/Makefile b/fonts/tex-unttf/Makefile
new file mode 100644
index 00000000000..5840cd0bf7d
--- /dev/null
+++ b/fonts/tex-unttf/Makefile
@@ -0,0 +1,67 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/29 22:28:28 minskim Exp $
+#
+
+DISTNAME= tex-unttf-20051115
+PKGNAME= ${DISTNAME:S/unttf-/unttf-1.0.1./}
+CATEGORIES= fonts
+MASTER_SITES= http://home.bawi.org/~minskim/distfiles/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://faq.ktug.or.kr/faq/DHUcs
+COMMENT= TeX fonts based on Un fonts
+
+DEPENDS+= ttf2pk>=1.3.1:../../fonts/ttf2pk
+DEPENDS+= un-core-ttf>=1.0:../../fonts/un-core-ttf
+DEPENDS+= un-extra-ttf>=1.0.1:../../fonts/un-extra-ttf
+
+EXTRACT_ONLY= # empty
+NO_CONFIGURE= yes
+NO_BUILD= yes
+
+TEX_FONTMAPS= unttf-pdftex.map
+DVIPDFMX_FONTMAPS= cid-unttf.map
+
+.include "../../print/dvipdfmx/map.mk"
+.include "../../print/teTeX/module.mk"
+
+SYSTTFDIR= ${LOCALBASE}/lib/X11/fonts/TTF
+TEXTTFDIR= ${PKG_LOCALTEXMFPREFIX}/fonts/truetype/unttf
+
+do-install:
+ extract_file=${_DISTDIR:Q}/${DISTNAME}${EXTRACT_SUFX}; \
+ cd ${PKG_LOCALTEXMFPREFIX}/fonts; ${EXTRACT_CMD${EXTRACT_SUFX}}
+ ${INSTALL_DATA_DIR} ${TEXTTFDIR}/unbt
+ ${LN} -sf ${SYSTTFDIR}/UnBatang.ttf ${TEXTTFDIR}/unbt/
+ ${LN} -sf ${SYSTTFDIR}/UnBatangBold.ttf ${TEXTTFDIR}/unbt/
+ ${INSTALL_DATA_DIR} ${TEXTTFDIR}/ungt
+ ${LN} -sf ${SYSTTFDIR}/UnDotum.ttf ${TEXTTFDIR}/ungt/
+ ${LN} -sf ${SYSTTFDIR}/UnDotumBold.ttf ${TEXTTFDIR}/ungt/
+ ${INSTALL_DATA_DIR} ${TEXTTFDIR}/ungr
+ ${LN} -sf ${SYSTTFDIR}/UnGraphic.ttf ${TEXTTFDIR}/ungr/
+ ${LN} -sf ${SYSTTFDIR}/UnGraphixBold.ttf ${TEXTTFDIR}/ungr/
+ ${INSTALL_DATA_DIR} ${TEXTTFDIR}/ungs
+ ${LN} -sf ${SYSTTFDIR}/UnGungseo.ttf ${TEXTTFDIR}/ungs/
+ ${INSTALL_DATA_DIR} ${TEXTTFDIR}/unbm
+ ${LN} -sf ${SYSTTFDIR}/UnBom.ttf ${TEXTTFDIR}/unbm/
+ ${INSTALL_DATA_DIR} ${TEXTTFDIR}/unpn
+ ${LN} -sf ${SYSTTFDIR}/UnPen.ttf ${TEXTTFDIR}/unpn/
+ ${INSTALL_DATA_DIR} ${TEXTTFDIR}/unph
+ ${LN} -sf ${SYSTTFDIR}/UnPenheulim.ttf ${TEXTTFDIR}/unph/
+ ${INSTALL_DATA_DIR} ${TEXTTFDIR}/unpg
+ ${LN} -sf ${SYSTTFDIR}/UnPilgi.ttf ${TEXTTFDIR}/unpg/
+ ${LN} -sf ${SYSTTFDIR}/UnPilgiBold.ttf ${TEXTTFDIR}/unpg/
+ ${INSTALL_DATA_DIR} ${TEXTTFDIR}/unsh
+ ${LN} -sf ${SYSTTFDIR}/UnShinmun.ttf ${TEXTTFDIR}/unsh/
+ ${INSTALL_DATA_DIR} ${TEXTTFDIR}/unyt
+ ${LN} -sf ${SYSTTFDIR}/UnYetgul.ttf ${TEXTTFDIR}/unyt/
+ ${INSTALL_DATA_DIR} ${TEXTTFDIR}/unjbt
+ ${LN} -sf ${SYSTTFDIR}/UnJamoBatang.ttf ${TEXTTFDIR}/unjbt/
+ ${INSTALL_DATA_DIR} ${TEXTTFDIR}/unjgt
+ ${LN} -sf ${SYSTTFDIR}/UnJamoDotum.ttf ${TEXTTFDIR}/unjgt/
+ ${INSTALL_DATA_DIR} ${TEXTTFDIR}/unjnv
+ ${LN} -sf ${SYSTTFDIR}/UnJamoNovel.ttf ${TEXTTFDIR}/unjnv/
+ ${INSTALL_DATA_DIR} ${TEXTTFDIR}/unjsr
+ ${LN} -sf ${SYSTTFDIR}/UnJamoSora.ttf ${TEXTTFDIR}/unjsr/
+
+.include "../../mk/bsd.pkg.mk"