Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Nov 1999 13:30:42 -0800 (PST)
From:      watanabe@zlab.phys.nagoya-u.ac.jp
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/15149: Delete interactive feature of ja-dvipsk-* ports
Message-ID:  <19991128213042.D7F1914C5A@hub.freebsd.org>

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

>Number:         15149
>Category:       ports
>Synopsis:       Delete interactive feature of ja-dvipsk-* ports
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 28 13:40:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Makoto WATANABE
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
Z lab. Division of Particle and Astrophysical Science, Nagoya University, JAPAN
>Environment:
>Description:
The interactive feature for install of 'ja-dvipsk-*' ports is imcomplete and
have some problems. Because this feature isn't necessary specially for the
ports, I have deleted the interactive feature to simple.

And because we can choose some packages of virtual fonts for 'ja-dvipsk-*'
ports now, I have deleted the dependency for 'ja-vftool' ports.

I put the patches for 'japanese/dvipsk' and 'japanese/dvipsk-vflib'
below "Fix:". Because these patches don't include the modifications for
pkg/INSTALL files, please delete pkg/INSTALL files manually.

Changed files are

  dvipsk/Makefile
  dvipsk/pkg/DESCR
  dvipsk/pkg/PLIST

  dvipsk-vflib/Makefile
  dvipsk-vflib/pkg/DESCR
  dvipsk-vflib/pkg/PLIST

Added files are

  dvipsk/pkg/MESSAGE
  dvipsk-vflib/pkg/MESSAGE

Deleted files are

  dvipsk/pkg/INSTALL
  dvipsk-vflib/pkg/INSTALL

- Makoto WATANABE
watanabe@zlab.phys.nagoya-u.ac.jp

>How-To-Repeat:

>Fix:
diff -ruN dvipsk.orig/Makefile dvipsk/Makefile
--- dvipsk.orig/Makefile	Sun Oct 24 21:06:38 1999
+++ dvipsk/Makefile	Mon Nov 29 04:13:19 1999
@@ -17,8 +17,7 @@
 
 MAINTAINER=	watanabe@zlab.phys.nagoya-u.ac.jp
 
-RUN_DEPENDS=	ptex-common:${PORTSDIR}/japanese/ptex-common \
-		${LOCALBASE}/share/fonts/vf-a2bk:${PORTSDIR}/japanese/vftool
+RUN_DEPENDS=	ptex-common:${PORTSDIR}/japanese/ptex-common
 
 MANUAL_PACKAGE_BUILD=	incompatible with other versions of dvipsk-*
 
@@ -27,7 +26,6 @@
 CONFIGURE_ENV=	ac_cv_path_install="${INSTALL} -c -o ${BINOWN} -g ${BINGRP}"
 SCRIPTS_ENV=	MV=${MV} SED=${SED}
 MAN1=		dvips.1 afm2tfm.1
-IS_INTERACTIVE=	yes
 
 TEXMF=		${PREFIX}/share/texmf
 DVIPSDIR=	${TEXMF}/dvips
@@ -83,12 +81,6 @@
 	done
 	@${LN} -fs ${DVIPSDIR}/contrib ${PREFIX}/share/doc/dvips/contrib
 .endif
-.if defined(BATCH)
-	@${SETENV} PKG_PREFIX=${PREFIX} BATCH=yes \
-	  ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
-.else
-	@${SETENV} PKG_PREFIX=${PREFIX} \
-	  ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
-.endif
+	@${CAT} ${PKGDIR}/MESSAGE
 
 .include <bsd.port.mk>
diff -ruN dvipsk.orig/pkg/DESCR dvipsk/pkg/DESCR
--- dvipsk.orig/pkg/DESCR	Mon Jul 20 00:00:00 1998
+++ dvipsk/pkg/DESCR	Mon Nov 29 04:13:19 1999
@@ -7,12 +7,13 @@
 The dvipsk program is modified version of Tom Rokicki's dvips and
 use the kpathsea library for configuration and path searching.
 You may have to set some variables in the path configuration file for
-kpathsea /usr/local/share/texmf/web2c/texmf.cnf so that the program
+kpathsea `/usr/local/share/texmf/web2c/texmf.cnf' so that the program
 can find PK fonts, Virtual fonts and TFM files. For example,
 
-PKFONTS = .:/usr/local/lib/fonts//:{$TEXMF/fonts:$VARTEXFONTS}//pk//
-VFFONTS = .:/usr/local/share/fonts/vf-a2bk:$TEXMF/fonts//vf//
-TFMFONTS = .:/usr/local/share/fonts/vf-a2bk:{$TEXMF/fonts:$VARTEXFONTS}//tfm//
+PKFONTS = .:/usr/local/lib/fonts/{pk118:pk240:pk300:pk360:pk400:pk600}:{$TEXMF
+/fonts:$VARTEXFONTS}//pk/{$MAKETEX_MODE:modeless}//
+VFFONTS = .:{/usr/local/share/fonts/makejvf:$TEXMF/fonts}//vf//
+TFMFONTS = .:{/usr/local/share/fonts/makejvf:$TEXMF/fonts:$VARTEXFONTS}//tfm//
 
 - Makoto WATANABE
 watanabe@zlab.phys.nagoya-u.ac.jp
diff -ruN dvipsk.orig/pkg/MESSAGE dvipsk/pkg/MESSAGE
--- dvipsk.orig/pkg/MESSAGE	Thu Jan  1 09:00:00 1970
+++ dvipsk/pkg/MESSAGE	Mon Nov 29 04:13:19 1999
@@ -0,0 +1,13 @@
+******************************************************************************
+This program requires some japanese virtual fonts. For that purpose,
+you can install `ja-makejvf-fkr-1.0' or `ja-vftool-1.2' package.
+
+Also you may have to set some variables in the path configuration file
+for kpathsea `/usr/local/share/texmf/web2c/texmf.cnf' so that the
+program can find PK fonts, Virtual fonts and TFM files. For example,
+
+PKFONTS = .:/usr/local/lib/fonts/{pk118:pk240:pk300:pk360:pk400:pk600}:{$TEXMF
+/fonts:$VARTEXFONTS}//pk/{$MAKETEX_MODE:modeless}//
+VFFONTS = .:{/usr/local/share/fonts/makejvf:$TEXMF/fonts}//vf//
+TFMFONTS = .:{/usr/local/share/fonts/makejvf:$TEXMF/fonts:$VARTEXFONTS}//tfm//
+******************************************************************************
diff -ruN dvipsk.orig/pkg/PLIST dvipsk/pkg/PLIST
--- dvipsk.orig/pkg/PLIST	Sun Oct 24 21:06:38 1999
+++ dvipsk/pkg/PLIST	Mon Nov 29 04:13:19 1999
@@ -118,4 +118,3 @@
 @dirrm share/texmf/tex/latex209/dvips
 @dirrm share/texmf/tex/latex209
 @dirrm share/doc/dvips
-@unexec if [ -f %D/share/texmf/web2c/texmf.cnf.bak ] ; then rm -f %D/share/texmf/web2c/texmf.cnf ; mv %D/share/texmf/web2c/texmf.cnf.bak %D/share/texmf/web2c/texmf.cnf ; fi



diff -ruN dvipsk-vflib.orig/Makefile dvipsk-vflib/Makefile
--- dvipsk-vflib.orig/Makefile	Sun Oct 24 21:06:38 1999
+++ dvipsk-vflib/Makefile	Mon Nov 29 04:13:19 1999
@@ -19,8 +19,7 @@
 
 MAINTAINER=	watanabe@zlab.phys.nagoya-u.ac.jp
 
-RUN_DEPENDS=	ptex-common:${PORTSDIR}/japanese/ptex-common \
-		${LOCALBASE}/share/fonts/vf-a2bk:${PORTSDIR}/japanese/vftool
+RUN_DEPENDS=	ptex-common:${PORTSDIR}/japanese/ptex-common
 LIB_DEPENDS=	VFlib2.24:${PORTSDIR}/japanese/vflib
 
 MANUAL_PACKAGE_BUILD=	incompatible with other versions of dvipsk-*
@@ -31,7 +30,6 @@
 MAKE_FLAGS=	XCFLAGS="-I${PREFIX}/include" XLOADLIBES="-L${PREFIX}/lib"
 SCRIPTS_ENV=	MV=${MV} SED=${SED}
 MAN1=		dvips.1 afm2tfm.1
-IS_INTERACTIVE=	yes
 
 TEXMF=		${PREFIX}/share/texmf
 DVIPSDIR=	${TEXMF}/dvips
@@ -88,12 +86,6 @@
 	done
 	@${LN} -fs ${DVIPSDIR}/contrib ${PREFIX}/share/doc/dvips/contrib
 .endif
-.if defined(BATCH)
-	@${SETENV} PKG_PREFIX=${PREFIX} BATCH=yes \
-	  ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
-.else
-	@${SETENV} PKG_PREFIX=${PREFIX} \
-	  ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
-.endif
+	@${CAT} ${PKGDIR}/MESSAGE
 
 .include <bsd.port.mk>
diff -ruN dvipsk-vflib.orig/pkg/DESCR dvipsk-vflib/pkg/DESCR
--- dvipsk-vflib.orig/pkg/DESCR	Mon Jul 20 00:00:00 1998
+++ dvipsk-vflib/pkg/DESCR	Mon Nov 29 04:13:19 1999
@@ -7,12 +7,13 @@
 The dvipsk program is modified version of Tom Rokicki's dvips and
 use the kpathsea library for configuration and path searching.
 You may have to set some variables in the path configuration file for
-kpathsea /usr/local/share/texmf/web2c/texmf.cnf so that the program
+kpathsea `/usr/local/share/texmf/web2c/texmf.cnf' so that the program
 can find PK fonts, Virtual fonts and TFM files. For example,
 
-PKFONTS = .:/usr/local/lib/fonts//:{$TEXMF/fonts:$VARTEXFONTS}//pk//
-VFFONTS = .:/usr/local/share/fonts/vf-a2bk:$TEXMF/fonts//vf//
-TFMFONTS = .:/usr/local/share/fonts/vf-a2bk:{$TEXMF/fonts:$VARTEXFONTS}//tfm//
+PKFONTS = .:/usr/local/lib/fonts/{pk118:pk240:pk300:pk360:pk400:pk600}:{$TEXMF
+/fonts:$VARTEXFONTS}//pk/{$MAKETEX_MODE:modeless}//
+VFFONTS = .:{/usr/local/share/fonts/makejvf:$TEXMF/fonts}//vf//
+TFMFONTS = .:{/usr/local/share/fonts/makejvf:$TEXMF/fonts:$VARTEXFONTS}//tfm//
 
 - Makoto WATANABE
 watanabe@zlab.phys.nagoya-u.ac.jp
diff -ruN dvipsk-vflib.orig/pkg/MESSAGE dvipsk-vflib/pkg/MESSAGE
--- dvipsk-vflib.orig/pkg/MESSAGE	Thu Jan  1 09:00:00 1970
+++ dvipsk-vflib/pkg/MESSAGE	Mon Nov 29 04:13:19 1999
@@ -0,0 +1,13 @@
+******************************************************************************
+This program requires some japanese virtual fonts. For that purpose,
+you can install `ja-makejvf-fkr-1.0' or `ja-vftool-1.2' package.
+
+Also you may have to set some variables in the path configuration file
+for kpathsea `/usr/local/share/texmf/web2c/texmf.cnf' so that the
+program can find PK fonts, Virtual fonts and TFM files. For example,
+
+PKFONTS = .:/usr/local/lib/fonts/{pk118:pk240:pk300:pk360:pk400:pk600}:{$TEXMF
+/fonts:$VARTEXFONTS}//pk/{$MAKETEX_MODE:modeless}//
+VFFONTS = .:{/usr/local/share/fonts/makejvf:$TEXMF/fonts}//vf//
+TFMFONTS = .:{/usr/local/share/fonts/makejvf:$TEXMF/fonts:$VARTEXFONTS}//tfm//
+******************************************************************************
diff -ruN dvipsk-vflib.orig/pkg/PLIST dvipsk-vflib/pkg/PLIST
--- dvipsk-vflib.orig/pkg/PLIST	Sun Oct 24 21:06:42 1999
+++ dvipsk-vflib/pkg/PLIST	Mon Nov 29 04:13:19 1999
@@ -120,4 +120,3 @@
 @dirrm share/texmf/tex/latex209/dvips
 @dirrm share/texmf/tex/latex209
 @dirrm share/doc/dvips
-@unexec if [ -f %D/share/texmf/web2c/texmf.cnf.bak ] ; then rm -f %D/share/texmf/web2c/texmf.cnf ; mv %D/share/texmf/web2c/texmf.cnf.bak %D/share/texmf/web2c/texmf.cnf ; fi


>Release-Note:
>Audit-Trail:
>Unformatted:


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?19991128213042.D7F1914C5A>