diff options
author | max <max@FreeBSD.org> | 1997-09-21 04:37:30 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-09-21 04:37:30 +0800 |
commit | 54111eae4e44c57bcf6d838702c4bf0f57bdbd4b (patch) | |
tree | afcb12cb2d46a53c44705bc624fac0d31d0ab6be /japanese/vfghostscript5/Makefile | |
parent | b377ab6e60e0da5a480954535d3c8fc3a12ee5af (diff) | |
download | freebsd-ports-gnome-54111eae4e44c57bcf6d838702c4bf0f57bdbd4b.tar.gz freebsd-ports-gnome-54111eae4e44c57bcf6d838702c4bf0f57bdbd4b.tar.zst freebsd-ports-gnome-54111eae4e44c57bcf6d838702c4bf0f57bdbd4b.zip |
Initial commit of vfghostscript5, ghostscript with Japanese support
using VFlib.
Note: this commit is done over vfghostscript (4.x) which has been repository-
copied.
Submitted by: mita@jp.freebsd.org
PR: 4400
Diffstat (limited to 'japanese/vfghostscript5/Makefile')
-rw-r--r-- | japanese/vfghostscript5/Makefile | 69 |
1 files changed, 49 insertions, 20 deletions
diff --git a/japanese/vfghostscript5/Makefile b/japanese/vfghostscript5/Makefile index 62bf6b23d25b..40b89c098a4c 100644 --- a/japanese/vfghostscript5/Makefile +++ b/japanese/vfghostscript5/Makefile @@ -1,54 +1,62 @@ # New ports collection makefile for: Japanese Aladdin ghostscript + vector font library -# Version required: 4.0.3 -# Date created: 23 Nov 1996 +# Version required: 5.03 +# Date created: 26 Aug 1997 # Whom: Mita Yoshio <mita@jp.FreeBSD.org> # -# $Id: Makefile,v 1.10 1997/07/14 06:25:59 asami Exp $ +# $Id$ # -DISTNAME= ghostscript-4.03 -PKGNAME= ja-vfghostscript-4.03 +DISTNAME= ghostscript-5.03 +PKGNAME= ja-vfghostscript-5.03 CATEGORIES= japanese print -MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/ \ +MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/gs503/ \ + ftp://ftp.cs.wisc.edu/ghost/aladdin/fonts/ \ + ftp://ftp.uu.net/graphics/png/src/ \ + ftp://ftp.uu.net/graphics/jpeg/ \ ftp://i1nws2.fukui-u.ac.jp/pub/TeX/dvipr/ \ ftp://ftp.mei.co.jp/free/gnu/util/ghostscript/drivers/ \ ${MASTER_SITE_LOCAL} \ - http://www.jp.FreeBSD.org/~mita/LOCAL_PORTS/ + http://www.jp.FreeBSD.org/~mita/LOCAL_PORTS/ \ + http://ldl-www.jaist.ac.jp:8080/~akr/nonresearch/free-software/ghostscript/ \ + http://www.jaist.ac.jp/~daisuke/Linux/gs/gs5/Original-sources/OLD/ \ + http://www.bpe.es.osaka-u.ac.jp/~watanabe/ DISTFILES= ${GS_SOURCES} ${GS_DRIVERS} ${GS_FONTS_STD} ${GS_FONTS_OTHER} MAINTAINER= mita@jp.FreeBSD.org LIB_DEPENDS= VFlib\\.2\\.:${PORTSDIR}/japanese/vflib -EXTRACT_ONLY= ghostscript-4.03.tar.gz jpegsrc.v6a.tar.gz libpng-0.89c.tar.gz -WRKSRC= ${WRKDIR}/gs4.03 +EXTRACT_ONLY= ghostscript-5.03.tar.gz jpegsrc.v6a.tar.gz libpng-0.96.tgz +WRKSRC= ${WRKDIR}/gs5.03 MAKEFILE= unix-gcc.mak MAKE_FLAGS= prefix=${PREFIX} zlibc_=-lz CFLAGS="${CFLAGS}" -f -MAN1= gs.1 pdf2ps.1 ps2ascii.1 ps2epsi.1 ps2pdf.1 +MAN1= gs.1 pdf2ps.1 ps2ascii.1 ps2epsi.1 ps2pdf.1 pdf2dsc.1 CFLAGS+= -DA4 -DOC_DIR= ${PREFIX}/share/ghostscript/4.03vflib/doc +GSINST_DIR= ${PREFIX}/share/ghostscript/5.03vflib +DOC_DIR= ${GSINST_DIR}/doc PRINTER= ${WRKSRC}/jp-printers -GS_SOURCES= ghostscript-4.03.tar.gz -GS_SOURCES+= ghostscript-4.03gnu.tar.gz +GS_SOURCES= ghostscript-5.03.tar.gz GS_SOURCES+= jpegsrc.v6a.tar.gz -GS_SOURCES+= libpng-0.89c.tar.gz -GS_DRIVERS= gs4.03-vflib.tar.gz +GS_SOURCES+= libpng-0.96.tgz +GS_DRIVERS= gs5.03-vflib.tar.gz GS_DRIVERS+= gdevlips4-1.2.0.tar.gz GS_DRIVERS+= gdevmjc-0.7.tar.gz GS_DRIVERS+= gdevrpdl.tar.gz GS_DRIVERS+= gdev10v.tar.gz +GS_DRIVERS+= dmprt-2.01.tar.gz +GS_DRIVERS+= gdevnpdl-1.2.tar.gz # Note: the following two are real files that have symlinks with # later version numbers pointing to them. To avoid unnecessarily # downloading distfiles, do not change these when upgrading the port # unless the files really change. GS_FONTS_STD= ghostscript-fonts-std-4.0.tar.gz -GS_FONTS_OTHER= ghostscript-fonts-other-3.0.tar.gz +GS_FONTS_OTHER= ghostscript-fonts-other-4.40.tar.gz pre-patch: - @(cd ${WRKSRC} ; tar xzf ${DISTDIR}/gs4.03-vflib.tar.gz ) + @(cd ${WRKSRC} ; tar xzf ${DISTDIR}/gs5.03-vflib.tar.gz ) @(cd ${WRKDIR} ; \ - ${PATCH} -p < ${WRKSRC}/gs4.03-vflib/gs4.03-vflib.diff >/dev/null 2>&1; \ + ${PATCH} -p < ${WRKSRC}/gs5.03-vflib/gs5.03-vflib.diff >/dev/null 2>&1; \ ) post-patch: @@ -59,34 +67,55 @@ post-patch: tar xzf ${DISTDIR}/gdevmjc-0.7.tar.gz ; \ tar xzf ${DISTDIR}/gdevrpdl.tar.gz ; \ tar xzf ${DISTDIR}/gdev10v.tar.gz ; \ + ${MKDIR} ${PRINTER}/gdevdmpr ; \ + tar -C gdevdmpr -xzf ${DISTDIR}/dmprt-2.01.tar.gz ; \ + ${MKDIR} ${PRINTER}/gdevnpdl ; \ + tar -C gdevnpdl -xzf ${DISTDIR}/gdevnpdl-1.2.tar.gz ; \ ${CP} gdev10v/gdev10v.c gdev10v/gdev10v.mak ${WRKSRC}; \ ${CP} gdevmjc-0.7/gdevmjc.c gdevmjc-0.7/mjc.dev ${WRKSRC}; \ ${CP} gdevlips4-1.2.0/gdevlips4.c gdevlips4-1.2.0/gdevlips4.mak ${WRKSRC}; \ + ${CP} gdevdmpr/gdevdmpr.c gdevdmpr/gdevdmpr.mak ${WRKSRC}; \ + ${CP} gdevdmpr/dviprlib.c gdevdmpr/dviprlib.h ${WRKSRC}; \ ${CP} gdevep82/gdevep82.c gdevep82/gdevep82.mak ${WRKSRC}; \ ${CP} gdevrpdl/gdevrpdl.c gdevrpdl/gdevrpdl.mak ${WRKSRC}; \ + ${CP} gdevnpdl/gdevnpdl.c gdevnpdl/gdevnpdl.mak ${WRKSRC}; \ ) @${PATCH} ${PATCH_ARGS} < ${FILESDIR}/gdev10v.mak.patch @${PATCH} ${PATCH_ARGS} < ${FILESDIR}/mjc.dev.patch @${PATCH} ${PATCH_ARGS} < ${FILESDIR}/gdevmjc.c.patch + @${PATCH} ${PATCH_ARGS} < ${FILESDIR}/gdevdmpr.patch + @${PATCH} ${PATCH_ARGS} < ${FILESDIR}/gdevnpdl.mak.patch @${CAT} ${WRKSRC}/gdev10v.mak >> ${WRKSRC}/unix-gcc.mak + @${CAT} ${WRKSRC}/gdevdmpr.mak >> ${WRKSRC}/unix-gcc.mak @${CAT} ${WRKSRC}/gdevep82.mak >> ${WRKSRC}/unix-gcc.mak @${CAT} ${WRKSRC}/gdevlips4.mak >> ${WRKSRC}/unix-gcc.mak @${CAT} ${WRKSRC}/gdevrpdl.mak >> ${WRKSRC}/unix-gcc.mak + @${CAT} ${WRKSRC}/gdevnpdl.mak >> ${WRKSRC}/unix-gcc.mak @${CAT} ${WRKSRC}/mjc.dev >> ${WRKSRC}/unix-gcc.mak pre-install: - @${MKDIR} ${PREFIX}/share/ghostscript + @${MKDIR} -p ${PREFIX}/share/ghostscript @tar -C ${PREFIX}/share/ghostscript -xzf ${DISTDIR}/${GS_FONTS_STD} - @tar -C ${PREFIX}/share/ghostscript -xzf ${DISTDIR}/${GS_FONTS_OTHER} + @tar -C ${PREFIX}/share/ghostscript/fonts -xzf ${DISTDIR}/${GS_FONTS_OTHER} post-install: @strip ${PREFIX}/bin/gs @( \ + ${CP} ${WRKSRC}/gs5.03-vflib/README ${DOC_DIR}/README.gs5.03-vflib ; \ + ${CP} ${WRKSRC}/gs5.03-vflib/README.CID ${DOC_DIR}/README.CID.gs5.03-vflib ; \ + ${CP} ${WRKSRC}/gs5.03-vflib/OLD-DOC/gs261d13-doc/* ${DOC_DIR} ; \ + ${CP} ${WRKSRC}/gs5.03-vflib/OLD-DOC/gs261j10-doc/* ${DOC_DIR} ; \ ${CP} ${PRINTER}/gdev10v/gdev10v.jis ${DOC_DIR} ; \ ${CP} ${PRINTER}/gdevep82/gdevep82.jis ${DOC_DIR} ; \ ${CP} ${PRINTER}/gdevlips4-1.2.0/Readme ${DOC_DIR}/gdevlips4.euc ; \ ${CP} ${PRINTER}/gdevmjc-0.7/README.jis ${DOC_DIR}/gdevmjc.jis ; \ ${CP} ${PRINTER}/gdevmjc-0.7/MJ700V2C.FAQ ${DOC_DIR} ; \ + ${CP} ${PRINTER}/gdevdmpr/gdevdmpr.sj ${DOC_DIR} ; \ + ${CP} ${PRINTER}/gdevnpdl/gdevnpdl.jis ${DOC_DIR} ; \ + ${CP} ${PRINTER}/gdevdmpr/dmp_init.ps ${GSINST_DIR} ; \ + ${CP} ${PRINTER}/gdevdmpr/dmp_site.ps ${GSINST_DIR} ; \ + ${CP} ${PRINTER}/gdevdmpr/escp_24.src ${GSINST_DIR} ; \ + ${CP} ${PRINTER}/gdevdmpr/testpage.ps ${GSINST_DIR} ; \ ) .include <bsd.port.mk> |