Index: head/japanese/dvipsk/Makefile =================================================================== --- head/japanese/dvipsk/Makefile (revision 116706) +++ head/japanese/dvipsk/Makefile (revision 116707) @@ -1,88 +1,116 @@ # New ports collection makefile for: dvipsk + jpatch # Date created: 25 Aug 1997 # Whom: Makoto WATANABE # # $FreeBSD$ # PORTNAME= dvipsk -PORTVERSION= 5.92b -PORTREVISION= 1 +PORTVERSION= 5.94a +PORTREVISION= 0 CATEGORIES= japanese print MASTER_SITES= ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/2.0/distrib/ \ ${MASTER_SITE_TEX_CTAN} \ - ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/dvips/:1 + ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/dvips/:jpatch \ + ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,text/TeX/ptex-win32/utils,:S,$,:udvipspatch,} MASTER_SITE_SUBDIR= systems/unix/teTeX/2.0/distrib/ PKGNAMEPREFIX= ja- PKGNAMESUFFIX= -tetex DISTFILES= tetex-src-${VER_TETEX}${EXTRACT_SUFX} \ - dvipsk-jpatch-p${VER_JPATCH}${EXTRACT_SUFX}:1 + dvipsk-jpatch-p${VER_JPATCH}${EXTRACT_SUFX}:jpatch \ + udvips-5.94a-p1.6.patch:udvipspatch DIST_SUBDIR= teTeX +EXTRACT_ONLY= tetex-src-${VER_TETEX}${EXTRACT_SUFX} \ + dvipsk-jpatch-p${VER_JPATCH}${EXTRACT_SUFX} MAINTAINER= hrs@FreeBSD.org COMMENT= A DVI to PostScript translator + Japanese patch BUILD_DEPENDS= tetex-modesw:${PORTSDIR}/print/tex-texmflocal \ ${LOCALBASE}/${TEXMF}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \ mktexlsr:${PORTSDIR}/print/teTeX-base \ ${LOCALBASE}/${TEXMF}/fonts/tfm/ptex/min10.tfm:${PORTSDIR}/japanese/ptex-tetex RUN_DEPENDS= tetex-modesw:${PORTSDIR}/print/tex-texmflocal \ ${LOCALBASE}/${TEXMF}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \ mktexlsr:${PORTSDIR}/print/teTeX-base \ ${LOCALBASE}/${TEXMF}/fonts/tfm/ptex/min10.tfm:${PORTSDIR}/japanese/ptex-tetex LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ wwwcore.1:${PORTSDIR}/www/libwww \ t1.5:${PORTSDIR}/devel/t1lib PATCH_WRKSRC= ${WRKDIR}/tetex-src-${VER_TETEX}/texk -EXTRA_PATCHES= ${WRKDIR}/dvipsk-${PORTVERSION}-p${VER_JPATCH}.patch +EXTRA_PATCHES= ${WRKDIR}/dvipsk-5.92b-p${VER_JPATCH}.patch \ + ${DISTDIR}/${DIST_SUBDIR}/udvips-5.94a-p1.6.patch CONFIGURE_WRKSRC=${WRKDIR}/tetex-src-${VER_TETEX} BUILD_WRKSRC= ${WRKDIR}/tetex-src-${VER_TETEX}/texk/dvipsk INSTALL_WRKSRC= ${WRKDIR}/tetex-src-${VER_TETEX}/texk/dvipsk PLIST_SUB= TEXMF=${TEXMF} MKTEXLSR=${MKTEXLSR} GNU_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} \ --disable-multiplatform \ --without-texinfo --without-dialog \ --with-system-ncurses --with-system-zlib \ --with-system-wwwlib --with-libwww-libdir=${LIBWWW_PREFIX}/lib \ --with-libwww-include=${LIBWWW_PREFIX}/include/w3c-libwww \ --with-system-pnglib --with-pnglib-libdir=${LIBPNG_PREFIX}/lib \ --with-pnglib-include=${LIBPNG_PREFIX}/include \ --with-system-t1lib --with-t1lib-libdir=${LIBT1_PREFIX}/lib \ --with-t1lib-include=${LIBT1_PREFIX}/include PKGINSTALL= ${WRKDIR}/pkg-install.sh PKGDEINSTALL= ${WRKDIR}/pkg-install.sh CONFLICTS= ja-ptex-base* dvips* ja-dvipsk-vflib-* MAN1= dvips.1 afm2tfm.1 INFO= dvips VER_TETEX= 2.0.2 VER_JPATCH= 1.6 MKTEXLSR?= ${LOCALBASE}/bin/mktexlsr TEXMF?= share/texmf LIBPNG_PREFIX?= ${LOCALBASE} LIBWWW_PREFIX?= ${LOCALBASE} LIBT1_PREFIX?= ${LOCALBASE} TETEX_MODESW= ${PREFIX}/bin/tetex-modesw PKGINSTALL_SUB= TETEX_MODESW=${TETEX_MODESW} \ MKTEXLSR=${MKTEXLSR} post-configure: ${SED} ${PKGINSTALL_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ < ${FILESDIR}/pkg-install.in > ${PKGINSTALL} ${CHMOD} 0755 ${PKGINSTALL} + cd ${PATCH_WRKSRC} && ${RM} -rf udvipsk && ${CP} -pr dvipsk udvipsk + +do-build: +.for D in dvipsk odvipsk + cd ${WRKDIR}/tetex-src-${VER_TETEX}/texk/${D} &&\ + ${SETENV} ${MAKE_ENV} ${GMAKE} \ + ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET} +.endfor + cd ${WRKDIR}/tetex-src-${VER_TETEX}/texk/udvipsk &&\ + ${SETENV} ${MAKE_ENV} ${GMAKE} \ + ${MAKE_FLAGS} ${MAKEFILE} \ + program=udvips XDEFS=-DUDVIPS \ + ${ALL_TARGET} + +do-install: +.for D in dvipsk odvipsk + cd ${WRKDIR}/tetex-src-${VER_TETEX}/texk/${D} &&\ + ${SETENV} ${MAKE_ENV} ${GMAKE} \ + ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET} +.endfor + ${INSTALL_PROGRAM} \ + ${PATCH_WRKSRC}/udvipsk/udvips \ + ${PREFIX}/bin post-install: ${INSTALL_DATA} \ ${FILESDIR}/ptex-kanji.map \ ${PREFIX}/${TEXMF}/dvips/ptex/ptex-kanji.map ${INSTALL_DATA} \ ${FILESDIR}/config.ps.ptex-tetex \ ${PREFIX}/${TEXMF}/dvips/config/config.ps.ptex-tetex @${PKGINSTALL} ${PKGNAME} POST-INSTALL .include Property changes on: head/japanese/dvipsk/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.22 \ No newline at end of property +1.23 \ No newline at end of property Index: head/japanese/dvipsk/distinfo =================================================================== --- head/japanese/dvipsk/distinfo (revision 116706) +++ head/japanese/dvipsk/distinfo (revision 116707) @@ -1,4 +1,6 @@ MD5 (teTeX/tetex-src-2.0.2.tar.gz) = a16f6bba227d55e79aeee46fbbd82d28 SIZE (teTeX/tetex-src-2.0.2.tar.gz) = 11745933 MD5 (teTeX/dvipsk-jpatch-p1.6.tar.gz) = a072a2196015caa15834522728a91a78 SIZE (teTeX/dvipsk-jpatch-p1.6.tar.gz) = 28637 +MD5 (teTeX/udvips-5.94a-p1.6.patch) = a41fd7b5532d72a133d8da4ff39eb45b +SIZE (teTeX/udvips-5.94a-p1.6.patch) = 15975 Property changes on: head/japanese/dvipsk/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.6 \ No newline at end of property +1.7 \ No newline at end of property Index: head/japanese/dvipsk/files/patch-texk::kpathsea::Makefile.in =================================================================== --- head/japanese/dvipsk/files/patch-texk::kpathsea::Makefile.in (nonexistent) +++ head/japanese/dvipsk/files/patch-texk::kpathsea::Makefile.in (revision 116707) @@ -0,0 +1,11 @@ +--- kpathsea/Makefile.in.orig Sun Feb 16 02:21:42 2003 ++++ kpathsea/Makefile.in Fri Jun 11 20:45:58 2004 +@@ -126,7 +126,7 @@ + | sed 's/^\([^ =]*\)[ ]*=*[ ]*\(.*\)/#ifndef DEFAULT_\1%#define DEFAULT_\1 "\2"%#endif/' \ + | tr '%' '\012' \ + | sed -e 's%\$$TEXMFMAIN%$(texmf)%g' \ +- -e 's%\$$TEXMF%$(texmf)%g' \ ++ -e 's%\$$TEXMF\([,}/]\)%$(texmf)\1%g' \ + -e 's%\$$VARTEXFONTS%$(vartexfonts)%g' \ + -e 's%\$$web2cdir%$(web2cdir)%g' \ + -e 's%\$$prefix%$(prefix)%g' \ Property changes on: head/japanese/dvipsk/files/patch-texk::kpathsea::Makefile.in ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/japanese/dvipsk/files/patch-texk::kpathsea::texmf.in =================================================================== --- head/japanese/dvipsk/files/patch-texk::kpathsea::texmf.in (nonexistent) +++ head/japanese/dvipsk/files/patch-texk::kpathsea::texmf.in (revision 116707) @@ -0,0 +1,77 @@ +--- kpathsea/texmf.in.orig Sat Feb 22 05:55:05 2003 ++++ kpathsea/texmf.in Sat Jun 12 12:34:24 2004 +@@ -1,4 +1,4 @@ +-% original texmf.cnf -- runtime path configuration file for kpathsea. ++% ptex-tetex texmf.cnf -- runtime path configuration file for kpathsea. + % (If you change or delete `original' on the previous line, the + % distribution won't install its version over yours.) + % Public domain. +@@ -62,7 +62,7 @@ + + % If defined, teTeX's texconfig stores modifications here (instead of the + % TEXMFMAIN tree). +-% VARTEXMF = @texmf@-var ++VARTEXMF = @texmf@-var + + % User texmf trees can be catered for like this... + HOMETEXMF = $HOME/texmf +@@ -74,7 +74,7 @@ + % - list $VARTEXMF in the TEXMF definition; + % - make sure that $VARTEXMF precedes $TEXMFMAIN in the TEXMF definition. + % TEXMF = $TEXMFMAIN +-TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN} ++TEXMF = {$HOMETEXMF,!!$VARTEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN} + + % The system trees. These are the trees that are shared by all the users. + SYSTEXMF = $TEXMF +@@ -144,6 +144,13 @@ + TEXINPUTS.latex = .;$TEXMF/tex/{latex,generic,}// + TEXINPUTS.latex209 = .;$TEXMF/tex/{latex209,generic,latex,}// + ++% TeXfamily ++TEXINPUTS.jtex = .:$TEXMF/{jtex,tex}/{plain,generic,}// ++TEXINPUTS.jlatex = .:$TEXMF/{jtex,tex}/{latex,generic,}// ++TEXINPUTS.jlatex209 = .:$TEXMF/{jtex,tex}/{latex209,generic,latex,}// ++TEXINPUTS.multex = .:$TEXMF/{multex,jtex,tex}/{plain,generic,}// ++TEXINPUTS.mullatex = .:$TEXMF/{multex,jtex,tex}/{latex,generic,}// ++ + % Fontinst needs to read afm files. + TEXINPUTS.fontinst = .;$TEXMF/tex//;$TEXMF/fonts/afm// + +@@ -201,12 +208,12 @@ + % and string pools (.pool) for ini{tex,mf,mp}. It is silly that we have six + % paths and directories here (they all resolve to a single place by default), + % but historically ... +-TEXFORMATS = .;$TEXMF/web2c +-MFBASES = .;$TEXMF/web2c +-MPMEMS = .;$TEXMF/web2c +-TEXPOOL = .;$TEXMF/web2c +-MFPOOL = .;$TEXMF/web2c +-MPPOOL = .;$TEXMF/web2c ++TEXFORMATS = .;$TEXMF/web2c-ptex;$TEXMF/web2c ++MFBASES = .;$TEXMF/web2c-ptex;$TEXMF/web2c ++MPMEMS = .;$TEXMF/web2c-ptex;$TEXMF/web2c ++TEXPOOL = .;$TEXMF/web2c-ptex;$TEXMF/web2c ++MFPOOL = .;$TEXMF/web2c-ptex;$TEXMF/web2c ++MPPOOL = .;$TEXMF/web2c-ptex;$TEXMF/web2c + + % Device-independent font metric files. + VFFONTS = .;$TEXMF/fonts/vf// +@@ -318,7 +325,7 @@ + % + % For security reasons, it is better not to have . part of the path. + % +-TEXMFCNF = {$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,}/web2c};$TETEXDIR;$TEXMF/web2c;@web2c@ ++TEXMFCNF = {$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,}/{web2c-ptex,web2c}};$TETEXDIR;@web2c@;$TEXMF/web2c + + + +@@ -483,3 +490,8 @@ + error_line = 79 + half_error_line = 50 + max_print_line = 79 ++ ++% default file code of JTeX and MuLTeX ++% These override the code specified by TeX command in dumping (making format). ++jtex_filetype = euc ++%ml_input_code = junet Property changes on: head/japanese/dvipsk/files/patch-texk::kpathsea::texmf.in ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/japanese/dvipsk/files/patch-texk::make::paths.mk =================================================================== --- head/japanese/dvipsk/files/patch-texk::make::paths.mk (nonexistent) +++ head/japanese/dvipsk/files/patch-texk::make::paths.mk (revision 116707) @@ -0,0 +1,11 @@ +--- make/paths.mk.orig Sat Jun 12 12:13:14 2004 ++++ make/paths.mk Sat Jun 12 12:13:04 2004 +@@ -61,7 +61,7 @@ + dvilj_latex2e_macrodir = $(texinputdir)/latex/dvilj + + # mktex.cnf, texmf.cnf, etc. +-web2cdir = $(texmf)/web2c ++web2cdir = $(texmf)/web2c-ptex + + # The top-level font directory. + fontdir = $(texmf)/fonts Property changes on: head/japanese/dvipsk/files/patch-texk::make::paths.mk ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/japanese/dvipsk/pkg-descr =================================================================== --- head/japanese/dvipsk/pkg-descr (revision 116706) +++ head/japanese/dvipsk/pkg-descr (revision 116707) @@ -1,17 +1,5 @@ Dvipsk converts a DVI file produced by TeX (or other program) to a PostScript file. Missing fonts can be automatically generated if METAFONT exists on the system, or can be converted from `gf' to `pk' format on demand. Dvips also supports `tpic', `psfig', `emtex', and `METAPOST'. - -Configuration file is /usr/local/share/texmf/dvips/base/config.ps -In this configuration, it is possible to do convert them to -PDF file through ghostscript, then read by Adobe Acrobat to perform -`cut and paste' of English fonts. If you don't like this behavior -(i.e. You want to embed bitmap information of english fonts; cut and - paste becomes impossible), delete or comment following two lines: -p +psfonts.cmz -p +psfonts.amz - -- Makoto WATANABE -watanabe@zlab.phys.nagoya-u.ac.jp Property changes on: head/japanese/dvipsk/pkg-descr ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/japanese/dvipsk/pkg-plist =================================================================== --- head/japanese/dvipsk/pkg-plist (revision 116706) +++ head/japanese/dvipsk/pkg-plist (revision 116707) @@ -1,13 +1,15 @@ @comment $FreeBSD$ bin/afm2tfm bin/dvips +bin/odvips +bin/udvips %%TEXMF%%/dvips/base/tex.pro %%TEXMF%%/dvips/base/texps.pro %%TEXMF%%/dvips/base/texc.pro %%TEXMF%%/dvips/base/special.pro %%TEXMF%%/dvips/base/finclude.pro %%TEXMF%%/dvips/base/color.pro %%TEXMF%%/dvips/base/crop.pro %%TEXMF%%/dvips/base/hps.pro %%TEXMF%%/dvips/ptex/ptex-kanji.map %%TEXMF%%/dvips/config/config.ps.ptex-tetex Property changes on: head/japanese/dvipsk/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property