Skip site navigation (1)Skip section navigation (2)
Date:      15 Feb 2006 17:11:25 -0000
From:      nivit@email.it (Nicola Vitale)
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/93397: [NEW PORT] print/easylatex: Perl script which transforms "pseudo-LaTeX" into proper LaTeX
Message-ID:  <20060215171125.17993.qmail@stellina>
Resent-Message-ID: <200602151720.k1FHK4jP045799@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93397
>Category:       ports
>Synopsis:       [NEW PORT] print/easylatex: Perl script which transforms "pseudo-LaTeX" into proper LaTeX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 15 17:20:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Nicola Vitale
>Release:        FreeBSD 5.4-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD stellina.domo.sva 5.4-RELEASE-p10 FreeBSD 5.4-RELEASE-p10 #7: Wed Jan 25 21:43:38 CET 2006
>Description:
EasyLatex is a preprocessor which takes an input file in "pseudo-latex",
and transforms it into proper LaTeX syntax. 

Author:	Bayle Shanks <bshanks@ucsd.edu>
WWW:	http://easylatex.sourceforge.net/

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- easylatex-0.62.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	easylatex
#	easylatex/pkg-descr
#	easylatex/Makefile
#	easylatex/pkg-plist
#	easylatex/distinfo
#	easylatex/files
#	easylatex/files/patch-easylatex.pl
#
echo c - easylatex
mkdir -p easylatex > /dev/null 2>&1
echo x - easylatex/pkg-descr
sed 's/^X//' >easylatex/pkg-descr << 'END-of-easylatex/pkg-descr'
XEasyLatex is a preprocessor which takes an input file in "pseudo-latex",
Xand transforms it into proper LaTeX syntax. 
X
XAuthor:	Bayle Shanks <bshanks@ucsd.edu>
XWWW:	http://easylatex.sourceforge.net/
END-of-easylatex/pkg-descr
echo x - easylatex/Makefile
sed 's/^X//' >easylatex/Makefile << 'END-of-easylatex/Makefile'
X# New ports collection makefile for:	easylatex
X# Date created:		2006-02-15
X# Whom:			Nicola Vitale	<nivit@email.it>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	easylatex
XPORTVERSION=	0.62
XCATEGORIES=	print textproc
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	${PORTNAME}-${PORTVERSION:S/./.0/}
X
XMAINTAINER=	nivit@email.it
XCOMMENT=	Perl script which transforms "pseudo-LaTeX" into proper LaTeX
X
XRUN_DEPENDS=	dot:${PORTSDIR}/graphics/graphviz
XPERL_RUN_DEPENDS=	Getopt-Declare:${PORTSDIR}/devel/p5-Getopt-Declare
X
XNO_BUILD=	yes
XUSE_PERL5=	yes
X
XFIND_DIRS=	.
XDOCS=	TUTORIAL demo.txt demo-no-graph.txt
X
Xpost-patch:
X	@${REINPLACE_CMD} -e \
X	"s#%%DATADIR%%#${DATADIR}#g" \
X	${WRKSRC}/${PORTNAME}.pl
X
Xdo-install:
X# script/data
X	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
X	cd ${WRKSRC}/${PORTNAME} && ${FIND} ${FIND_DIRS} -type d -exec ${MKDIR} ${DATADIR}/{} \;
X	cd ${WRKSRC}/${PORTNAME} && ${FIND} ${FIND_DIRS} -type f -name "*.pl" -exec ${INSTALL_SCRIPT} {} ${DATADIR}/{} \;
X	cd ${WRKSRC}/${PORTNAME} && ${FIND} ${FIND_DIRS} -type f -name "*.txt" -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
X# docs
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC} && ${FIND} ${DOCS} -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
X.endif
X
X.include <bsd.port.mk>
END-of-easylatex/Makefile
echo x - easylatex/pkg-plist
sed 's/^X//' >easylatex/pkg-plist << 'END-of-easylatex/pkg-plist'
X@comment $FreeBSD$
Xbin/easylatex
X%%PORTDOCS%%%%DOCSDIR%%/TUTORIAL
X%%PORTDOCS%%%%DOCSDIR%%/demo-no-graph.txt
X%%PORTDOCS%%%%DOCSDIR%%/demo.txt
X%%DATADIR%%/disabled/30autoAlignEquationsOutsideOfMathMode.pl
X%%DATADIR%%/embed_transforms/25scriptedMatrix.pl
X%%DATADIR%%/math_mode_symbol_list.txt
X%%DATADIR%%/transforms/20escapeInsideGraphs.pl
X%%DATADIR%%/transforms/25autoLinefeedInMathMode.pl
X%%DATADIR%%/transforms/25wiki.pl
X%%DATADIR%%/transforms/30autoFractions.pl
X%%DATADIR%%/transforms/30dotsToLdots.pl
X%%DATADIR%%/transforms/30superSubscripts.pl
X%%DATADIR%%/transforms/70autoMathMode.pl
X%%DATADIR%%/transforms/80autoAlignEquations.pl
X%%DATADIR%%/transforms/80autoItemize.pl
X%%DATADIR%%/transforms/80easyMatrices.pl
X%%DATADIR%%/transforms/85sweepHalfEquationsIntoAdjacentMathMode.pl
X%%DATADIR%%/transforms/90addHeaderAndFooter.pl
X%%DATADIR%%/transforms/90doublePercentIsCommentSymbol.pl
X%%DATADIR%%/transforms/90easyFigures.pl
X%%DATADIR%%/transforms/90graphs.pl
X%%DATADIR%%/transforms/90numberSign.pl
X%%DATADIR%%/transforms/90removeWhitespaceAroundEquations.pl
X%%DATADIR%%/transforms/91easyQuotes.pl
X%%DATADIR%%/transforms/91easySections.pl
X%%DATADIR%%/transforms/91seminarAddSlidesec.pl
X%%DATADIR%%/transforms/91seminarEnvAddSlide.pl
X%%DATADIR%%/transforms/92seminarFlushHeadingsTop.pl
X%%DATADIR%%/transforms/92tempKludges.pl
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X@dirrm %%DATADIR%%/disabled
X@dirrm %%DATADIR%%/embed_transforms
X@dirrm %%DATADIR%%/transforms
X@dirrm %%DATADIR%%
END-of-easylatex/pkg-plist
echo x - easylatex/distinfo
sed 's/^X//' >easylatex/distinfo << 'END-of-easylatex/distinfo'
XMD5 (easylatex-0.062.tar.gz) = a503c2a4bde7a98def3f7aff94f03036
XSHA256 (easylatex-0.062.tar.gz) = 0abd896bc878eb9d4c1fcf1ac9a0916e5b6f32c2d058670823056dbbcb0ece3e
XSIZE (easylatex-0.062.tar.gz) = 184469
END-of-easylatex/distinfo
echo c - easylatex/files
mkdir -p easylatex/files > /dev/null 2>&1
echo x - easylatex/files/patch-easylatex.pl
sed 's/^X//' >easylatex/files/patch-easylatex.pl << 'END-of-easylatex/files/patch-easylatex.pl'
X$FreeBSD$
X--- easylatex.pl	Fri Sep 30 23:09:28 2005
X+++ easylatex.pl.port	Wed Feb 15 16:57:58 2006
X@@ -232,7 +232,7 @@
X 
X     push(@easylatex_dir_searchpath,"./easylatex");
X     push(@easylatex_dir_searchpath,"$ENV{HOME}/.easylatex");
X-    push(@easylatex_dir_searchpath,'/usr/lib/easylatex');
X+    push(@easylatex_dir_searchpath,'%%DATADIR%%');
X 
X     $EASYLATEX_DIR = '';
X     foreach $path (@easylatex_dir_searchpath)
END-of-easylatex/files/patch-easylatex.pl
exit
--- easylatex-0.62.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060215171125.17993.qmail>