aboutsummaryrefslogtreecommitdiff
path: root/print/gsfonts
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2007-04-28 13:03:16 +0000
committerHiroki Sato <hrs@FreeBSD.org>2007-04-28 13:03:16 +0000
commit4046a765caf6634349cc97c1f4fbf9a8f7d5f061 (patch)
treef935ca2be02281c75c4c50dbc95bc467b9d877cc /print/gsfonts
parent77f3442b27ec67b1482fceaa2b9203f2cc000601 (diff)
downloadports-4046a765caf6634349cc97c1f4fbf9a8f7d5f061.tar.gz
ports-4046a765caf6634349cc97c1f4fbf9a8f7d5f061.zip
Notes
Diffstat (limited to 'print/gsfonts')
-rw-r--r--print/gsfonts/Makefile19
-rw-r--r--print/gsfonts/pkg-plist3
2 files changed, 17 insertions, 5 deletions
diff --git a/print/gsfonts/Makefile b/print/gsfonts/Makefile
index 68f14e4970c8..a06a5f865cfa 100644
--- a/print/gsfonts/Makefile
+++ b/print/gsfonts/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gsfonts
PORTVERSION= 8.11
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= print x11-fonts
MASTER_SITES= ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ \
${MASTER_SITE_TEX_CTAN:S/$/:CTAN/}
@@ -33,7 +33,11 @@ SUB_LIST= FONTSDIR="${FONTSDIR}"
FONTSDIR?= ${PREFIX}/share/ghostscript/fonts
GS_FONTS_STD= ghostscript-fonts-std-8.11.tar.gz
GS_FONTS_OTHER= ghostscript-fonts-other-6.0.tar.gz
-
+CJKFONTS?= TrueType/ipam.ttf Ryumin-Light.ttf \
+ TrueType/ipag.ttf GothicBBB-Medium.ttf \
+ TrueType/bkai00mp.ttf STHeiti-Regular.ttf \
+ TrueType/gbsn00lp.ttf STSong-Light.ttf \
+ TrueType/bsmi00lp.ttf MSung-Light.ttf
.SILENT:
post-patch:
@@ -60,9 +64,14 @@ install-fonts:
${INSTALL_DATA} ${WRKSRC}/fonts/fonts.scale ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/fonts/fonts.scale.urw ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/fonts/Fontmap ${FONTSDIR}
- cd ${FONTSDIR} && \
- ${LN} -s -f ${LOCALBASE}/share/fonts/TrueType/ipam.ttf Ryumin-Light.ttf; \
- ${LN} -s -f ${LOCALBASE}/share/fonts/TrueType/ipag.ttf GothicBBB-Medium.ttf
+ set -- ${CJKFONTS}; while :; do \
+ case $$# in \
+ 0) break ;; \
+ *) LHS=$$1; shift; RHS=$$1; shift; \
+ cd ${FONTSDIR} \
+ && ${LN} -s -f ${PREFIX}/share/fonts/$${LHS} $${RHS}; \
+ esac; \
+ done
install-docs:
.if !defined(NOPORTDOCS)
diff --git a/print/gsfonts/pkg-plist b/print/gsfonts/pkg-plist
index 2becf2df2335..37445171f8e5 100644
--- a/print/gsfonts/pkg-plist
+++ b/print/gsfonts/pkg-plist
@@ -154,6 +154,9 @@
%%FONTSDIR%%/z003034l.pfm
%%FONTSDIR%%/Ryumin-Light.ttf
%%FONTSDIR%%/GothicBBB-Medium.ttf
+%%FONTSDIR%%/STHeiti-Regular.ttf
+%%FONTSDIR%%/STSong-Light.ttf
+%%FONTSDIR%%/MSung-Light.ttf
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.tweaks