Date: Mon, 5 Aug 2002 15:44:50 -0700 (PDT) From: KATO Tsuguru <tkato@prontomail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/41360: Update port: print/detex to 2.7 Message-ID: <200208052244.g75Mio99025470@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 41360 >Category: ports >Synopsis: Update port: print/detex to 2.7 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Aug 05 15:50:15 PDT 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.6-RELEASE i386 >Organization: >Environment: >Description: - Update to version 2.7 Remove file: files/patch-01 >How-To-Repeat: >Fix: diff -urN /usr/ports/print/detex/Makefile print/detex/Makefile --- /usr/ports/print/detex/Makefile Thu May 9 06:45:56 2002 +++ print/detex/Makefile Sat Aug 3 02:22:27 2002 @@ -7,9 +7,9 @@ # PORTNAME= detex -PORTVERSION= 2.6 +PORTVERSION= 2.7 CATEGORIES= print -MASTER_SITES= ftp://ftp.cs.purdue.edu/pub/trinkle/ +MASTER_SITES= http://www.cs.purdue.edu/homes/trinkle/detex/ EXTRACT_SUFX= .tar MAINTAINER= ports@FreeBSD.org @@ -17,12 +17,14 @@ EXTRACT_CMD= ${TAR} EXTRACT_BEFORE_ARGS= -xf EXTRACT_AFTER_ARGS= #empty + NO_WRKSUBDIR= yes +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" MAN1= detex.1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/detex ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${MAN1}l ${PREFIX}/man/man1/${MAN1} + ${INSTALL_MAN} ${WRKSRC}/${MAN1}l ${MANPREFIX}/man/man1/${MAN1} .include <bsd.port.mk> diff -urN /usr/ports/print/detex/distinfo print/detex/distinfo --- /usr/ports/print/detex/distinfo Tue Mar 25 19:53:10 1997 +++ print/detex/distinfo Sat Aug 3 02:17:44 2002 @@ -1 +1 @@ -MD5 (detex-2.6.tar) = 410ce52761054c6af7059cb3d9f98e5b +MD5 (detex-2.7.tar) = df837b1adb40503f40b94b8169f0e154 diff -urN /usr/ports/print/detex/files/patch-01 print/detex/files/patch-01 --- /usr/ports/print/detex/files/patch-01 Tue Mar 25 19:53:11 1997 +++ print/detex/files/patch-01 Thu Jan 1 09:00:00 1970 @@ -1,122 +0,0 @@ ---- detex.l.orig Thu Aug 12 08:54:46 1993 -+++ detex.l Mon Feb 17 23:01:15 1997 -@@ -76,7 +76,7 @@ - - <Normal>"\\begin"{S}"{"{S}"document"{S}"}" {fLatex = !fForcetex; IGNORE;} - --<Normal>"\\begin" /* environment start */ {LaBEGIN LaBegin; IGNORE;} -+<Normal>"\\begin" {/* environment start */ LaBEGIN LaBegin; IGNORE;} - - <LaBegin>{S}"{"{S}"verbatim"{S}"}" { if (BeginEnv("verbatim")) - BEGIN LaEnv; -@@ -85,8 +85,8 @@ - IGNORE; - } - --<LaVerbatim>"\\end"{S}"{"{S}"verbatim"{S}"}" /* verbatim mode */ -- {BEGIN Normal; IGNORE;} -+<LaVerbatim>"\\end"{S}"{"{S}"verbatim"{S}"}" {/* verbatim mode */ -+ BEGIN Normal; IGNORE;} - <LaVerbatim>. ECHO; - - <LaBegin>{W} { if (BeginEnv(yytext)) -@@ -98,11 +98,11 @@ - <LaBegin>"\n" NEWLINE; - <LaBegin>. ; - --<LaEnv>"\\end" /* absorb some environments */ {LaBEGIN LaEnd; IGNORE;} -+<LaEnv>"\\end" {/* absorb some environments */ LaBEGIN LaEnd; IGNORE;} - <LaEnv>"\n" NEWLINE; - <LaEnv>. ; - --<LaEnd>{W} /* end environment */ { if (EndEnv(yytext)) -+<LaEnd>{W} {/* end environment */ if (EndEnv(yytext)) - BEGIN Normal; - IGNORE; - } -@@ -110,8 +110,8 @@ - <LaEnd>"\n" NEWLINE; - <LaEnd>. ; - --<Normal>"\\bibitem" /* ignore args */ {LaBEGIN LaMacro2; IGNORE;} --<Normal>"\\bibliography" /* of these \cs */ {LaBEGIN LaMacro; IGNORE;} -+<Normal>"\\bibitem" {/* ignore args */ LaBEGIN LaMacro2; IGNORE;} -+<Normal>"\\bibliography" {/* of these \cs */ LaBEGIN LaMacro; IGNORE;} - <Normal>"\\bibstyle" {LaBEGIN LaMacro; IGNORE;} - <Normal>"\\cite" {CITEBEGIN LaMacro2; IGNORE;} - <Normal>"\\documentstyle" {LaBEGIN LaMacro; IGNORE;} -@@ -122,8 +122,8 @@ - <Normal>"\\pagestyle" {LaBEGIN LaMacro; IGNORE;} - <Normal>"\\ref" {CITEBEGIN LaMacro; IGNORE;} - <Normal>"\\setcounter" {LaBEGIN LaMacro; IGNORE;} --<Normal>"\\verb" /* ignore \verb<char>...<char> */ -- { if (fLatex) { -+<Normal>"\\verb" {/* ignore \verb<char>...<char> */ -+ if (fLatex) { - char verbchar, c; - verbchar = input(); - while ((c = input()) != verbchar) -@@ -143,33 +143,33 @@ - <LaMacro2>"\n" NEWLINE; - <LaMacro2>. ; - --<Normal>"\\def" /* ignore def begin */ {BEGIN Define; IGNORE;} -+<Normal>"\\def" {/* ignore def begin */ BEGIN Define; IGNORE;} - <Define>"{" BEGIN Normal; - <Define>"\n" NEWLINE; - <Define>. ; - --<Normal>"\\(" /* formula mode */ {LaBEGIN LaFormula; IGNORE;} -+<Normal>"\\(" {/* formula mode */ LaBEGIN LaFormula; IGNORE;} - <LaFormula>"\\)" BEGIN Normal; - <LaFormula>"\n" NEWLINE; - <LaFormula>. ; - --<Normal>"\\[" /* display mode */ {LaBEGIN LaDisplay; IGNORE;} -+<Normal>"\\[" {/* display mode */ LaBEGIN LaDisplay; IGNORE;} - <LaDisplay>"\\]" BEGIN Normal; - <LaDisplay>"\n" NEWLINE; - <LaDisplay>. ; - --<Normal>"$$" /* display mode */ {BEGIN Display; IGNORE;} -+<Normal>"$$" {/* display mode */ BEGIN Display; IGNORE;} - <Display>"$$" BEGIN Normal; - <Display>"\n" NEWLINE; - <Display>. ; - --<Normal>"$" /* math mode */ {BEGIN Math; IGNORE;} -+<Normal>"$" {/* math mode */ BEGIN Math; IGNORE;} - <Math>"$" BEGIN Normal; - <Math>"\n" NEWLINE; - <Math>"\\$" ; - <Math>. ; - --<Normal>"\\include" /* process files */ {LaBEGIN LaInclude; IGNORE;} -+<Normal>"\\include" {/* process files */ LaBEGIN LaInclude; IGNORE;} - <LaInclude>[^{ \t\n}]+ { IncludeFile(yytext); - BEGIN Normal; - } -@@ -192,11 +192,11 @@ - <Input>"\n" NEWLINE; - <Input>. ; - --<Normal>\\(aa|AA|ae|AE|oe|OE|ss)[ \t]*[ \t\n}] /* handle ligatures */ -- {(void)printf("%.2s", yytext+1);} -+<Normal>\\(aa|AA|ae|AE|oe|OE|ss)[ \t]*[ \t\n}] {/* handle ligatures */ -+ (void)printf("%.2s", yytext+1);} - <Normal>\\[OoijLl][ \t]*[ \t\n}] {(void)printf("%.1s", yytext+1);} - --<Normal>\\[a-zA-Z@]+ /* ignore other \cs */ {BEGIN Control; IGNORE;} -+<Normal>\\[a-zA-Z@]+ {/* ignore other \cs */ BEGIN Control; IGNORE;} - <Normal>"\\ " SPACE; - <Normal>\\. IGNORE; - <Control>\\[a-zA-Z@]+ IGNORE; -@@ -205,7 +205,7 @@ - <Control>[ \t]*[{]* {BEGIN Normal; IGNORE;} - <Control>. {yyless(0);BEGIN Normal;} - --<Normal>[{}\\|] /* special characters */ IGNORE; -+<Normal>[{}\\|] {/* special characters */ IGNORE;} - <Normal>[!?]"`" IGNORE; - <Normal>~ SPACE; - diff -urN /usr/ports/print/detex/pkg-descr print/detex/pkg-descr --- /usr/ports/print/detex/pkg-descr Tue Mar 25 19:53:09 1997 +++ print/detex/pkg-descr Sat Aug 3 02:17:16 2002 @@ -1,3 +1,5 @@ detex takes as input a TeX source file and strips the TeX commands. The result is output to stdout. This is useful if you need a pure ASCII version of a TeX/LaTeX file. + +WWW: http://www.cs.purdue.edu/homes/trinkle/detex/ >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?200208052244.g75Mio99025470>