diff options
author | pav <pav@FreeBSD.org> | 2007-12-19 00:43:24 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2007-12-19 00:43:24 +0800 |
commit | 89732aa6ed6f72d9ff10c5b478c886bb91c0b777 (patch) | |
tree | ead505d62b5d7a4d12950feff5a67d933df34d21 /print/latex-prettyref/Makefile | |
parent | 392ad28085b6446717947806d7e19057de56e340 (diff) | |
download | freebsd-ports-gnome-89732aa6ed6f72d9ff10c5b478c886bb91c0b777.tar.gz freebsd-ports-gnome-89732aa6ed6f72d9ff10c5b478c886bb91c0b777.tar.zst freebsd-ports-gnome-89732aa6ed6f72d9ff10c5b478c886bb91c0b777.zip |
Prettyref provides a command \newrefformat, which specifies the way in
which a reference is typeset, according to a label "identification".
The identification is set in the \label command, by using prefixed label
names; so instead of \label{mysection}, one uses \label{sec:mysection},
and prettyref interprets the "sec:" part. The package is compatible
with hyperref and with other packages.
WWW: http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/
PR: ports/118116
Submitted by: Koji Yokota <yokota@res.otaru-uc.ac.jp>
Diffstat (limited to 'print/latex-prettyref/Makefile')
-rw-r--r-- | print/latex-prettyref/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/print/latex-prettyref/Makefile b/print/latex-prettyref/Makefile new file mode 100644 index 000000000000..dbf9113b175f --- /dev/null +++ b/print/latex-prettyref/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: print/latex-prettyref +# Date created: 19 November 2007 +# Whom: Koji Yokota (yokota@res.otaru-uc.ac.jp) +# +# $FreeBSD$ +# + +PORTNAME= latex-prettyref +PORTVERSION= 3.0 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_TEX_CTAN} +MASTER_SITE_SUBDIR= macros/latex/contrib +DISTNAME= ${PORTNAME:S/^latex-//} +DIST_SUBDIR= latex + +MAINTAINER= yokota@res.otaru-uc.ac.jp +COMMENT= Improved reference formatting for LaTeX2e + +BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base +RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base + +USE_ZIP= yes + +TEXMFDIR= share/texmf +STYDIR= tex/latex/${PORTNAME:S/^latex-//} +DOCSDIR= doc/latex/${PORTNAME:S/^latex-//} +INSFILE= ${PORTNAME:S/^latex-//}.ins +STYFILE= ${PORTNAME:S/^latex-//}.sty +PDFFILE= ${PORTNAME:S/^latex-//}.pdf +MKTEXLSR= ${LOCALBASE}/bin/mktexlsr + +do-build: + @( cd ${WRKSRC} && tex ${INSFILE} ) + +do-install: + @( cd ${WRKSRC} && \ + ${COPYTREE_SHARE} "${STYFILE}" ${PREFIX}/${TEXMFDIR}/${STYDIR} ) +.if !defined(NOPORTDOCS) + @( cd ${WRKSRC} && \ + ${COPYTREE_SHARE} "${PDFFILE}" ${PREFIX}/${TEXMFDIR}/${DOCSDIR} ) +.endif + +post-install: + ${MKTEXLSR} ${PREFIX}/${TEXMFDIR} + +.include <bsd.port.mk> |