summaryrefslogtreecommitdiffstats
path: root/korean/mplayer-fonts
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2002-07-06 23:35:18 +0000
committerperky <perky@FreeBSD.org>2002-07-06 23:35:18 +0000
commitc4ed5c55c073ea98946294478c1e6b72afb0e2b9 (patch)
tree178508e5f565d96b3255866ae674759e6d9b6e9e /korean/mplayer-fonts
parentcc1cbed7337410f8e2af275277c19f3d26c90f08 (diff)
downloadFreeBSD-ports-c4ed5c55c073ea98946294478c1e6b72afb0e2b9.zip
FreeBSD-ports-c4ed5c55c073ea98946294478c1e6b72afb0e2b9.tar.gz
Add mplayer-fonts 1.0,
Korean font pack for the mplayer OSD, SUB and SMI. PR: 39321 Submitted by: me
Diffstat (limited to 'korean/mplayer-fonts')
-rw-r--r--korean/mplayer-fonts/Makefile86
-rw-r--r--korean/mplayer-fonts/distinfo4
-rw-r--r--korean/mplayer-fonts/pkg-comment1
-rw-r--r--korean/mplayer-fonts/pkg-descr7
-rw-r--r--korean/mplayer-fonts/pkg-message8
-rw-r--r--korean/mplayer-fonts/pkg-plist123
6 files changed, 229 insertions, 0 deletions
diff --git a/korean/mplayer-fonts/Makefile b/korean/mplayer-fonts/Makefile
new file mode 100644
index 0000000..985e3c5
--- /dev/null
+++ b/korean/mplayer-fonts/Makefile
@@ -0,0 +1,86 @@
+# New ports collection makefile for: ko-mplayer-fonts
+# Date created: 17 June 2002
+# Whom: Hye-Shik Chang
+#
+# $FreeBSD$
+
+PORTNAME= mplayer-fonts
+PORTVERSION= 1.0
+CATEGORIES= korean graphics
+MASTER_SITES= http://ftp.mplayerhq.hu/MPlayer/releases/ \
+ http://www.mplayerhq.hu/MPlayer/releases/ \
+ http://www2.mplayerhq.hu/MPlayer/releases/ \
+ http://fallin.lv/distfiles/:fontmap \
+ http://www.yonsei.ac.kr/yu/intro/symbol/:yonsei
+DISTFILES= ${MPLAYER_DISTNAME}.tar.bz2 \
+ mplayer-fontmap-euc-kr.tar.bz2:fontmap \
+ ${YONSEI_TITLE_DISTNAME}:yonsei \
+ ${YONSEI_TEXT_DISTNAME}:yonsei
+EXTRACT_ONLY= ${MPLAYER_DISTNAME}.tar.bz2 mplayer-fontmap-euc-kr.tar.bz2
+
+MAINTAINER= perky@FreeBSD.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libiconv.so.3:${PORTSDIR}/converters/libiconv \
+ ${FREETYPE_CONFIG}:${PORTSDIR}/print/freetype2 \
+ ${BAEKMUK_FONTDIR}/gulim.ttf:${PORTSDIR}/korean/baekmukfonts-ttf
+
+USE_BZIP2= yes
+USE_REINPLACE= yes
+WRKSRC= ${WRKDIR}/${MPLAYER_DISTNAME}/TOOLS/subfont-c
+PLIST_SUB+= MF=${MPLAYER_FONTDIR:S,${LOCALBASE}/,,g}
+
+MPLAYER_DISTNAME= MPlayer-0.90pre5
+MPLAYER_FONTDIR= ${LOCALBASE}/share/mplayer/fonts/korean
+FREETYPE_CONFIG= ${LOCALBASE}/bin/freetype-config
+
+BAEKMUK_FONTDIR= ${X11BASE}/lib/X11/fonts/TrueType
+BAEKMUK_FONTS= gulim dotum batang
+YONSEI_TITLE_DISTNAME= %BF%AC%BC%BC%C1%A6%B8%F1.TTF
+YONSEI_TEXT_DISTNAME= %BF%AC%BC%BC%BA%BB%B9%AE.TTF
+YONSEI_TITLE_FONTNAME= YonseiTitle
+YONSEI_TEXT_FONTNAME= YonseiText
+ALL_FONTS= ${BAEKMUK_FONTS} ${YONSEI_TITLE_FONTNAME} \
+ ${YONSEI_TEXT_FONTNAME}
+FONT_SIZES= 12 16 20 24
+
+post-extract:
+ @${LN} -sf ${DISTDIR}/${YONSEI_TITLE_DISTNAME} \
+ ${WRKSRC}/${YONSEI_TITLE_FONTNAME}.ttf
+ @${LN} -sf ${DISTDIR}/${YONSEI_TEXT_DISTNAME} \
+ ${WRKSRC}/${YONSEI_TEXT_FONTNAME}.ttf
+.for fn in ${BAEKMUK_FONTS}
+ @${LN} -sf ${BAEKMUK_FONTDIR}/${fn}.ttf ${WRKSRC}/
+.endfor
+ @${LN} -sf ${WRKDIR}/euc-kr ${WRKSRC}/
+
+post-patch:
+ @${ECHO_CMD} -e 'LDFLAGS=-lm `${FREETYPE_CONFIG} --libs` -liconv \
+ -L${LOCALBASE}/lib\nCFLAGS=`${FREETYPE_CONFIG} --cflags` \
+ -I${LOCALBASE}/include\nPROG=subfont\nNOMAN=yes\
+ \n.include <bsd.prog.mk>' > ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's,^encoding.*,encoding=euc-kr,;\
+ s,^fontsize.*,fontsize=\$$3,;\
+ s,^symbolssize.*,symbolssize=\$$((\$$fontsize-2)),' \
+ ${WRKSRC}/fontgen
+
+post-build:
+.for font in ${ALL_FONTS}
+.for size in ${FONT_SIZES}
+ cd ${WRKSRC} && ${SH} fontgen ${font}.ttf ${font}-${size} ${size} \
+ 2> /dev/null
+.endfor
+.endfor
+
+do-install:
+ @${MKDIR} ${MPLAYER_FONTDIR}
+.for font in ${ALL_FONTS}
+.for size in ${FONT_SIZES}
+ @${TAR} -C ${WRKSRC} -cpf - ${font}-${size} | \
+ ${TAR} -C ${MPLAYER_FONTDIR} -xpf -
+.endfor
+.endfor
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/korean/mplayer-fonts/distinfo b/korean/mplayer-fonts/distinfo
new file mode 100644
index 0000000..cf1d85c
--- /dev/null
+++ b/korean/mplayer-fonts/distinfo
@@ -0,0 +1,4 @@
+MD5 (MPlayer-0.90pre5.tar.bz2) = e5655c304af41b23701653eb7a810d3f
+MD5 (mplayer-fontmap-euc-kr.tar.bz2) = bf9621e693150ab8990f2645458d53cc
+MD5 (%BF%AC%BC%BC%C1%A6%B8%F1.TTF) = ec9abb1a75776ed728c69d3d660d93cd
+MD5 (%BF%AC%BC%BC%BA%BB%B9%AE.TTF) = ac5390c120bdd9591153244ac773b0f4
diff --git a/korean/mplayer-fonts/pkg-comment b/korean/mplayer-fonts/pkg-comment
new file mode 100644
index 0000000..c60de35
--- /dev/null
+++ b/korean/mplayer-fonts/pkg-comment
@@ -0,0 +1 @@
+Korean font pack for the mplayer OSD, SUB and SMI
diff --git a/korean/mplayer-fonts/pkg-descr b/korean/mplayer-fonts/pkg-descr
new file mode 100644
index 0000000..db66846
--- /dev/null
+++ b/korean/mplayer-fonts/pkg-descr
@@ -0,0 +1,7 @@
+This is the port which contains a korean set of the fonts for
+the mplayer on-screen display and the sub title.
+
+In this stage it contains the following fonts:
+
+Baekmuk : gulim, batang, dotum
+Yonsei : YonseiTitle, YonseiText
diff --git a/korean/mplayer-fonts/pkg-message b/korean/mplayer-fonts/pkg-message
new file mode 100644
index 0000000..ee3370a
--- /dev/null
+++ b/korean/mplayer-fonts/pkg-message
@@ -0,0 +1,8 @@
+===========================================================================
+ To use these fonts, add the following line into $HOME/.mplayer/config
+
+ unicode=1
+
+ and make a symbolic link of $PREFIX/share/mplayer/fonts/korean/${FONT}
+ as $HOME/.mplayer/font
+===========================================================================
diff --git a/korean/mplayer-fonts/pkg-plist b/korean/mplayer-fonts/pkg-plist
new file mode 100644
index 0000000..3640f23
--- /dev/null
+++ b/korean/mplayer-fonts/pkg-plist
@@ -0,0 +1,123 @@
+%%MF%%/YonseiText-12/euc-kr-a.raw
+%%MF%%/YonseiText-12/euc-kr-b.raw
+%%MF%%/YonseiText-12/font.desc
+%%MF%%/YonseiText-12/osd-mplayer-a.raw
+%%MF%%/YonseiText-12/osd-mplayer-b.raw
+%%MF%%/YonseiText-16/euc-kr-a.raw
+%%MF%%/YonseiText-16/euc-kr-b.raw
+%%MF%%/YonseiText-16/font.desc
+%%MF%%/YonseiText-16/osd-mplayer-a.raw
+%%MF%%/YonseiText-16/osd-mplayer-b.raw
+%%MF%%/YonseiText-20/euc-kr-a.raw
+%%MF%%/YonseiText-20/euc-kr-b.raw
+%%MF%%/YonseiText-20/font.desc
+%%MF%%/YonseiText-20/osd-mplayer-a.raw
+%%MF%%/YonseiText-20/osd-mplayer-b.raw
+%%MF%%/YonseiText-24/euc-kr-a.raw
+%%MF%%/YonseiText-24/euc-kr-b.raw
+%%MF%%/YonseiText-24/font.desc
+%%MF%%/YonseiText-24/osd-mplayer-a.raw
+%%MF%%/YonseiText-24/osd-mplayer-b.raw
+%%MF%%/YonseiTitle-12/euc-kr-a.raw
+%%MF%%/YonseiTitle-12/euc-kr-b.raw
+%%MF%%/YonseiTitle-12/font.desc
+%%MF%%/YonseiTitle-12/osd-mplayer-a.raw
+%%MF%%/YonseiTitle-12/osd-mplayer-b.raw
+%%MF%%/YonseiTitle-16/euc-kr-a.raw
+%%MF%%/YonseiTitle-16/euc-kr-b.raw
+%%MF%%/YonseiTitle-16/font.desc
+%%MF%%/YonseiTitle-16/osd-mplayer-a.raw
+%%MF%%/YonseiTitle-16/osd-mplayer-b.raw
+%%MF%%/YonseiTitle-20/euc-kr-a.raw
+%%MF%%/YonseiTitle-20/euc-kr-b.raw
+%%MF%%/YonseiTitle-20/font.desc
+%%MF%%/YonseiTitle-20/osd-mplayer-a.raw
+%%MF%%/YonseiTitle-20/osd-mplayer-b.raw
+%%MF%%/YonseiTitle-24/euc-kr-a.raw
+%%MF%%/YonseiTitle-24/euc-kr-b.raw
+%%MF%%/YonseiTitle-24/font.desc
+%%MF%%/YonseiTitle-24/osd-mplayer-a.raw
+%%MF%%/YonseiTitle-24/osd-mplayer-b.raw
+%%MF%%/batang-12/euc-kr-a.raw
+%%MF%%/batang-12/euc-kr-b.raw
+%%MF%%/batang-12/font.desc
+%%MF%%/batang-12/osd-mplayer-a.raw
+%%MF%%/batang-12/osd-mplayer-b.raw
+%%MF%%/batang-16/euc-kr-a.raw
+%%MF%%/batang-16/euc-kr-b.raw
+%%MF%%/batang-16/font.desc
+%%MF%%/batang-16/osd-mplayer-a.raw
+%%MF%%/batang-16/osd-mplayer-b.raw
+%%MF%%/batang-20/euc-kr-a.raw
+%%MF%%/batang-20/euc-kr-b.raw
+%%MF%%/batang-20/font.desc
+%%MF%%/batang-20/osd-mplayer-a.raw
+%%MF%%/batang-20/osd-mplayer-b.raw
+%%MF%%/batang-24/euc-kr-a.raw
+%%MF%%/batang-24/euc-kr-b.raw
+%%MF%%/batang-24/font.desc
+%%MF%%/batang-24/osd-mplayer-a.raw
+%%MF%%/batang-24/osd-mplayer-b.raw
+%%MF%%/dotum-12/euc-kr-a.raw
+%%MF%%/dotum-12/euc-kr-b.raw
+%%MF%%/dotum-12/font.desc
+%%MF%%/dotum-12/osd-mplayer-a.raw
+%%MF%%/dotum-12/osd-mplayer-b.raw
+%%MF%%/dotum-16/euc-kr-a.raw
+%%MF%%/dotum-16/euc-kr-b.raw
+%%MF%%/dotum-16/font.desc
+%%MF%%/dotum-16/osd-mplayer-a.raw
+%%MF%%/dotum-16/osd-mplayer-b.raw
+%%MF%%/dotum-20/euc-kr-a.raw
+%%MF%%/dotum-20/euc-kr-b.raw
+%%MF%%/dotum-20/font.desc
+%%MF%%/dotum-20/osd-mplayer-a.raw
+%%MF%%/dotum-20/osd-mplayer-b.raw
+%%MF%%/dotum-24/euc-kr-a.raw
+%%MF%%/dotum-24/euc-kr-b.raw
+%%MF%%/dotum-24/font.desc
+%%MF%%/dotum-24/osd-mplayer-a.raw
+%%MF%%/dotum-24/osd-mplayer-b.raw
+%%MF%%/gulim-12/euc-kr-a.raw
+%%MF%%/gulim-12/euc-kr-b.raw
+%%MF%%/gulim-12/font.desc
+%%MF%%/gulim-12/osd-mplayer-a.raw
+%%MF%%/gulim-12/osd-mplayer-b.raw
+%%MF%%/gulim-16/euc-kr-a.raw
+%%MF%%/gulim-16/euc-kr-b.raw
+%%MF%%/gulim-16/font.desc
+%%MF%%/gulim-16/osd-mplayer-a.raw
+%%MF%%/gulim-16/osd-mplayer-b.raw
+%%MF%%/gulim-20/euc-kr-a.raw
+%%MF%%/gulim-20/euc-kr-b.raw
+%%MF%%/gulim-20/font.desc
+%%MF%%/gulim-20/osd-mplayer-a.raw
+%%MF%%/gulim-20/osd-mplayer-b.raw
+%%MF%%/gulim-24/euc-kr-a.raw
+%%MF%%/gulim-24/euc-kr-b.raw
+%%MF%%/gulim-24/font.desc
+%%MF%%/gulim-24/osd-mplayer-a.raw
+%%MF%%/gulim-24/osd-mplayer-b.raw
+@dirrm %%MF%%/gulim-24
+@dirrm %%MF%%/gulim-20
+@dirrm %%MF%%/gulim-16
+@dirrm %%MF%%/gulim-12
+@dirrm %%MF%%/dotum-24
+@dirrm %%MF%%/dotum-20
+@dirrm %%MF%%/dotum-16
+@dirrm %%MF%%/dotum-12
+@dirrm %%MF%%/batang-24
+@dirrm %%MF%%/batang-20
+@dirrm %%MF%%/batang-16
+@dirrm %%MF%%/batang-12
+@dirrm %%MF%%/YonseiTitle-24
+@dirrm %%MF%%/YonseiTitle-20
+@dirrm %%MF%%/YonseiTitle-16
+@dirrm %%MF%%/YonseiTitle-12
+@dirrm %%MF%%/YonseiText-24
+@dirrm %%MF%%/YonseiText-20
+@dirrm %%MF%%/YonseiText-16
+@dirrm %%MF%%/YonseiText-12
+@dirrm %%MF%%
+@unexec rmdir %D/share/mplayer/fonts 2>/dev/null || true
+@unexec rmdir %D/share/mplayer 2>/dev/null || true
OpenPOWER on IntegriCloud