diff options
Diffstat (limited to 'print/ghostscript7-commfont')
-rw-r--r-- | print/ghostscript7-commfont/Makefile | 12 | ||||
-rw-r--r-- | print/ghostscript7-commfont/Makefile.common | 76 | ||||
-rw-r--r-- | print/ghostscript7-commfont/files/CIDFnmap.jp | 22 | ||||
-rw-r--r-- | print/ghostscript7-commfont/files/CIDFnmap.ko | 8 | ||||
-rw-r--r-- | print/ghostscript7-commfont/pkg-descr | 1 | ||||
-rw-r--r-- | print/ghostscript7-commfont/pkg-plist | 10 | ||||
-rw-r--r-- | print/ghostscript7-commfont/pkg-plist.common | 4 |
7 files changed, 0 insertions, 133 deletions
diff --git a/print/ghostscript7-commfont/Makefile b/print/ghostscript7-commfont/Makefile deleted file mode 100644 index a242f675eb1c..000000000000 --- a/print/ghostscript7-commfont/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -# New ports collection makefile for: ghostscript-gnu-commfont -# Date created: Dec 24 2001 -# Whom: Tomokatsu SAITO <saito@a2z.co.jp> -# -# $FreeBSD$ -# - -MASTERDIR= ${.CURDIR} - -COMMFONT= yes - -.include "${MASTERDIR}/Makefile.common" diff --git a/print/ghostscript7-commfont/Makefile.common b/print/ghostscript7-commfont/Makefile.common deleted file mode 100644 index 8b58ec2fd2ff..000000000000 --- a/print/ghostscript7-commfont/Makefile.common +++ /dev/null @@ -1,76 +0,0 @@ -PORTNAME= ghostscript -PORTVERSION= ${GS_VERSION} -CATEGORIES= print -MASTER_SITES= # nonexistent -PKGNAMESUFFIX= -gnu -DISTNAME= # nonexistent -DISTFILES= # empty - -MAINTAINER?= mita@FreeBSD.org -COMMENT?= GNU ghostscript with CJK font support - -RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu \ - ${LOCALBASE}/share/ghostscript/Resource/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps - -NO_BUILD= yes -NO_WRKSUBDIR= yes - -GSLIB_DIR= ${PREFIX}/share/ghostscript/${PORTVERSION}/lib -PLIST_SUB= GS_VERSION=${PORTVERSION} SHAREMODE=${SHAREMODE} - -.if defined(COMMFONT) -PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-commfont -PLIST= ${PKGDIR}/pkg-plist.common -.else -RUN_DEPENDS+= ${LOCALBASE}/share/ghostscript/${PORTVERSION}/lib/gs_init.ps.pre_sed:${PORTSDIR}/print/ghostscript-gnu-commfont -PLIST_SUB+= CIDFNMAP="${CIDFNMAP}" -.if defined(JPNFONT) -CATEGORIES:= japanese ${CATEGORIES} -COMMENT= GNU ghostscript with Japanese font support -PKGNAMEPREFIX= ja- -PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-jpnfont -RUN_DEPENDS+= ${X11BASE}/lib/X11/fonts/TrueType/sazanami-mincho.ttf:${PORTSDIR}/japanese/sazanami-ttf -CIDFNMAP= CIDFnmap.jp -.elif defined(KORFONT) -CATEGORIES:= korean ${CATEGORIES} -COMMENT= GNU ghostscript with Korean font support -PKGNAMEPREFIX= ko- -PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-korfont -RUN_DEPENDS+= ${LOCALBASE}/share/ghostscript/fonts/Munhwa-Bold:${PORTSDIR}/korean/munhwafonts-cid -CIDFNMAP= CIDFnmap.ko -.endif -.endif - -.include <bsd.port.pre.mk> -do-configure: -.if !defined(COMMFONT) - ${SED} -e 's:%%LOCALBASE%%:${LOCALBASE}:g' \ - -e 's:%%X11BASE%%:${X11BASE}:g' \ - ${FILESDIR}/${CIDFNMAP} > ${WRKSRC}/${CIDFNMAP} -.endif - -do-install: -.if defined(COMMFONT) - ${MV} ${GSLIB_DIR}/gs_init.ps ${GSLIB_DIR}/gs_init.ps.pre_sed - ${SED} -e "s:^%.*(a4):(a4):" ${GSLIB_DIR}/gs_init.ps.pre_sed > \ - ${GSLIB_DIR}/gs_init.ps -.else - ${INSTALL_DATA} ${WRKSRC}/${CIDFNMAP} ${GSLIB_DIR} - ${MV} ${GSLIB_DIR}/CIDFnmap ${GSLIB_DIR}/CIDFnmap.orig - ${GREP} -v -e "${CIDFNMAP}" ${GSLIB_DIR}/CIDFnmap.orig > \ - ${GSLIB_DIR}/CIDFnmap - ${ECHO_CMD} '(${CIDFNMAP}) .runlibfile' >> ${GSLIB_DIR}/CIDFnmap - ${CHMOD} ${SHAREMODE} ${GSLIB_DIR}/CIDFnmap -.endif - -post-install: -.if defined(KORFONT) -.for i in Munhwa-Bold Munhwa-Regular MunhwaGothic-Bold MunhwaGothic-Regular - ${LN} -sf ${PREFIX}/share/ghostscript/fonts/${i} \ - ${PREFIX}/share/ghostscript/Resource/CIDFont/${i} - ${ECHO_CMD} "share/ghostscript/Resource/CIDFont/${i}" >> ${TMPPLIST} -.endfor -.endif - -.include "${PORTSDIR}/print/ghostscript-gnu/Makefile.inc" -.include <bsd.port.post.mk> diff --git a/print/ghostscript7-commfont/files/CIDFnmap.jp b/print/ghostscript7-commfont/files/CIDFnmap.jp deleted file mode 100644 index dd70213fb8d9..000000000000 --- a/print/ghostscript7-commfont/files/CIDFnmap.jp +++ /dev/null @@ -1,22 +0,0 @@ -% Japanese Truetype Fonts (Sazanami) -/Sazanami-Mincho (%%X11BASE%%/lib/X11/fonts/TrueType/sazanami-mincho.ttf) 1 ; -/Sazanami-Gothic (%%X11BASE%%/lib/X11/fonts/TrueType/sazanami-gothic.ttf) 1 ; - -% -% Convenient aliases for PS files on Japanese PostScript printer -% -/Adobe-Japan1 /Sazanami-Mincho ; -/Ryumin-Light /Sazanami-Mincho ; -/Ryumin-Light-H /Sazanami-Mincho ; -/Ryumin-Light-V /Sazanami-Mincho ; -/GothicBBB-Medium /Sazanami-Gothic ; -/GothicBBB-Medium-H /Sazanami-Gothic ; -/GothicBBB-Medium-V /Sazanami-Gothic ; -/HeiseiMin-W3H /Sazanami-Mincho ; -/HeiseiKakuGo-W5H /Sazanami-Gothic ; -/FutoMinA101-Bold /Sazanami-Mincho ; -/FutoMinA101-Bold-H /Sazanami-Mincho ; -/FutoMinA101-Bold-V /Sazanami-Mincho ; -/FutoGoB101-Bold /Sazanami-Gothic ; -/FutoGoB101-Bold-H /Sazanami-Gothic ; -/FutoGoB101-Bold-V /Sazanami-Gothic ; diff --git a/print/ghostscript7-commfont/files/CIDFnmap.ko b/print/ghostscript7-commfont/files/CIDFnmap.ko deleted file mode 100644 index 5f72b7018bb6..000000000000 --- a/print/ghostscript7-commfont/files/CIDFnmap.ko +++ /dev/null @@ -1,8 +0,0 @@ -/Adobe-Korea1 /Munhwa-Regular ; - -% -% Convenient aliases for PS files on Korean PostScript printer -% -/HYGoThic-Medium /MunhwaGothic-Regular ; -/HYSMyeongJo-Medium /Munhwa-Regular ; -/HYRGoThic-Medium /MunhwaGothic-Bold ; diff --git a/print/ghostscript7-commfont/pkg-descr b/print/ghostscript7-commfont/pkg-descr deleted file mode 100644 index 7d1a1368e74b..000000000000 --- a/print/ghostscript7-commfont/pkg-descr +++ /dev/null @@ -1 +0,0 @@ -Ghostscript CJK font resources diff --git a/print/ghostscript7-commfont/pkg-plist b/print/ghostscript7-commfont/pkg-plist deleted file mode 100644 index 3cb5de7dff9d..000000000000 --- a/print/ghostscript7-commfont/pkg-plist +++ /dev/null @@ -1,10 +0,0 @@ -share/ghostscript/%%GS_VERSION%%/lib/%%CIDFNMAP%% -@exec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig -@exec /usr/bin/grep -v -e '%%CIDFNMAP%%' %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig > %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap -@exec echo '(%%CIDFNMAP%%) .runlibfile' >> %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap -@exec /bin/chmod %%SHAREMODE%% %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap -@exec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig -@unexec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig -@unexec /usr/bin/grep -v -e '%%CIDFNMAP%%' %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig > %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap -@unexec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig -@unexec /bin/chmod %%SHAREMODE%% %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap diff --git a/print/ghostscript7-commfont/pkg-plist.common b/print/ghostscript7-commfont/pkg-plist.common deleted file mode 100644 index 155e6b3a3597..000000000000 --- a/print/ghostscript7-commfont/pkg-plist.common +++ /dev/null @@ -1,4 +0,0 @@ -@exec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/gs_init.ps %D/share/ghostscript/%%GS_VERSION%%/lib/gs_init.ps.pre_sed -@exec /usr/bin/sed -e 's:^%.*(a4):(a4):g' %D/share/ghostscript/%%GS_VERSION%%/lib/gs_init.ps.pre_sed > %D/share/ghostscript/%%GS_VERSION%%/lib/gs_init.ps -@unexec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/gs_init.ps -@unexec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/gs_init.ps.pre_sed %D/share/ghostscript/%%GS_VERSION%%/lib/gs_init.ps |