mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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>
This commit is contained in:
parent
c8c912546a
commit
f61906df7d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77827
6 changed files with 64 additions and 0 deletions
|
@ -120,6 +120,7 @@
|
|||
SUBDIR += jrefentry
|
||||
SUBDIR += kbedic
|
||||
SUBDIR += kdiff3
|
||||
SUBDIR += l2a
|
||||
SUBDIR += lacheck
|
||||
SUBDIR += latex2html
|
||||
SUBDIR += latte
|
||||
|
|
24
textproc/l2a/Makefile
Normal file
24
textproc/l2a/Makefile
Normal file
|
@ -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>
|
1
textproc/l2a/distinfo
Normal file
1
textproc/l2a/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (l2a.zip) = 0cc0e63c8fc245fc1f48dd21b991bec1
|
33
textproc/l2a/files/patch-Makefile
Normal file
33
textproc/l2a/files/patch-Makefile
Normal file
|
@ -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
|
4
textproc/l2a/pkg-descr
Normal file
4
textproc/l2a/pkg-descr
Normal file
|
@ -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
|
1
textproc/l2a/pkg-plist
Normal file
1
textproc/l2a/pkg-plist
Normal file
|
@ -0,0 +1 @@
|
|||
bin/l2a
|
Loading…
Add table
Reference in a new issue