summaryrefslogtreecommitdiff
path: root/print/ghostscript-gnu-commfont/files
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2008-09-05 19:41:48 +0000
committerHiroki Sato <hrs@FreeBSD.org>2008-09-05 19:41:48 +0000
commit6e0909e045a068d899c6347684796ba545f7202e (patch)
treee79848665db740cc8788eb18695e78e172bdef35 /print/ghostscript-gnu-commfont/files
parentUpgrade to snapshot 2008.09.05 (SVN revision 73). (diff)
* print/ghostscript-* and related ports have been renamed in the
following way: print/ghostscript-gnu -> print/ghostscript7 print/ghostscript-gnu-nox11 -> print/ghostscript7-nox11 print/ghostscript-gnu-commfont -> print/ghostscript7-commfont print/ghostscript-gpl -> print/ghostscript8 print/ghostscript-gpl-nox11 -> print/ghostscript8-nox11 japanese/ghostscript-gnu-jpnfont -> print/ghostscript7-jpnfont korean/ghostscript-gnu-korfont -> print/ghostscript7-korfont * USE_GHOSTSCRIPT now supports a version number which the port requires. The valid value is "7" or "8". If other value is specified, value of WITH_GHOSTSCRIPT_VER is used. * WITH_GHOSTSCRIPT_GNU has been removed in favor of WITH_GHOSTSCRIPT_VER. The valid value of WITH_GHOSTSCRIPT_VER is "7" or "8", and the default value is "8". Approved by: portmgr (pav)
Notes
Notes: svn path=/head/; revision=219946
Diffstat (limited to 'print/ghostscript-gnu-commfont/files')
-rw-r--r--print/ghostscript-gnu-commfont/files/Makefile.in140
-rw-r--r--print/ghostscript-gnu-commfont/files/pkg-message.in14
-rw-r--r--print/ghostscript-gnu-commfont/files/template.cidfont.in10
-rw-r--r--print/ghostscript-gnu-commfont/files/template.font.in12
-rw-r--r--print/ghostscript-gnu-commfont/files/template.ttcidfont.in10
5 files changed, 0 insertions, 186 deletions
diff --git a/print/ghostscript-gnu-commfont/files/Makefile.in b/print/ghostscript-gnu-commfont/files/Makefile.in
deleted file mode 100644
index 8fd5e50f2477..000000000000
--- a/print/ghostscript-gnu-commfont/files/Makefile.in
+++ /dev/null
@@ -1,140 +0,0 @@
-# $FreeBSD$
-
-PREFIX?= /usr/local
-LOCALBASE?= /usr/local
-CMAPDIR?= ${LOCALBASE}/share/fonts/adobe-cmaps
-CIDFONTDIR?= ${LOCALBASE}/share/fonts/CIDFont
-GS_FONTDIR?= ${LOCALBASE}/share/ghostscript/fonts
-GS_RESFONTDIR?= ${LOCALBASE}/share/ghostscript/Resource/Font
-GS_RESCIDFONTDIR?= ${LOCALBASE}/share/ghostscript/Resource/CIDFont
-GS_RESCMAPDIR?= ${LOCALBASE}/share/ghostscript/Resource/CMap
-
-INSTALL_DATA?= install -m 444
-MKDIR?= mkdir -p
-LN?= ln
-FIND?= find
-AWK?= awk
-R?= 
-PROGRESS?= BEGIN { mark[0]=\"|\"; mark[1]=\"|\"; mark[2]=\"/\"; mark[3]=\"/\"; mark[4]=\"-\"; mark[5]=\"-\"; mark[6]=\"\\\\\"; mark[7]=\"\\\\\"; line = 0; } { line = (line + 1) % 8; printf(\"Generating virtual fonts...%s${R}\n\", mark[line]); }
-
-TEMPLATES_TTF= cs.serif cs.sansserif \
- ct.serif cs.sansserif \
- ja.serif ja.sansserif
-TEMPLATES_CID= ko.serif ko.sansserif
-
-CS.CMAPS= ac15
-
-CS.SERIF.GENERIC= STSong-Light
-CS.SERIF.GENERIC_SUBST= STSong-Light.ttf
-CS.SERIF= STSong-Light
-
-CS.SANSSERIF.GENERIC= STHeiti-Regular
-CS.SANSSERIF.GENERIC_SUBST= STHeiti-Regular.ttf
-CS.SANSSERIF= STHeiti-Regular
-
-CT.CMAPS= ag15
-
-CT.SERIF.GENERIC= MSung-Light
-CT.SERIF.GENERIC_SUBST= MSung-Light.ttf
-CT.SERIF= MSung-Light
-
-CT.SANSSERIF.GENERIC= MHei-Medium
-CT.SANSSERIF.GENERIC_SUBST= MHei-Medium.ttf
-CT.SANSSERIF= MHei-Medium
-
-JA.CMAPS= aj16 aj20
-
-JA.SERIF.GENERIC= Ryumin-Light
-JA.SERIF.GENERIC_SUBST= Ryumin-Light.ttf
-JA.SERIF= Ryumin-Light \
- FutoMinA101-Bold \
- HeiseiMin-W3
-
-JA.SANSSERIF.GENERIC= GothicBBB-Medium
-JA.SANSSERIF.GENERIC_SUBST= GothicBBB-Medium.ttf
-JA.SANSSERIF= GothicBBB-Medium \
- FutoGoB101-Bold \
- HeiseiKakuGo-W5 \
- HGSSoeiKakugothicUB \
- HGPSoeiKakugothicUB
-
-KO.CMAPS= ak12
-
-KO.SERIF.GENERIC= HYSMyeongJo-Medium
-KO.SERIF.GENERIC_SUBST= Munhwa-Regular
-KO.SERIF= HYSMyeongJo-Medium
-
-KO.SANSSERIF.GENERIC= HYGoThic-Medium
-KO.SANSSERIF.GENERIC_SUBST= MunhwaGothic-Regular
-KO.SANSSERIF= HYGoThic-Medium
-
-all:
- @${MKDIR} CIDFont Font
-.for T in ${TEMPLATES_TTF}
- @for F in ${${T:U}}; do \
- echo "Generating CIDFont/$${F}"; \
- sed -e "s,%%FONTNAME%%,$$F,g" \
- -e "s,%%GS_FONTDIR%%,${GS_FONTDIR}," \
- -e "s,%%GENERICFONTNAME%%,${${T:U}.GENERIC}," \
- -e "s,%%GENERICFONTNAME_SUBST%%,${${T:U}.GENERIC_SUBST}," \
- < template.ttcidfont > CIDFont/$${F}; \
- for D in ${${T:U:C/\.[^.]*$//}.CMAPS}; do \
- if [ -d ${CMAPDIR}/$${D}/CMap ]; then \
- CMAPS=`cd ${CMAPDIR}/$${D}/CMap; echo *`; \
- elif [ -r ${CMAPDIR}/$${D} ]; then \
- CMAPS=`basename $${D}`; \
- else \
- echo "$${D}: not found"; exit 1; \
- fi; \
- for C in $${CMAPS}; do \
- echo "Generating Font/$${F}-$${C}"; \
- sed -e "s,%%FONTNAME%%,$$F,g" \
- -e "s,%%GS_FONTDIR%%,${GS_FONTDIR}," \
- -e "s,%%CMAPNAME%%,$${C}," \
- -e "s,%%GENERICFONTNAME%%,${${T:U}.GENERIC}," \
- -e "s,%%GENERICFONTNAME_SUBST%%,${${T:U}.GENERIC_SUBST}," \
- < template.font > Font/$${F}-$${C}; \
- done; \
- done; \
- done | awk "${PROGRESS}"
-.endfor
-.for T in ${TEMPLATES_CID}
- @for F in ${${T:U}}; do \
- echo "Generating CIDFont/$${F}"; \
- sed -e "s,%%FONTNAME%%,$$F,g" \
- -e "s,%%GS_FONTDIR%%,${GS_FONTDIR}," \
- -e "s,%%GENERICFONTNAME%%,${${T:U}.GENERIC}," \
- -e "s,%%GENERICFONTNAME_SUBST%%,${${T:U}.GENERIC_SUBST}," \
- < template.cidfont > CIDFont/$${F}; \
- for D in ${${T:U:C/\.[^.]*$//}.CMAPS}; do \
- if [ -d ${CMAPDIR}/$${D}/CMap ]; then \
- CMAPS=`cd ${CMAPDIR}/$${D}/CMap; echo *`; \
- elif [ -r ${CMAPDIR}/$${D} ]; then \
- CMAPS=`basename $${D}`; \
- else \
- echo "$${D}: not found"; exit 1; \
- fi; \
- for C in $${CMAPS}; do \
- echo "Generating Font/$${F}-$${C}"; \
- sed -e "s,%%FONTNAME%%,$$F,g" \
- -e "s,%%GS_FONTDIR%%,${GS_FONTDIR}," \
- -e "s,%%CMAPNAME%%,$${C}," \
- -e "s,%%GENERICFONTNAME%%,${${T:U}.GENERIC}," \
- -e "s,%%GENERICFONTNAME_SUBST%%,${${T:U}.GENERIC_SUBST}," \
- < template.font > Font/$${F}-$${C}; \
- done; \
- done; \
- done | awk "${PROGRESS}"
-.endfor
- @echo "Generating virtual fonts...done."
-
-install:
- ${MKDIR} ${GS_RESCIDFONTDIR}
- ${INSTALL_DATA} CIDFont/* ${GS_RESCIDFONTDIR}
- ${MKDIR} ${GS_RESFONTDIR}
- ${INSTALL_DATA} Font/* ${GS_RESFONTDIR}
- ${MKDIR} ${GS_RESCMAPDIR}
- cd ${GS_RESCMAPDIR} && ${LN} -s -f `${FIND} ${CMAPDIR} -type f` .
-.for T in ${TEMPLATES_CID}
- cd ${GS_RESCIDFONTDIR} && ${LN} -s -f ${CIDFONTDIR}/${${T:U}.GENERIC_SUBST} ${${T:U}.GENERIC_SUBST}
-.endfor
diff --git a/print/ghostscript-gnu-commfont/files/pkg-message.in b/print/ghostscript-gnu-commfont/files/pkg-message.in
deleted file mode 100644
index f723d98e468d..000000000000
--- a/print/ghostscript-gnu-commfont/files/pkg-message.in
+++ /dev/null
@@ -1,14 +0,0 @@
-=== NOTE ===
-
-The CJK font selection will be performed in the following order:
-
- 1. %%PREFIX%%/%%GS_RESDIR%%/Font/<fontname>
-
- 2. %%PREFIX%%/%%GS_RESDIR%%/CIDFont/<fontname>
-
- 3. %%PREFIX%%/share/ghostscript/%%PORTVERSION%%/lib/CIDFnmap
-
-So, to use CIDFnmap you have to make sure that there is no font file that
-has the same name as you want to customize in Resource/Font and
-Resource/CIDFont.
-
diff --git a/print/ghostscript-gnu-commfont/files/template.cidfont.in b/print/ghostscript-gnu-commfont/files/template.cidfont.in
deleted file mode 100644
index 5d9dab648773..000000000000
--- a/print/ghostscript-gnu-commfont/files/template.cidfont.in
+++ /dev/null
@@ -1,10 +0,0 @@
-%!PS-Adobe-3.0 Resource-CIDFont
-%%Creator: $FreeBSD$
-%%BeginResource: CIDFont (%%FONTNAME%%)
-
-(%%FONTNAME%%)
-(%%GENERICFONTNAME_SUBST%%) /CIDFont findresource
-/CIDFont defineresource pop
-
-%%EndResource
-%%EOF
diff --git a/print/ghostscript-gnu-commfont/files/template.font.in b/print/ghostscript-gnu-commfont/files/template.font.in
deleted file mode 100644
index 56a68caec658..000000000000
--- a/print/ghostscript-gnu-commfont/files/template.font.in
+++ /dev/null
@@ -1,12 +0,0 @@
-%!PS-Adobe-3.0 Resource-Font
-%%Creator: $FreeBSD$
-%%DocumentNeededResources: %%CMAPNAME%% (CMap)
-%%IncludeResource: %%CMAPNAME%% (CMap)
-%%BeginResource: Font (%%FONTNAME%%-%%CMAPNAME%%)
-(%%FONTNAME%%-%%CMAPNAME%%)
-(%%CMAPNAME%%) /CMap findresource
-[(%%GENERICFONTNAME%%) /CIDFont findresource]
-composefont
-pop
-%%EndResource
-%%EOF
diff --git a/print/ghostscript-gnu-commfont/files/template.ttcidfont.in b/print/ghostscript-gnu-commfont/files/template.ttcidfont.in
deleted file mode 100644
index bc10770f819f..000000000000
--- a/print/ghostscript-gnu-commfont/files/template.ttcidfont.in
+++ /dev/null
@@ -1,10 +0,0 @@
-%!PS-Adobe-3.0 Resource-CIDFont
-%%Creator: $FreeBSD$
-%%BeginResource: CIDFont (%%FONTNAME%%)
-
-(%%FONTNAME%%)
-(%%GENERICFONTNAME_SUBST%%) findlibfile pop pop .openttcidfont
-/CIDFont defineresource pop
-
-%%EndResource
-%%EOF