Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 1996 15:23:28 +0900 (JST)
From:      mita@jp.FreeBSD.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/2295: jp-dvi2ps-2.0b4 ports has been updated to 2.0g
Message-ID:  <199612270623.PAA16640@hanpen.fujita3.iis.u-tokyo.ac.jp>
Resent-Message-ID: <199612270630.WAA06445@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         2295
>Category:       ports
>Synopsis:       jp-dvi2ps ports has been updated.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 26 22:30:01 PST 1996
>Last-Modified:
>Originator:     MITA Yoshio
>Organization:
IIS, the University of TOKYO, JAPAN
>Release:        FreeBSD 2.2-ALPHA i386
>Environment:

FreeBSD 2.2-ALPHA with current bsd.port.{mk|subdir.mk}, BSD.local.dist

>Description:

We have to follow to updating of original dvi2ps-j (version 2.0beta4 to gamma). 
Man pages both in English and Japanese should be installed to correct place.


>How-To-Repeat:


>Fix:
	
Apply this patch to ports tree:

diff -rcN japanese/dvi2ps.beta4/Makefile japanese/dvi2ps/Makefile
*** japanese/dvi2ps.beta4/Makefile	Thu Dec 26 18:55:07 1996
--- japanese/dvi2ps/Makefile	Fri Dec 27 15:08:37 1996
***************
*** 1,21 ****
  # New ports collection makefile for: jp-dvi2ps
! # Version required:	2.0beta4
  # Date created:		15 Sep 1996
  # Whom:			Mita Yoshio <mita@jp.FreeBSD.org>
  #
  # $Id: Makefile,v 1.3 1996/12/07 00:20:24 asami Exp $
  #
  
! DISTNAME=	dvi2ps-2.0j-beta4
! PKGNAME=	jp-dvi2ps-2.0b4
  CATEGORIES=	japanese print
  MASTER_SITES=	ftp://ftp.math.s.chiba-u.ac.jp/tex/
! DISTFILES=	dvi2ps-2.0j-beta4.tar.gz
  
  MAINTAINER=	mita@jp.FreeBSD.org
  
  LIB_DEPENDS=	VFlib\\.2\\.:${PORTSDIR}/japanese/vflib
  
  post-patch:
  	@(cd ${WRKSRC}; make newlib)
  
--- 1,24 ----
  # New ports collection makefile for: jp-dvi2ps
! # Version required:	2.0gamma
  # Date created:		15 Sep 1996
  # Whom:			Mita Yoshio <mita@jp.FreeBSD.org>
  #
  # $Id: Makefile,v 1.3 1996/12/07 00:20:24 asami Exp $
  #
  
! DISTNAME=	dvi2ps-2.0j-gamma
! PKGNAME=	jp-dvi2ps-2.0g
  CATEGORIES=	japanese print
  MASTER_SITES=	ftp://ftp.math.s.chiba-u.ac.jp/tex/
! DISTFILES=	dvi2ps-2.0j-gamma.tar.gz
  
  MAINTAINER=	mita@jp.FreeBSD.org
  
+ BUILD_DEPENDS=	nkf:${PORTSDIR}/japanese/nkf
  LIB_DEPENDS=	VFlib\\.2\\.:${PORTSDIR}/japanese/vflib
  
+ MAN1=		dvi2ps.1 ../ja_JP.EUC/man1/dvi2ps.1
+ 
  post-patch:
  	@(cd ${WRKSRC}; make newlib)
  
***************
*** 28,33 ****
--- 31,40 ----
  	@(cd  ${WRKSRC}; \
  	make install-lib; \
  	${CP} -R doc ${PREFIX}/lib/dvi2ps/ ;\
+ 	mv ${PREFIX}/lib/dvi2ps/doc/dvi2ps.man ${PREFIX}/man/man1/dvi2ps.1 ;\
+ 	nkf -e ${PREFIX}/lib/dvi2ps/doc/dvi2ps.jman > \
+ 			${PREFIX}/man/ja_JP.EUC/man1/dvi2ps.1 ;\
+ 	rm -f ${PREFIX}/lib/dvi2ps/doc/dvi2ps.jman ;\
  	${INSTALL_SCRIPT} tools/lnfonts ${PREFIX}/lib/dvi2ps ;\
  	${INSTALL_PROGRAM} tools/nup ${PREFIX}/bin ;\
  	${INSTALL_PROGRAM} tools/texfix ${PREFIX}/bin ;\
diff -rcN japanese/dvi2ps.beta4/files/md5 japanese/dvi2ps/files/md5
*** japanese/dvi2ps.beta4/files/md5	Thu Dec 26 18:55:06 1996
--- japanese/dvi2ps/files/md5	Thu Dec 26 19:26:48 1996
***************
*** 1 ****
! MD5 (dvi2ps-2.0j-beta4.tar.gz) = 2826a4525d6218a34e6e360775abde07
--- 1 ----
! MD5 (dvi2ps-2.0j-gamma.tar.gz) = ec19a27827d2edafb59390aef529aca7
diff -rcN japanese/dvi2ps.beta4/patches/patch-aa japanese/dvi2ps/patches/patch-aa
*** japanese/dvi2ps.beta4/patches/patch-aa	Thu Dec 26 18:55:06 1996
--- japanese/dvi2ps/patches/patch-aa	Thu Dec 26 19:40:06 1996
***************
*** 1,61 ****
! *** Makefile.orig	Fri Oct  4 12:01:36 1996
! --- Makefile	Fri Nov  8 21:35:39 1996
  ***************
! *** 1,11 ****
!   # The following file and directory specifications may need changing at
    # your site:
    #
    # where dvi2ps is installed
! ! BINAREA=/usr/local/bin
    #
!   # directory for dvi2ps: where the auxiliary files are installed
! ! DVI2LIB=/usr/local/lib/dvi2ps
!   #
!   # name of default fontdesc file in your site
!   FONTDESC=fontdesc
! --- 1,12 ----
!   # The following file and directory specifications may need changing at
    # your site:
    #
! + PREFIX?=	/usr/local
    # where dvi2ps is installed
! ! BINAREA=${PREFIX}/bin
!   #
!   # directory for dvi2ps: where the auxiliary files are installed
! ! DVI2LIB=${PREFIX}/lib/dvi2ps
    #
-   # name of default fontdesc file in your site
-   FONTDESC=fontdesc
  ***************
! *** 36,50 ****
!   # optional font formats
!   FONTF = -DVFLIB
!   # VFlib library (comment out next line if -DFVLIB is not included)
! ! VFLIB = VFlib.a
    
    #
    CC=cc
    #
  ! CCFLAGS = -g
!   #CCFLAGS = -O		# SUN etc ...
!   #CCFLAGS = -O -traditional -DPOSIX	# 386bsd (gcc 1.X)
  ! #CCFLAGS = -O -DPOSIX	# NetBSD FreeBSD (gcc 2.X), Linux
-   #CCFLAGS = -O -bsd	# NeXT
    #CCFLAGS = -O -DMSDOS -DPOSIX	# DJGCC (gcc 2.X)
!   #CCFLAGS = -O -DSYSV	# SysV
! --- 37,51 ----
!   # optional font formats
!   FONTF = -DVFLIB
!   # VFlib library (comment out next line if -DFVLIB is not included)
  ! VFLIB = -L${PREFIX}/lib -lVFlib
    
    #
    CC=cc
    #
  ! #CCFLAGS = -g
!   #CCFLAGS = -O		# SUN etc ...
!   #CCFLAGS = -O -traditional -DPOSIX	# 386bsd (gcc 1.X)
  ! CCFLAGS = -O -DPOSIX -m486	# NetBSD FreeBSD (gcc 2.X), Linux
-   #CCFLAGS = -O -bsd	# NeXT
    #CCFLAGS = -O -DMSDOS -DPOSIX	# DJGCC (gcc 2.X)
!   #CCFLAGS = -O -DSYSV	# SysV
--- 1,60 ----
! *** Makefile.orig	Thu Dec 26 19:37:51 1996
! --- Makefile	Thu Dec 26 19:39:54 1996
  ***************
! *** 2,8 ****
    # your site:
    #
+   # BINAREA and DVI2LIB are relative to PREFIX
+ ! PREFIX=/usr/local
    # where dvi2ps is installed
!   BINAREA=${PREFIX}/bin
    #
! --- 2,8 ----
    # your site:
    #
!   # BINAREA and DVI2LIB are relative to PREFIX
! ! PREFIX?=/usr/local
    # where dvi2ps is installed
!   BINAREA=${PREFIX}/bin
    #
  ***************
! *** 42,60 ****
!   # 1) libVFlib.a and VF.h are installed in the standard directory
!   #VFLIB = -lVFlib
!   # 2) libVFlib.a and VF.h are installed in the non-standard directory
! ! #VFLIB = -L${PREFIX}/lib -lVFlib
! ! #VFLIBINC = -I${PREFIX}/include
!   # 3) use VFlib.a and VF.h in the source directory of VFlib
! ! VFLIBSRCDIR = ../VFlib-2.22/src
! ! VFLIB = ${VFLIBSRCDIR}/VFlib.a
! ! VFLIBINC = -I${VFLIBSRCDIR}
    
    #
    CC=cc
    #
  ! CCFLAGS = -g
!   #CCFLAGS = -O		# SUNOS 4.X etc ...
  ! #CCFLAGS = -O -DPOSIX	# NetBSD FreeBSD (gcc 2.X), Linux
    #CCFLAGS = -O -DMSDOS -DPOSIX	# DJGCC (gcc 2.X)
!   #CCFLAGS = -O -DANSI -DPOSIX -DSYSV -DSYSVIO	# Solaris 2.X (SUNWpro/bin/cc)
!   #CCFLAGS = -O -DSYSVIO		# Solaris 2.X (/usr/ucb/cc -- not recommended)
! --- 42,60 ----
!   # 1) libVFlib.a and VF.h are installed in the standard directory
!   #VFLIB = -lVFlib
!   # 2) libVFlib.a and VF.h are installed in the non-standard directory
  ! VFLIB = -L${PREFIX}/lib -lVFlib
+ ! VFLIBINC = -I${PREFIX}/include
+   # 3) use VFlib.a and VF.h in the source directory of VFlib
+ ! #VFLIBSRCDIR = ../VFlib-2.22/src
+ ! #VFLIB = ${VFLIBSRCDIR}/VFlib.a
+ ! #VFLIBINC = -I${VFLIBSRCDIR}
    
    #
    CC=cc
    #
  ! #CCFLAGS = -g
!   #CCFLAGS = -O		# SUNOS 4.X etc ...
  ! CCFLAGS = -O -DPOSIX -m486	# NetBSD FreeBSD (gcc 2.X), Linux
    #CCFLAGS = -O -DMSDOS -DPOSIX	# DJGCC (gcc 2.X)
!   #CCFLAGS = -O -DANSI -DPOSIX -DSYSV -DSYSVIO	# Solaris 2.X (SUNWpro/bin/cc)
!   #CCFLAGS = -O -DSYSVIO		# Solaris 2.X (/usr/ucb/cc -- not recommended)
diff -rcN japanese/dvi2ps.beta4/patches/patch-ab japanese/dvi2ps/patches/patch-ab
*** japanese/dvi2ps.beta4/patches/patch-ab	Thu Dec 26 18:55:06 1996
--- japanese/dvi2ps/patches/patch-ab	Thu Dec 26 22:05:54 1996
***************
*** 10,16 ****
  + 
  + # change resolution according to your site.
  + define	RESOLUTION	300
! + resolution		300
  + 
  + define	f		/usr/local/lib/fonts
  + define	af		/usr/local/share/tex/jfonts/jfms
--- 10,16 ----
  + 
  + # change resolution according to your site.
  + define	RESOLUTION	300
! + resolution		$RESOLUTION
  + 
  + define	f		/usr/local/lib/fonts
  + define	af		/usr/local/share/tex/jfonts/jfms
diff -rcN japanese/dvi2ps.beta4/pkg/DESCR japanese/dvi2ps/pkg/DESCR
*** japanese/dvi2ps.beta4/pkg/DESCR	Thu Dec 26 18:55:06 1996
--- japanese/dvi2ps/pkg/DESCR	Thu Dec 26 22:07:28 1996
***************
*** 1,11 ****
  dvi to postscrpt converter.
  
! Sample font description file `/usr/local/lib/dvi2ps/fontdesc' is installed.
  Those who want to print out English fonts by pkfont and Japanese by 
  printer builtin font can use it directly. 
  (Remember to add pkfonts by package or so.)
  
! Default resolution is set to 300dpi in fontdesc file, 
! modify it according to your site.
  
  See /usr/local/lib/dvi2ps/doc/* files for customize.
--- 1,12 ----
  dvi to postscrpt converter.
  
! A sample font description file `/usr/local/lib/dvi2ps/fontdesc' is installed.
  Those who want to print out English fonts by pkfont and Japanese by 
  printer builtin font can use it directly. 
  (Remember to add pkfonts by package or so.)
  
! Default resolution is set to 300dpi in fontdesc file. You can 
! modify it according to your site, or override it by command line option:
! dvi2ps -D RESOLUTION=(your resolution).
  
  See /usr/local/lib/dvi2ps/doc/* files for customize.
diff -rcN japanese/dvi2ps.beta4/pkg/PLIST japanese/dvi2ps/pkg/PLIST
*** japanese/dvi2ps.beta4/pkg/PLIST	Thu Dec 26 18:55:07 1996
--- japanese/dvi2ps/pkg/PLIST	Thu Dec 26 23:12:54 1996
***************
*** 26,36 ****
  lib/dvi2ps/vflib
  lib/dvi2ps/vtexe
  lib/dvi2ps/wadalab
  lib/dvi2ps/doc/bugs.doc
  lib/dvi2ps/doc/changes.doc
  lib/dvi2ps/doc/dvi2ps.doc
- lib/dvi2ps/doc/dvi2ps.jman
- lib/dvi2ps/doc/dvi2ps.man
  lib/dvi2ps/doc/fontdesc.doc
  lib/dvi2ps/doc/history
  lib/dvi2ps/doc/install.doc
--- 26,38 ----
  lib/dvi2ps/vflib
  lib/dvi2ps/vtexe
  lib/dvi2ps/wadalab
+ lib/dvi2ps/doc/DOCS
+ lib/dvi2ps/doc/dvi2ps.1
+ lib/dvi2ps/doc/dvi2ps.1j
+ lib/dvi2ps/doc/hints.doc
  lib/dvi2ps/doc/bugs.doc
  lib/dvi2ps/doc/changes.doc
  lib/dvi2ps/doc/dvi2ps.doc
  lib/dvi2ps/doc/fontdesc.doc
  lib/dvi2ps/doc/history
  lib/dvi2ps/doc/install.doc
***************
*** 89,91 ****
--- 91,95 ----
  lib/dvi2ps/printer/LWII
  lib/dvi2ps/printer/RicohSP10
  lib/dvi2ps/printer/SPARC
+ man/ja_JP.EUC/man1/dvi2ps.1.gz
+ man/man1/dvi2ps.1.gz

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612270623.PAA16640>