Date: Wed, 19 May 1999 07:10:03 -0700 (PDT) From: Inagaki Kentaro (=?iso-2022-jp?B?GyRCMHAzQDdyQkBPOhsoQg==?=) <inagaki@tg.rim.or.jp> To: freebsd-ports@FreeBSD.org Subject: Re: ports/11599: New port: japanese/xdvik-vflib Message-ID: <199905191410.HAA88132@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/11599; it has been noted by GNATS. From: Inagaki Kentaro (=?iso-2022-jp?B?GyRCMHAzQDdyQkBPOhsoQg==?=) <inagaki@tg.rim.or.jp> To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: ports/11599: New port: japanese/xdvik-vflib Date: Wed, 19 May 1999 23:01:52 +0900 update and bug fix. files/zeit.c.diff is added. diff -ruN xdvik-vflib.orig/Makefile xdvik-vflib/Makefile --- xdvik-vflib.orig/Makefile Tue May 4 21:17:27 1999 +++ xdvik-vflib/Makefile Wed May 19 22:55:49 1999 @@ -9,8 +9,12 @@ DISTNAME= xdvik-22.02 PKGNAME= ja-xdvik-vflib-22.02 CATEGORIES= japanese print -MASTER_SITES= ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \ +MASTER_SITES= ftp://ftp.tex.ac.uk/tex-archive/dviware/xdvik/ \ + ftp://ftp.iij.ad.jp/pub/TeX/CTAN/dviware/xdvik/ \ + ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \ + ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex218/web2c/ \ ${MASTER_SITE_LOCAL} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ptex/plib-1.4-euc.tar.gz PATCH_SITES= ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-22/ \ ${MASTER_SITE_LOCAL} @@ -20,7 +24,7 @@ MAINTAINER= inagaki@tg.rim.or.jp #RUN_DEPENDS= mf:${PORTSDIR}/japanese/ptex-common -#LIB_DEPENDS= VFlib2.24:${PORTSDIR}/japanese/vflib +LIB_DEPENDS= VFlib2.24:${PORTSDIR}/japanese/vflib EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} @@ -28,23 +32,31 @@ GNU_CONFIGURE=YES #CONFIGURE_ARGS= --enable-shared=yes \ CONFIGURE_ARGS= \ - --enable-bdpi=300 --enable-shrink=8 \ + --enable-a4 --enable-bdpi=300 --enable-shrink=8 \ --enable-xdviprint=${PREFIX}/libexec/xdviprint CONFIGURE_ENV= INSTALL="${INSTALL}" \ INSTALL_PROGRAM="${INSTALL_PROGRAM}" INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ INSTALL_DATA="${INSTALL_DATA}" INSTALL_MAN="${INSTALL_MAN}" SCRIPTS_ENV= MV=${MV} SED=${SED} VFFONTS= .:${PREFIX}/share/fonts/makejvf// -TFMFONTS= .:${PREFIX}/share/fonts/makejvf// -PKFONTS= .:${PREFIX}/lib/fonts/pk300// +TFMFONTS= .:${PREFIX}/share/fonts/{makejvf:tfm/ptex}// +PKFONTS= .:${PREFIX}/lib/fonts/pk{118:240:300:360:400:600}// MAKE_ENV= XDEFS="-DDEFAULT_VFFONTS='"\"\\\"${VFFONTS}\\\""\"' -DDEFAULT_TFMFONTS='"\"\\\"${TFMFONTS}\\\""\"' -DDEFAULT_PKFONTS='"\"\\\"${PKFONTS}\\\""\"'" MAN1=xdvi.1 TEXMF= ${PREFIX}/share/texmf VARTEXFONTS=/var/tmp/texfonts XDVIDIR= ${TEXMF}/xdvi -MAKETEX_MODE?=ljfour -DVIPS?= dvipsk +PTEXTFMDIR= ${PREFIX}/share/fonts/tfm/ptex +MAKETEX_MODE?= ljfour +DVIPS?= dvipsk + +PTEXTFM=goth10.tfm goth5.tfm goth6.tfm goth7.tfm goth8.tfm goth9.tfm \ + min10.tfm min5.tfm min6.tfm min7.tfm min8.tfm min9.tfm \ + ngoth10.tfm ngoth5.tfm ngoth6.tfm ngoth7.tfm ngoth8.tfm ngoth9.tfm \ + nmin10.tfm nmin5.tfm nmin6.tfm nmin7.tfm nmin8.tfm nmin9.tfm \ + tgoth10.tfm tgoth5.tfm tgoth6.tfm tgoth7.tfm tgoth8.tfm tgoth9.tfm \ + tmin10.tfm tmin5.tfm tmin6.tfm tmin7.tfm tmin8.tfm tmin9.tfm DOCS= FAQ \ xdvi.icon \ @@ -65,7 +77,7 @@ READMEs/README.xdvik18f-j1.1p5.patch \ READMEs/README.xdvik20a-j1.1.patch \ READMEs/README.xdvik20c-j1.0+hal2+dvisel \ - READMEs/README.xdvik20c-j1.0p1.patch + READMEs/README.xdvik20c-j1.0p1.patch # ****************** # DVIPS: @@ -104,11 +116,26 @@ ${ECHO} "* Please refer to Makefile about a change. *"; \ ${ECHO} "************************************************************") +post-extract: + @${TAR} -C ${WRKDIR}/ -zxf ${DISTDIR}/ptex/plib-1.4-euc.tar.gz \ + texmf/fonts/tfm/ptex + +post-patch: + @${CAT} ${FILESDIR}/zeit.c.diff | ${PATCH} -p1 -s -d ${WRKSRC} + pre-build: @(cd ${WRKSRC} ; find . -name '*.orig' -exec ${RM} -f {} \;) +pre-install: + @${MKDIR} ${PTEXTFMDIR} + @for i in ${PTEXTFM} ; do \ + ${INSTALL_DATA} ${WRKDIR}/texmf/fonts/tfm/ptex/$$i \ + ${PTEXTFMDIR} ; \ + done + do-install: - @(cd ${WRKSRC}/texk/xdvik ; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET}) + @(cd ${WRKSRC}/texk/xdvik ; ${SETENV} ${MAKE_ENV} ${GMAKE} \ + ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET}) post-install: @$(INSTALL_DATA) $(FILESDIR)/vfontmap $(XDVIDIR) diff -ruN xdvik-vflib.orig/files/md5 xdvik-vflib/files/md5 --- xdvik-vflib.orig/files/md5 Tue May 4 20:25:42 1999 +++ xdvik-vflib/files/md5 Wed May 19 21:59:16 1999 @@ -1,2 +1,3 @@ MD5 (xdvik-22.02.tar.gz) = 1a331c609753e9eb6a099fef2eda595e +MD5 (ptex/plib-1.4-euc.tar.gz) = 8913238d89fd1d4a57e9853a91c76c4d MD5 (xdvik-22.02-j1.02.patch.gz) = fbb1a3a85dae5fd7710332435298e148 diff -ruN xdvik-vflib.orig/files/vfontmap xdvik-vflib/files/vfontmap --- xdvik-vflib.orig/files/vfontmap Thu Apr 8 20:46:45 1999 +++ xdvik-vflib/files/vfontmap Wed May 19 21:48:05 1999 @@ -1,10 +1,11 @@ -min min # for ASCII +min min # for ASCII nmin min # for ASCII goth goth # for ASCII ngoth goth # for ASCII -dm min # for NTT -dg goth # for NTT + +dm min # for NTT +dg goth # for NTT mgoth maru fmin fmin diff -ruN xdvik-vflib.orig/files/zeit.c.diff xdvik-vflib/files/zeit.c.diff --- xdvik-vflib.orig/files/zeit.c.diff Thu Jan 1 09:00:00 1970 +++ xdvik-vflib/files/zeit.c.diff Wed May 19 20:43:14 1999 @@ -0,0 +1,37 @@ +--- xdvik-22.05b/texk/xdvik/zeit.c.orig Sun May 16 18:57:03 1999 ++++ xdvik-22.05b/texk/xdvik/zeit.c Sun May 16 18:58:51 1999 +@@ -225,7 +225,7 @@ + for (h = 0; h < bm->h; h++) { + unsigned char *p = (unsigned char *) &bm->bits[h * bwidth]; + +- if (d2 > 0) ++ if (d2 > 0) { + for (w = 0; w < bwidth - 1; w++) { + unsigned int word; + +@@ -233,6 +233,8 @@ + word <<= d2; + *(p + w) = word >> 8; + } ++ *(p + bwidth - 1) = *(p + bwidth - 1) << d2; ++ } + + for (w = 0; w < bwidth; w++) + *(p + w) = (w < bwidth - d1) ? *(p + w + d1) : 0; +@@ -244,7 +246,7 @@ + for (h = 0; h < bm->h; h++) { + unsigned char *p = (unsigned char *) &bm->bits[h * bwidth]; + +- if (d2 > 0) ++ if (d2 > 0) { + for (w = bwidth - 1; 0 < w; w--) { + unsigned int word; + +@@ -253,6 +255,7 @@ + *(p + w) = word & 0xff; + } + *p = *p >> d2; ++ } + + for (w = bwidth - 1; w <= 0; w++) + *(p + w) = (w > d1) ? *(p + w - d1) : 0; diff -ruN xdvik-vflib.orig/pkg/DESCR xdvik-vflib/pkg/DESCR --- xdvik-vflib.orig/pkg/DESCR Tue May 4 22:29:39 1999 +++ xdvik-vflib/pkg/DESCR Wed May 19 21:23:08 1999 @@ -10,5 +10,6 @@ 6. print out from this program (use lpr). 7. convert dvi -> ps (default use japanese/dvipsk). -- Kentarou Inagaki +---- +Kentaro Inagaki inagaki@tg.rim.or.jp diff -ruN xdvik-vflib.orig/pkg/PLIST xdvik-vflib/pkg/PLIST --- xdvik-vflib.orig/pkg/PLIST Thu Apr 8 22:11:00 1999 +++ xdvik-vflib/pkg/PLIST Wed May 19 21:47:22 1999 @@ -24,5 +24,43 @@ share/doc/xdvi/README.xdvik20a-j1.1.patch share/doc/xdvi/README.xdvik20c-j1.0+hal2+dvisel share/doc/xdvi/README.xdvik20c-j1.0p1.patch +share/fonts/tfm/ptex/goth10.tfm +share/fonts/tfm/ptex/goth5.tfm +share/fonts/tfm/ptex/goth6.tfm +share/fonts/tfm/ptex/goth7.tfm +share/fonts/tfm/ptex/goth8.tfm +share/fonts/tfm/ptex/goth9.tfm +share/fonts/tfm/ptex/min10.tfm +share/fonts/tfm/ptex/min5.tfm +share/fonts/tfm/ptex/min6.tfm +share/fonts/tfm/ptex/min7.tfm +share/fonts/tfm/ptex/min8.tfm +share/fonts/tfm/ptex/min9.tfm +share/fonts/tfm/ptex/ngoth10.tfm +share/fonts/tfm/ptex/ngoth5.tfm +share/fonts/tfm/ptex/ngoth6.tfm +share/fonts/tfm/ptex/ngoth7.tfm +share/fonts/tfm/ptex/ngoth8.tfm +share/fonts/tfm/ptex/ngoth9.tfm +share/fonts/tfm/ptex/nmin10.tfm +share/fonts/tfm/ptex/nmin5.tfm +share/fonts/tfm/ptex/nmin6.tfm +share/fonts/tfm/ptex/nmin7.tfm +share/fonts/tfm/ptex/nmin8.tfm +share/fonts/tfm/ptex/nmin9.tfm +share/fonts/tfm/ptex/tgoth10.tfm +share/fonts/tfm/ptex/tgoth5.tfm +share/fonts/tfm/ptex/tgoth6.tfm +share/fonts/tfm/ptex/tgoth7.tfm +share/fonts/tfm/ptex/tgoth8.tfm +share/fonts/tfm/ptex/tgoth9.tfm +share/fonts/tfm/ptex/tmin10.tfm +share/fonts/tfm/ptex/tmin5.tfm +share/fonts/tfm/ptex/tmin6.tfm +share/fonts/tfm/ptex/tmin7.tfm +share/fonts/tfm/ptex/tmin8.tfm +share/fonts/tfm/ptex/tmin9.tfm @dirrm share/texmf/xdvi +@dirrm share/fonts/tfm/ptex +@dirrm share/fonts/tfm @dirrm share/doc/xdvi ---- Kentaro Inagaki inagaki@tg.rim.or.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905191410.HAA88132>