aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-11-08 18:03:32 +0800
committerkris <kris@FreeBSD.org>2003-11-08 18:03:32 +0800
commitcc803d1a7c884254a2fc426562286d177fd4c124 (patch)
treeb048c9ae4e49693d8bea40c19fe95b13a96477ee
parent2e99ab03dfce17c4cea73f15d65818a3002cb414 (diff)
downloadfreebsd-ports-gnome-cc803d1a7c884254a2fc426562286d177fd4c124.tar.gz
freebsd-ports-gnome-cc803d1a7c884254a2fc426562286d177fd4c124.tar.zst
freebsd-ports-gnome-cc803d1a7c884254a2fc426562286d177fd4c124.zip
Make this a standalone port by scavenging bits from the former parent that
was just removed.
-rw-r--r--korean/hlatex-psfonts-wansung/Makefile38
1 files changed, 37 insertions, 1 deletions
diff --git a/korean/hlatex-psfonts-wansung/Makefile b/korean/hlatex-psfonts-wansung/Makefile
index 1bd9270d2882..47146f787008 100644
--- a/korean/hlatex-psfonts-wansung/Makefile
+++ b/korean/hlatex-psfonts-wansung/Makefile
@@ -5,11 +5,47 @@
# $FreeBSD$
#
+PORTNAME= HLaTeX-${FONT_TYPE}fonts-${FONT_ENCODING}
+PORTVERSION= 0.98
+CATEGORIES= korean print
+MASTER_SITES= ftp://ftp.kr.FreeBSD.org/pub/FreeBSD-kr/distfiles/hlatex/
+DISTFILES= ${HLATEX_FONTS_BASE}
+DIST_SUBDIR= hlatex
+EXTRACT_ONLY=
+
+MAINTAINER= cjh@FreeBSD.org
COMMENT= PS font collection of HLaTeX-wansung
+RUN_DEPENDS= ${LOCALBASE}/share/texmf/doc/latex/hlatex/wansung.ks:${PORTSDIR}/korean/hlatex-wansung
+
FONT_TYPE= ps
HLATEX_FONTS_BASE= pkmj.tar.bz2 pkgt.tar.bz2 \
pshanja-myoungjo.tar.bz2 pshanja-gothic.tar.bz2 \
phsym.tar.bz2 ptaza.tar.bz2
-.include "${.CURDIR}/../hlatex-mffonts-wansung/Makefile"
+NO_WRKSUBDIR= YES
+NO_BUILD= YES
+USE_BZIP2= YES
+
+TEXMF= ${PREFIX}/share/texmf
+FONT_ENCODING?= wansung
+FONT_TYPE?= mf
+
+# default font. includes complete Myoungjo and Gothic fonts.
+HLATEX_FONTS_BASE?= common.tar.bz2 \
+ wsmj.tar.bz2 wsgt.tar.bz2 \
+ hanja-myoungjo.tar.bz2 hanja-gothic.tar.bz2 \
+ hsym.tar.bz2 taza.tar.bz2
+
+do-install:
+ cd ${TEXMF}/fonts/; \
+ for fonts in ${HLATEX_FONTS_BASE}; \
+ do \
+ ${EXTRACT_CMD} \
+ ${EXTRACT_BEFORE_ARGS} \
+ ${_DISTDIR}/$$fonts ${EXTRACT_AFTER_ARGS}; \
+ done
+# rehash ls-R
+ ${PREFIX}/bin/texhash
+
+.include <bsd.port.mk>