ports/81944: Request to modify print/tgif2tex/Makefile to accommodate modern latex commands
Koji Yokota
yokota at res.otaru-uc.ac.jp
Mon Jun 6 10:20:02 UTC 2005
>Number: 81944
>Category: ports
>Synopsis: Request to modify print/tgif2tex/Makefile to accommodate modern latex commands
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 06 10:20:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Koji Yokota
>Release: FreeBSD 5.4-RELEASE
>Organization:
Otaru University of Commerce
>Environment:
FreeBSD hoge.otaru-uc.ac.jp 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #2: Wed May 18 17:24:27 JST 2005 hoge at hoge.otaru-uc.ac.jp:/usr/obj/usr/src/sys/HOGE i386
>Description:
tgif2tex is a little bit old in the sense that it uses \\mc instead of \\mcfamily and \\gt instead of \\gtfamily to specify two major Japanese fonts.
Also, the paths used in the program are not appropriate for a standard FreeBSD machine.
>How-To-Repeat:
>Fix:
--- Makefile.orig Wed May 5 19:41:40 2004
+++ Makefile Mon Jun 6 18:46:28 2005
@@ -7,6 +7,7 @@
PORTNAME= tgif2tex
PORTVERSION= 2.13
+PORTREVISION= 1
CATEGORIES+= print
MASTER_SITES= http://www.fse.hiroshima-u.ac.jp/~nakano/tgif2tex/
@@ -29,9 +30,17 @@
do-build:
@cd ${WRKSRC}; ${MV} tgif2tex tgif2tex.org; \
- ${SED} -e 's,/usr/local/X11R6/bin/tgif,${X11BASE}/bin/tgif,' \
- -e 's;^#! */usr/bin/perl *;#!${PERL5};' \
- -e 's,/usr/local,${PREFIX},' \
+ ${SED} -e "s,/usr/local/X11R6/bin/tgif,${X11BASE}/bin/tgif," \
+ -e "s;^#! */usr/bin/perl *;#!${PERL5};" \
+ -e "s,/usr/local,${PREFIX}," \
+ -e "s,/usr/bin/platex,`which platex`," \
+ -e "s,/usr/bin/pdvips,`which dvips`," \
+ -e "s,/usr/bin/gs,`which gs`," \
+ -e "s,/usr/bin/pnmcrop,`which pnmcrop`," \
+ -e "s,/usr/bin/pnmmargin,`which pnmmargin`," \
+ -e "s,/usr/bin/convert,`which convert`," \
+ -e "s,\$ryumin=\'\\\\\\\\mc\',$ryumin=\'\\\\\\\\mcfamily," \
+ -e "s,\$gothic=\'\\\\\\\\gt\',$gothic=\'\\\\\\\\gtfamily," \
tgif2tex.org > tgif2tex
do-install:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list