From 5b8acfcd659b9ec16eba75712e5ff253b19f93b3 Mon Sep 17 00:00:00 2001 From: naddy Date: Tue, 6 Aug 2002 13:34:28 +0000 Subject: Update to version 2.7. PR: 41360 Submitted by: Ports Fury --- print/detex/Makefile | 8 +-- print/detex/distinfo | 2 +- print/detex/files/patch-01 | 122 --------------------------------------------- print/detex/pkg-descr | 2 + 4 files changed, 8 insertions(+), 126 deletions(-) delete mode 100644 print/detex/files/patch-01 (limited to 'print/detex') diff --git a/print/detex/Makefile b/print/detex/Makefile index fe9d416ed199..d1609c9d8bf3 100644 --- a/print/detex/Makefile +++ b/print/detex/Makefile @@ -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 @@ MAINTAINER= ports@FreeBSD.org 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 diff --git a/print/detex/distinfo b/print/detex/distinfo index bc869305560b..0c45d598b6de 100644 --- a/print/detex/distinfo +++ b/print/detex/distinfo @@ -1 +1 @@ -MD5 (detex-2.6.tar) = 410ce52761054c6af7059cb3d9f98e5b +MD5 (detex-2.7.tar) = df837b1adb40503f40b94b8169f0e154 diff --git a/print/detex/files/patch-01 b/print/detex/files/patch-01 deleted file mode 100644 index 74180e14f29e..000000000000 --- a/print/detex/files/patch-01 +++ /dev/null @@ -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 @@ - - "\\begin"{S}"{"{S}"document"{S}"}" {fLatex = !fForcetex; IGNORE;} - --"\\begin" /* environment start */ {LaBEGIN LaBegin; IGNORE;} -+"\\begin" {/* environment start */ LaBEGIN LaBegin; IGNORE;} - - {S}"{"{S}"verbatim"{S}"}" { if (BeginEnv("verbatim")) - BEGIN LaEnv; -@@ -85,8 +85,8 @@ - IGNORE; - } - --"\\end"{S}"{"{S}"verbatim"{S}"}" /* verbatim mode */ -- {BEGIN Normal; IGNORE;} -+"\\end"{S}"{"{S}"verbatim"{S}"}" {/* verbatim mode */ -+ BEGIN Normal; IGNORE;} - . ECHO; - - {W} { if (BeginEnv(yytext)) -@@ -98,11 +98,11 @@ - "\n" NEWLINE; - . ; - --"\\end" /* absorb some environments */ {LaBEGIN LaEnd; IGNORE;} -+"\\end" {/* absorb some environments */ LaBEGIN LaEnd; IGNORE;} - "\n" NEWLINE; - . ; - --{W} /* end environment */ { if (EndEnv(yytext)) -+{W} {/* end environment */ if (EndEnv(yytext)) - BEGIN Normal; - IGNORE; - } -@@ -110,8 +110,8 @@ - "\n" NEWLINE; - . ; - --"\\bibitem" /* ignore args */ {LaBEGIN LaMacro2; IGNORE;} --"\\bibliography" /* of these \cs */ {LaBEGIN LaMacro; IGNORE;} -+"\\bibitem" {/* ignore args */ LaBEGIN LaMacro2; IGNORE;} -+"\\bibliography" {/* of these \cs */ LaBEGIN LaMacro; IGNORE;} - "\\bibstyle" {LaBEGIN LaMacro; IGNORE;} - "\\cite" {CITEBEGIN LaMacro2; IGNORE;} - "\\documentstyle" {LaBEGIN LaMacro; IGNORE;} -@@ -122,8 +122,8 @@ - "\\pagestyle" {LaBEGIN LaMacro; IGNORE;} - "\\ref" {CITEBEGIN LaMacro; IGNORE;} - "\\setcounter" {LaBEGIN LaMacro; IGNORE;} --"\\verb" /* ignore \verb... */ -- { if (fLatex) { -+"\\verb" {/* ignore \verb... */ -+ if (fLatex) { - char verbchar, c; - verbchar = input(); - while ((c = input()) != verbchar) -@@ -143,33 +143,33 @@ - "\n" NEWLINE; - . ; - --"\\def" /* ignore def begin */ {BEGIN Define; IGNORE;} -+"\\def" {/* ignore def begin */ BEGIN Define; IGNORE;} - "{" BEGIN Normal; - "\n" NEWLINE; - . ; - --"\\(" /* formula mode */ {LaBEGIN LaFormula; IGNORE;} -+"\\(" {/* formula mode */ LaBEGIN LaFormula; IGNORE;} - "\\)" BEGIN Normal; - "\n" NEWLINE; - . ; - --"\\[" /* display mode */ {LaBEGIN LaDisplay; IGNORE;} -+"\\[" {/* display mode */ LaBEGIN LaDisplay; IGNORE;} - "\\]" BEGIN Normal; - "\n" NEWLINE; - . ; - --"$$" /* display mode */ {BEGIN Display; IGNORE;} -+"$$" {/* display mode */ BEGIN Display; IGNORE;} - "$$" BEGIN Normal; - "\n" NEWLINE; - . ; - --"$" /* math mode */ {BEGIN Math; IGNORE;} -+"$" {/* math mode */ BEGIN Math; IGNORE;} - "$" BEGIN Normal; - "\n" NEWLINE; - "\\$" ; - . ; - --"\\include" /* process files */ {LaBEGIN LaInclude; IGNORE;} -+"\\include" {/* process files */ LaBEGIN LaInclude; IGNORE;} - [^{ \t\n}]+ { IncludeFile(yytext); - BEGIN Normal; - } -@@ -192,11 +192,11 @@ -