ports/75206: [new port] print/latexmk
Fernan Aguero
fernan at iib.unsam.edu.ar
Fri Dec 17 21:50:24 UTC 2004
>Number: 75206
>Category: ports
>Synopsis: [new port] print/latexmk
>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: Fri Dec 17 21:50:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Fernan Aguero
>Release: FreeBSD 4.10-RELEASE i386
>Organization:
IIB-UNSAM
>Environment:
FreeBSD pi.iib.unsam.edu.ar 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Wed May 26 12:56:43 ART 2004 fernan at pi.iib.unsam.edu.ar:/usr/obj/usr/src/sys/PI i386
>Description:
From the pkg-descr:
LatexMk completely automates the process of generating a LaTeX
document. Essentially, it is a highly specialized relative of
the general make utility. Given the source files for a document,
latexmk issues the appropriate sequence of commands to generate
a .dvi, .ps, .pdf or hardcopy version of the document. It can
also be set to run continuously with a previewer; the needed
commands are rerun whenever one of the source files is modified.
>How-To-Repeat:
>Fix:
--- latexmk.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:
#
# latexmk
# latexmk/distinfo
# latexmk/Makefile
# latexmk/pkg-descr
# latexmk/pkg-message
# latexmk/pkg-plist
#
echo c - latexmk
mkdir -p latexmk > /dev/null 2>&1
echo x - latexmk/distinfo
sed 's/^X//' >latexmk/distinfo << 'END-of-latexmk/distinfo'
XMD5 (latexmk-307a.zip) = 20646ab0ada12bb07f9df83cc810f0d9
XSIZE (latexmk-307a.zip) = 145238
END-of-latexmk/distinfo
echo x - latexmk/Makefile
sed 's/^X//' >latexmk/Makefile << 'END-of-latexmk/Makefile'
X# ex:ts=8
X# New ports collection makefile for: latexmk
X# Date created: 17 Dec 2004
X# Whom: Fernan Aguero <fernan at iib.unsam.edu.ar>
X#
X# $FreeBSD$
X#
X
XPORTNAME= latexmk
XPORTVERSION= 307a
XCATEGORIES= print
XMASTER_SITES= http://www.phys.psu.edu/~collins/software/latexmk/
X
XMAINTAINER= fernan at iib.unsam.edu.ar
XCOMMENT= A tool to completely automate the process of generating output from a LaTeX document
X
XRUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
X
XUSE_PERL5_RUN= yes
XUSE_ZIP= yes
XNO_WRKSUBDIR= yes
XNO_BUILD= yes
XPKGMESSAGE= ${.CURDIR}/pkg-message
X
XMAN1= latexmk.1
XDOCS= CHANGES COPYING INSTALL README latexmk.pdf latexmk.ps latexmk.txt
X
Xdo-install:
X ${INSTALL_SCRIPT} ${WRKSRC}/latexmk.pl ${PREFIX}/bin/latexmk
X ${INSTALL_MAN} ${WRKSRC}/latexmk.1 ${PREFIX}/man/man1/
X.if !defined(NOPORTDOCS)
X @ ${MKDIR} ${DOCSDIR}
X.for doc in ${DOCS}
X ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
X.endfor
X.endif
X
Xpost-install:
X.if !defined(BATCH)
X @ ${CAT} ${PKGMESSAGE}
X.endif
X
X.include <bsd.port.mk>
END-of-latexmk/Makefile
echo x - latexmk/pkg-descr
sed 's/^X//' >latexmk/pkg-descr << 'END-of-latexmk/pkg-descr'
XLatexMk completely automates the process of generating a LaTeX document.
XEssentially, it is a highly specialized relative of the general make
Xutility. Given the source files for a document, latexmk issues the
Xappropriate sequence of commands to generate a .dvi, .ps, .pdf or
Xhardcopy version of the document. It can also be set to run continuously
Xwith a previewer; the needed commands are rerun whenever one of the
Xsource files is modified.
X
XWWW: http://www.phys.psu.edu/~collins/software/latexmk/
END-of-latexmk/pkg-descr
echo x - latexmk/pkg-message
sed 's/^X//' >latexmk/pkg-message << 'END-of-latexmk/pkg-message'
X======================================================================
X
X In order for the 'pvc' (preview continuously) option to work
X perfectly, latexmk needs to know the correct way to invoke ps(1)
X in each operating system. Thus, users may have to change the $pscmd
X variable in their ~/.latexmkrc files.
X
X For FreeBSD-4.x the following is known to work:
X $pscmd = "ps -w -f -u $ENV{USER}"
X
X======================================================================
END-of-latexmk/pkg-message
echo x - latexmk/pkg-plist
sed 's/^X//' >latexmk/pkg-plist << 'END-of-latexmk/pkg-plist'
Xbin/latexmk
X%%PORTDOCS%%%%DOCSDIR%%/CHANGES
X%%PORTDOCS%%%%DOCSDIR%%/COPYING
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/latexmk.pdf
X%%PORTDOCS%%%%DOCSDIR%%/latexmk.ps
X%%PORTDOCS%%%%DOCSDIR%%/latexmk.txt
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-latexmk/pkg-plist
exit
--- latexmk.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list