ports/94591: [New port] print/latex-prettyref: Improved reference formatting for \LaTeX2e
Koji Yokota
yokota at res.otaru-uc.ac.jp
Fri Mar 17 08:30:17 UTC 2006
>Number: 94591
>Category: ports
>Synopsis: [New port] print/latex-prettyref: Improved reference formatting for \LaTeX2e
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Mar 17 08:30:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Koji Yokota
>Release: 6.0-RELEASE
>Organization:
Otaru University of Commerce
>Environment:
>Description:
print/latex-prettyref provides improved reference formatting for \LaTeX2e. print/lyx uses it (it runs safely without it, but related menu will not work), so I want this style to be installed automatically via ports.
>How-To-Repeat:
>Fix:
# 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-prettyref
# latex-prettyref/Makefile
# latex-prettyref/distinfo
# latex-prettyref/pkg-descr
# latex-prettyref/pkg-plist
#
echo c - latex-prettyref
mkdir -p latex-prettyref > /dev/null 2>&1
echo x - latex-prettyref/Makefile
sed 's/^X//' >latex-prettyref/Makefile << 'END-of-latex-prettyref/Makefile'
X# New ports collection makefile for: latex-prettyref
X# Date created: 17 Mar 2006
X# Whom: yokota at res.otaru-uc.ac.jp
X#
X# $FreeBSD$
X#
X
XPORTNAME= latex-prettyref
XPORTVERSION= 3.0
XCATEGORIES= print
XMASTER_SITES= ${MASTER_SITE_TEX_CTAN}
XMASTER_SITE_SUBDIR= macros/latex/contrib/prettyref
XDISTFILES= prettyref.dtx prettyref.ins
XDIST_SUBDIR= ${PORTNAME}
X
XMAINTAINER= yokota at res.otaru-uc.ac.jp
XCOMMENT= Improved reference formatting for \LaTeX2e
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
XPLIST_SUB= MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR}
X
XTEXMFLOCAL= share/texmf-local
XTEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
XMKTEXLSR= ${LOCALBASE}/bin/mktexlsr
XTEX_BIN= ${LOCALBASE}/bin/etex
XYES_CMD= /usr/bin/yes
XCLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
XWRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//}
X
XCLASS_FILES= prettyref.dtx prettyref.ins prettyref.sty
X
Xdo-extract:
X ${MKDIR} ${WRKSRC}
X cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
X
Xdo-build:
X cd ${WRKSRC} && ${YES_CMD} | ${TEX_BIN} prettyref.ins
X
Xdo-install:
X ${MKDIR} ${PREFIX}/${CLASSDIR}
X ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
X
Xpost-install:
X @${MKTEXLSR}
X
X.include <bsd.port.mk>
END-of-latex-prettyref/Makefile
echo x - latex-prettyref/distinfo
sed 's/^X//' >latex-prettyref/distinfo << 'END-of-latex-prettyref/distinfo'
XMD5 (latex-prettyref/prettyref.dtx) = 9948fd8ffa1a964eca5cc1f983f10463
XSHA256 (latex-prettyref/prettyref.dtx) = b9d56a8321fd0bfe8632b8b20a72126431b3bc
82b037b669023710d382467126
XSIZE (latex-prettyref/prettyref.dtx) = 4715
XMD5 (latex-prettyref/prettyref.ins) = b91eeef27fc2852b451bac5fa47917e3
XSHA256 (latex-prettyref/prettyref.ins) = fa94f8493e0db8d3b09496693df305246d782f
d268c6b90fd2c8380d8d2873e7
XSIZE (latex-prettyref/prettyref.ins) = 181
END-of-latex-prettyref/distinfo
echo x - latex-prettyref/pkg-descr
sed 's/^X//' >latex-prettyref/pkg-descr << 'END-of-latex-prettyref/pkg-descr'
XPrettyref provides a command \newrefformat, which specifies the way in which
Xa reference is typeset, according to a label "identification". The
Xidentification is set in the \label command, by using prefixed label names;
Xso instead of \label{mysection}, one uses \label{sec:mysection}, and
Xprettyref interprets the "sec:" part. The package is compatible with
Xhyperref and with other packages. The author is Kevin Ruland.
X
XWWW: http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/
END-of-latex-prettyref/pkg-descr
echo x - latex-prettyref/pkg-plist
sed 's/^X//' >latex-prettyref/pkg-plist << 'END-of-latex-prettyref/pkg-plist'
X%%CLASSDIR%%/prettyref.dtx
X%%CLASSDIR%%/prettyref.ins
X%%CLASSDIR%%/prettyref.sty
X at dirrm %%CLASSDIR%%
X at exec %%MKTEXLSR%%
X at unexec %%MKTEXLSR%%
END-of-latex-prettyref/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list