aboutsummaryrefslogtreecommitdiff
path: root/print/latex-prettyref
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-12-18 16:43:24 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-12-18 16:43:24 +0000
commit90c62a59dcbed799a7bf99ec7761b4ccdbe2c182 (patch)
treebb115d6038a3b4069f27d529069b38812f42fa8c /print/latex-prettyref
parent836db5ba96a932f0fb3ae5f53d25d24141f05ba8 (diff)
downloadports-90c62a59dcbed799a7bf99ec7761b4ccdbe2c182.tar.gz
ports-90c62a59dcbed799a7bf99ec7761b4ccdbe2c182.zip
Notes
Diffstat (limited to 'print/latex-prettyref')
-rw-r--r--print/latex-prettyref/Makefile46
-rw-r--r--print/latex-prettyref/distinfo3
-rw-r--r--print/latex-prettyref/pkg-descr8
-rw-r--r--print/latex-prettyref/pkg-plist4
4 files changed, 61 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>
diff --git a/print/latex-prettyref/distinfo b/print/latex-prettyref/distinfo
new file mode 100644
index 000000000000..b52f03d2d338
--- /dev/null
+++ b/print/latex-prettyref/distinfo
@@ -0,0 +1,3 @@
+MD5 (latex/prettyref.zip) = f74e1c2801aee75b411ead595ebaf0a2
+SHA256 (latex/prettyref.zip) = dfbc58aa0dcbb00fc58541da7580845e2c0a26b629410728abbc7faf124b60c4
+SIZE (latex/prettyref.zip) = 35300
diff --git a/print/latex-prettyref/pkg-descr b/print/latex-prettyref/pkg-descr
new file mode 100644
index 000000000000..6bc7fcde0a86
--- /dev/null
+++ b/print/latex-prettyref/pkg-descr
@@ -0,0 +1,8 @@
+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/
diff --git a/print/latex-prettyref/pkg-plist b/print/latex-prettyref/pkg-plist
new file mode 100644
index 000000000000..ce9a33dac475
--- /dev/null
+++ b/print/latex-prettyref/pkg-plist
@@ -0,0 +1,4 @@
+%%PORTDOCS%%share/texmf/doc/latex/prettyref/prettyref.pdf
+share/texmf/tex/latex/prettyref/prettyref.sty
+%%PORTDOCS%%@dirrm share/texmf/doc/latex/prettyref
+@dirrm share/texmf/tex/latex/prettyref