diff options
author | steve <steve@FreeBSD.org> | 1998-05-11 07:50:43 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-05-11 07:50:43 +0800 |
commit | f8c8c4d325f25a02d15a13e3cddce9c5732969bf (patch) | |
tree | 9f508f0068aed188fc739c6a300eaf3d99623c71 /japanese/vfghostscript55/Makefile | |
parent | 654bac477e62382e101f85d21ae31e6f36880398 (diff) | |
download | freebsd-ports-gnome-f8c8c4d325f25a02d15a13e3cddce9c5732969bf.tar.gz freebsd-ports-gnome-f8c8c4d325f25a02d15a13e3cddce9c5732969bf.tar.zst freebsd-ports-gnome-f8c8c4d325f25a02d15a13e3cddce9c5732969bf.zip |
Update to include a bunch of new patches among other things.
PR: 6477
Submitted by: maintainer
Diffstat (limited to 'japanese/vfghostscript55/Makefile')
-rw-r--r-- | japanese/vfghostscript55/Makefile | 51 |
1 files changed, 31 insertions, 20 deletions
diff --git a/japanese/vfghostscript55/Makefile b/japanese/vfghostscript55/Makefile index 02547b7172ae..51b4da75a42f 100644 --- a/japanese/vfghostscript55/Makefile +++ b/japanese/vfghostscript55/Makefile @@ -3,7 +3,7 @@ # Date created: 26 Aug 1997 # Whom: Mita Yoshio <mita@jp.FreeBSD.org> # -# $Id: Makefile,v 1.18 1998/03/28 19:33:07 asami Exp $ +# $Id: Makefile,v 1.19 1998/03/31 00:17:02 asami Exp $ # DISTNAME= ghostscript-5.10 @@ -21,7 +21,8 @@ MASTER_SITES= ftp://ftp.cs.wisc.edu/ghost/aladdin/gs510/ \ http://www.jaist.ac.jp/~daisuke/Linux/gs/gs5/Original-sources/OLD/ \ http://www.rd.nacsis.ac.jp/~katayama/homepage/ghostscript/jpdf/ \ http://itohws03.ee.noda.sut.ac.jp/~matsuda/VFlib-FT/ \ - http://www.bpe.es.osaka-u.ac.jp/~watanabe/ + http://www.bpe.es.osaka-u.ac.jp/~watanabe/ \ + ftp://ftp.iijnet.or.jp/humbleSoft/pub/ DISTFILES= ${GS_SOURCES} ${GS_DRIVERS} ${GS_FONTS_STD} ${GS_FONTS_OTHER} MAINTAINER= mita@jp.FreeBSD.org @@ -41,21 +42,22 @@ PRINTER= ${WRKSRC}/jp-printers GS_SOURCES= ghostscript-5.10.tar.gz GS_SOURCES+= jpegsrc.v6a.tar.gz GS_SOURCES+= libpng-0.96.tgz -GS_DRIVERS= gs5.10-vflib-1.1.tar.gz +GS_DRIVERS= gs5.10-vflib-1.2.tar.gz GS_DRIVERS+= gs5.10-jpdf-0.2.tar.gz -GS_DRIVERS+= gs5.10-VFlibBM-PL1.diff.gz +GS_DRIVERS+= gs5.10-VFlibBM-PL2.diff.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.4.tar.gz +GS_DRIVERS+= epag-3.01.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-4.40.tar.gz +GS_FONTS_STD= ghostscript-fonts-std-5.10.tar.gz +GS_FONTS_OTHER= ghostscript-fonts-other-5.10.tar.gz pre-fetch: .if !defined(PDFENCRYPT) @@ -64,21 +66,20 @@ pre-fetch: .endif pre-patch: - (cd ${WRKSRC} ; tar xzf ${DISTDIR}/gs5.10-vflib-1.1.tar.gz ) - (cd ${WRKSRC} ; tar xzf ${DISTDIR}/gs5.10-jpdf-0.2.tar.gz ) - (cd ${WRKDIR} ; \ - ${PATCH} -p < ${WRKSRC}/gs5.10-vflib-1.1/gs5.10-vflib-1.1.diff \ + @(cd ${WRKSRC} ; tar xzf ${DISTDIR}/gs5.10-vflib-1.2.tar.gz ) + @(cd ${WRKSRC} ; tar xzf ${DISTDIR}/gs5.10-jpdf-0.2.tar.gz ) + @(cd ${WRKDIR} ; \ + ${PATCH} -p < ${WRKSRC}/gs5.10-vflib-1.2/gs5.10-vflib-1.2.diff \ >/dev/null 2>&1) - (cd ${WRKDIR} ; \ + @(cd ${WRKDIR} ; \ ${PATCH} -p < ${WRKSRC}/gs5.10-jpdf-0.2/gs5.10-jpdf-0.2.diff \ >/dev/null 2>&1) - (cd ${WRKDIR} ; zcat ${DISTDIR}/gs5.10-VFlibBM-PL1.diff.gz | \ + @(cd ${WRKDIR} ; zcat ${DISTDIR}/gs5.10-VFlibBM-PL2.diff.gz | \ ${PATCH} -p >/dev/null 2>&1) post-patch: @( ${MKDIR} ${PRINTER} ; \ cd ${PRINTER} ; \ - ${PATCH} -p0 < ${FILESDIR}/gdevep82.patch >/dev/null 2>&1 ; \ tar xzf ${DISTDIR}/gdevlips4-1.2.0.tar.gz ; \ tar xzf ${DISTDIR}/gdevmjc-0.7.tar.gz ; \ tar xzf ${DISTDIR}/gdevrpdl.tar.gz ; \ @@ -87,12 +88,13 @@ post-patch: tar -C gdevdmpr -xzf ${DISTDIR}/dmprt-2.01.tar.gz ; \ ${MKDIR} ${PRINTER}/gdevnpdl ; \ tar -C gdevnpdl -xzf ${DISTDIR}/gdevnpdl-1.4.tar.gz ; \ + tar xzf ${DISTDIR}/epag-3.01.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} epag-3.01/gdevepag.c epag-3.01/gdevepag.mak ${WRKSRC}; \ ${CP} gdevrpdl/gdevrpdl.c gdevrpdl/gdevrpdl.mak ${WRKSRC}; \ ${CP} gdevnpdl/gdevnpdl.c gdevnpdl/gdevnpdl.mak ${WRKSRC}; \ ) @@ -102,27 +104,30 @@ post-patch: @${PATCH} ${PATCH_ARGS} < ${FILESDIR}/gdevdmpr.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}/gdevepag.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 +post-build: + @(cd ${PRINTER}/epag-3.01 ; ${MAKE}) + pre-install: @${MKDIR} ${PREFIX}/share/ghostscript @tar -C ${PREFIX}/share/ghostscript -xzf ${DISTDIR}/${GS_FONTS_STD} @tar -C ${PREFIX}/share/ghostscript/fonts -xzf ${DISTDIR}/${GS_FONTS_OTHER} post-install: + ${INSTALL_PROGRAM} ${PRINTER}/epag-3.01/ert ${PREFIX}/bin @strip ${PREFIX}/bin/gs @( \ - ${CP} ${WRKSRC}/gs5.10-vflib-1.1/README ${DOC_DIR}/README.gs5.10-vflib ; \ - ${CP} ${WRKSRC}/gs5.10-vflib-1.1/README.CID ${DOC_DIR}/README.CID.gs5.10-vflib ; \ - ${CP} ${WRKSRC}/gs5.10-vflib-1.1/OLD-DOC/gs261d13-doc/* ${DOC_DIR} ; \ - ${CP} ${WRKSRC}/gs5.10-vflib-1.1/OLD-DOC/gs261j10-doc/* ${DOC_DIR} ; \ + ${CP} ${WRKSRC}/gs5.10-vflib-1.2/README ${DOC_DIR}/README.gs5.10-vflib ; \ + ${CP} ${WRKSRC}/gs5.10-vflib-1.2/README.CID ${DOC_DIR}/README.CID.gs5.10-vflib ; \ + ${CP} ${WRKSRC}/gs5.10-vflib-1.2/OLD-DOC/gs261d13-doc/* ${DOC_DIR} ; \ + ${CP} ${WRKSRC}/gs5.10-vflib-1.2/OLD-DOC/gs261j10-doc/* ${DOC_DIR} ; \ ${CP} ${WRKSRC}/gs5.10-jpdf-0.2/README ${DOC_DIR}/README.gs5.10-jpdf ; \ ${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} ; \ @@ -132,6 +137,12 @@ post-install: ${CP} ${PRINTER}/gdevdmpr/dmp_site.ps ${GSINST_DIR} ; \ ${CP} ${PRINTER}/gdevdmpr/escp_24.src ${GSINST_DIR} ; \ ${CP} ${PRINTER}/gdevdmpr/testpage.ps ${GSINST_DIR} ; \ + ${MKDIR} ${DOC_DIR}/epag-3.01 ; \ + ${CP} ${PRINTER}/epag-3.01/FILES ${DOC_DIR}/epag-3.01 ; \ + ${CP} ${PRINTER}/epag-3.01/*.txt ${DOC_DIR}/epag-3.01 ; \ + ${CP} ${PRINTER}/epag-3.01/adjust.ps ${DOC_DIR}/epag-3.01 ; \ + ${CP} ${PRINTER}/epag-3.01/gsepagif.sh ${DOC_DIR}/epag-3.01 ; \ + ${CP} ${PRINTER}/epag-3.01/psprint ${DOC_DIR}/epag-3.01 ; \ ) .if defined(PDFENCRYPT) @${CP} -f ${DISTDIR}/pdf_sec.ps ${GSINST_DIR} |