ports/149667: New port: print/latex-logreq automation of LaTeX workflow
V. Jahns
idolum at users.sourceforge.net
Sun Aug 15 09:50:01 UTC 2010
>Number: 149667
>Category: ports
>Synopsis: New port: print/latex-logreq automation of LaTeX workflow
>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: Sun Aug 15 09:50:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: V. Jahns
>Release: FreeBSD 8.0-RELEASE
>Organization:
>Environment:
FreeBSD mudfly 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 16:02:27 UTC 2010 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
A LaTeX package to support the automation of the LaTeX workflow. Required by latex-biblatex-0.9b.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# 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:
#
# latex-logreq
# latex-logreq/pkg-descr
# latex-logreq/distinfo
# latex-logreq/Makefile
#
echo c - latex-logreq
mkdir -p latex-logreq > /dev/null 2>&1
echo x - latex-logreq/pkg-descr
sed 's/^X//' >latex-logreq/pkg-descr << '53d4938f00d59141a2137602b351231f'
XA package to support the automation of LaTeX workflows.
X
XWWW: http://www.ctan.org/tex-archive/macros/latex/contrib/logreq/
53d4938f00d59141a2137602b351231f
echo x - latex-logreq/distinfo
sed 's/^X//' >latex-logreq/distinfo << '9cf75bf375b8100f06a176596eecc159'
XMD5 (logreq.zip) = 2ca100558f7c683aff9f1a0065b7a08f
XSHA256 (logreq.zip) = 14b1a51c4b4204be70d78c1789a89e7d28a3ee1b43f341d0f50f606d2c97f517
XSIZE (logreq.zip) = 11928
9cf75bf375b8100f06a176596eecc159
echo x - latex-logreq/Makefile
sed 's/^X//' >latex-logreq/Makefile << '89dd8f8c04845f2c0d827799ffd17f79'
X# New ports collection makefile for: latex-logreq
X# Date created: 15 Aug 2010
X# Whom: idolum at users.sourceforge.net
X#
X# $FreeBSD$
X
XPORTNAME= logreq
XPORTVERSION= 1.0
XCATEGORIES= print
XMASTER_SITES= ${MASTER_SITE_TEX_CTAN}
XMASTER_SITE_SUBDIR= macros/latex/contrib
XPKGNAMEPREFIX= latex-
XDISTNAME= ${PORTNAME}
X
XMAINTAINER= idolum at users.sourceforge.net
XCOMMENT= Support for automation of the LaTeX workflow
X
XBUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
X ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
XRUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
X ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
X ${LOCALBASE}/${TEXMFLOCAL}/tex/latex/etoolbox/etoolbox.sty:${PORTSDIR}/print/latex-etoolbox
X
XUSE_ZIP= YES
XNO_BUILD= YES
XPLIST= ${WRKDIR}/pkg-plist
X
XTEXMFLOCAL= share/texmf-local
XTEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
XMKTEXLSR= ${LOCALBASE}/bin/mktexlsr
XTEX_BIN= ${LOCALBASE}/bin/latex
X
XCLASSNAME= ${PORTNAME}
XCLASSDIR= ${TEXMFLOCAL}/tex/latex/${CLASSNAME}
XDOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
XEXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
X
XCLASS_FILES= logreq.def logreq.sty
XDOC_FILES= README
X
XWRKSRC= ${WRKDIR}/${CLASSNAME}
X
Xpre-install:
X (for F in ${CLASS_FILES}; do \
X ${ECHO_CMD} "${CLASSDIR}/$${F}"; \
X done;) > ${PLIST}
X ${ECHO_CMD} "@dirrm ${CLASSDIR}" >> ${PLIST}
X.if !defined(NOPORTDOCS)
X (for F in ${DOC_FILES}; do \
X ${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \
X done;\
X ${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" ) >> ${PLIST}
X (for F in `${LS} ${WRKSRC}/examples`; do \
X ${ECHO_CMD} "${EXAMPLESDIR:S,^${PREFIX}/,,}/$${F}"; \
X done;) >> ${PLIST}
X ${ECHO_CMD} "@dirrm ${EXAMPLESDIR:S,^${PREFIX}/,,}" >> ${PLIST}
X.endif
X ${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST}
X ${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST}
X
Xdo-install:
X ${MKDIR} ${PREFIX}/${CLASSDIR}
X ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X ${MKDIR} ${EXAMPLESDIR}
X ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
X (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
X.endif
X
Xpost-install:
X ${MKTEXLSR}
X
X.include <bsd.port.mk>
89dd8f8c04845f2c0d827799ffd17f79
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list