diff options
author | edwin <edwin@FreeBSD.org> | 2003-03-31 17:41:53 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-03-31 17:41:53 +0800 |
commit | 7f9ca4ce2a3e71a674bb75bc272ad629a589ee5c (patch) | |
tree | 60c977a201a0cc72d7493510edc92383fd2bce36 /textproc | |
parent | 970c939e47c4b587303767652d6ff4bf92027382 (diff) | |
download | freebsd-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')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/l2a/Makefile | 24 | ||||
-rw-r--r-- | textproc/l2a/distinfo | 1 | ||||
-rw-r--r-- | textproc/l2a/files/patch-Makefile | 33 | ||||
-rw-r--r-- | textproc/l2a/pkg-descr | 4 | ||||
-rw-r--r-- | textproc/l2a/pkg-plist | 1 |
6 files changed, 64 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 36412fb792e4..08e5840a5254 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -120,6 +120,7 @@ SUBDIR += jrefentry SUBDIR += kbedic SUBDIR += kdiff3 + SUBDIR += l2a SUBDIR += lacheck SUBDIR += latex2html SUBDIR += latte 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 |