aboutsummaryrefslogtreecommitdiff
path: root/textproc/l2a
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-03-31 09:41:53 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-03-31 09:41:53 +0000
commitf61906df7d9a3f4b51e5a7a09eff3addc83069ce (patch)
treed8e4038b599d38ae234ca9710887ff68a85ae244 /textproc/l2a
parentc8c912546a8bde730bbf2bf1709c2f0b423e9222 (diff)
downloadports-f61906df7d9a3f4b51e5a7a09eff3addc83069ce.tar.gz
ports-f61906df7d9a3f4b51e5a7a09eff3addc83069ce.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>
Notes
Notes: svn path=/head/; revision=77827
Diffstat (limited to 'textproc/l2a')
-rw-r--r--textproc/l2a/Makefile24
-rw-r--r--textproc/l2a/distinfo1
-rw-r--r--textproc/l2a/files/patch-Makefile33
-rw-r--r--textproc/l2a/pkg-descr4
-rw-r--r--textproc/l2a/pkg-plist1
5 files changed, 63 insertions, 0 deletions
diff --git a/textproc/l2a/Makefile b/textproc/l2a/Makefile
new file mode 100644
index 000000000000..aed1eccf2ffc
--- /dev/null
+++ b/textproc/l2a/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: l2a
+# Date created: 05 February 2003
+# Whom: James Flemer <jflemer@alum.rpi.edu>
+#
+# $FreeBSD$
+#
+
+PORTNAME= l2a
+PORTVERSION= 1.2
+CATEGORIES= textproc
+MASTER_SITES= http://heim.ifi.uio.no/~gisle/enjoy/
+DISTNAME= l2a
+
+MAINTAINER= jflemer@alum.rpi.edu
+COMMENT= L2a - LaTeX to ASCII converter
+
+USE_ZIP= yes
+
+WRKSRC= ${WRKDIR}
+MAKE_ENV= PREFIX="${PREFIX}" INSTALL_PROGRAM="${INSTALL_PROGRAM}" INSTALL_MAN="${INSTALL_MAN}"
+
+MAN1= l2a.1
+
+.include <bsd.port.mk>
diff --git a/textproc/l2a/distinfo b/textproc/l2a/distinfo
new file mode 100644
index 000000000000..828c5dfa1435
--- /dev/null
+++ b/textproc/l2a/distinfo
@@ -0,0 +1 @@
+MD5 (l2a.zip) = 0cc0e63c8fc245fc1f48dd21b991bec1
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
diff --git a/textproc/l2a/pkg-descr b/textproc/l2a/pkg-descr
new file mode 100644
index 000000000000..998c67fe1de0
--- /dev/null
+++ b/textproc/l2a/pkg-descr
@@ -0,0 +1,4 @@
+L2A is a simple filter to remove most LaTeX commands from marked-up
+documents, leaving only the body of text.
+
+WWW: http://folk.uio.no/gisle/enjoy/l2a.html
diff --git a/textproc/l2a/pkg-plist b/textproc/l2a/pkg-plist
new file mode 100644
index 000000000000..2622b7df5c9f
--- /dev/null
+++ b/textproc/l2a/pkg-plist
@@ -0,0 +1 @@
+bin/l2a