aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/l2a/files
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-03-31 17:41:53 +0800
committeredwin <edwin@FreeBSD.org>2003-03-31 17:41:53 +0800
commit7f9ca4ce2a3e71a674bb75bc272ad629a589ee5c (patch)
tree60c977a201a0cc72d7493510edc92383fd2bce36 /textproc/l2a/files
parent970c939e47c4b587303767652d6ff4bf92027382 (diff)
downloadfreebsd-ports-gnome-7f9ca4ce2a3e71a674bb75bc272ad629a589ee5c.tar.gz
freebsd-ports-gnome-7f9ca4ce2a3e71a674bb75bc272ad629a589ee5c.tar.zst
freebsd-ports-gnome-7f9ca4ce2a3e71a674bb75bc272ad629a589ee5c.zip
New Port: L2A -- LaTeX to ASCII
L2A is a simple filter to remove most LaTeX commands from marked-up documents, leaving only the body of text. PR: ports/47974 Submitted by: James E. Flemer <jflemer@alum.rpi.edu>
Diffstat (limited to 'textproc/l2a/files')
-rw-r--r--textproc/l2a/files/patch-Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/textproc/l2a/files/patch-Makefile b/textproc/l2a/files/patch-Makefile
new file mode 100644
index 000000000000..197fc733ffe6
--- /dev/null
+++ b/textproc/l2a/files/patch-Makefile
@@ -0,0 +1,33 @@
+--- Makefile.orig Wed Feb 5 14:56:06 2003
++++ Makefile Wed Feb 5 14:58:18 2003
+@@ -18,7 +18,7 @@
+ #CC = cl
+
+ # K&R cc
+-CC = cc
++#CC = cc
+
+ #---( Operating system )---
+
+@@ -40,8 +40,8 @@
+ #---( Files, directories, etc.)---
+
+ SRC = l2a.tex Makefile l2a.l l2a.1 yywrap.c file_id.diz manifest.txt
+-BINDIR = /local/bin
+-MANDIR = /local/man
++BINDIR = ${PREFIX}/bin
++MANDIR = ${PREFIX}/man
+
+ # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ # END OF CUSTOMIZATION SECTION
+@@ -61,8 +61,8 @@
+ #---( housekeeping )----------------------------------------------------------
+
+ install:
+- cp $(EXE) $(BINDIR)/$(EXE)
+- cp l2a.1 $(MANDIR)/man1/l2a.1
++ ${INSTALL_PROGRAM} $(EXE) $(BINDIR)/$(EXE)
++ ${INSTALL_MAN} l2a.1 $(MANDIR)/man1/l2a.1
+
+ tidy:
+ rm -f $(OBJ) $(EXE) l2a.zip l2a.txt lex.yy.c l2a.aux l2a.log fn.tmp