aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-01-26 21:52:36 +0800
committerkrion <krion@FreeBSD.org>2004-01-26 21:52:36 +0800
commitf502830305aa2c7fcb9cb5a9753a6b9c9ca50b62 (patch)
tree1a71a6e6a1effc53ecb8b148965be61ceec252aa /print
parent78959d1f2f3ef195a7ad65157d1622f71f7ccfa1 (diff)
downloadfreebsd-ports-gnome-f502830305aa2c7fcb9cb5a9753a6b9c9ca50b62.tar.gz
freebsd-ports-gnome-f502830305aa2c7fcb9cb5a9753a6b9c9ca50b62.tar.zst
freebsd-ports-gnome-f502830305aa2c7fcb9cb5a9753a6b9c9ca50b62.zip
Add latex-booktabs 1.618.20030328,
booktabs is to enable the easy production of tables such as should appear in published scientific books and journals. What distinguishes these from plain LaTeX tables is the default use of additional space above and below rules, and rules of varying `thickness'. PR: ports/61936 Submitted by: hrs@FreeBSD.org
Diffstat (limited to 'print')
-rw-r--r--print/Makefile1
-rw-r--r--print/latex-booktabs/Makefile48
-rw-r--r--print/latex-booktabs/distinfo4
-rw-r--r--print/latex-booktabs/pkg-descr6
-rw-r--r--print/latex-booktabs/pkg-plist9
5 files changed, 68 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index c565cef81604..14402a6d8806 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -96,6 +96,7 @@
SUBDIR += latex-biblist
SUBDIR += latex-bibtopic
SUBDIR += latex-bibunits
+ SUBDIR += latex-booktabs
SUBDIR += latex-bytefield
SUBDIR += latex-caption
SUBDIR += latex-feynmf
diff --git a/print/latex-booktabs/Makefile b/print/latex-booktabs/Makefile
new file mode 100644
index 000000000000..442c92a5a68e
--- /dev/null
+++ b/print/latex-booktabs/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: latex-booktabs
+# Date created: 24 Jan 2004
+# Whom: hrs@FreeBSD.org
+#
+# $FreeBSD$
+
+PORTNAME= latex-booktabs
+PORTVERSION= 1.618.20030328
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
+MASTER_SITE_SUBDIR= macros/latex/contrib/booktabs
+DISTFILES= ${DOC_FILES} ${CLASS_FILES}
+DIST_SUBDIR= ${PORTNAME}
+EXTRACT_ONLY= #empty
+
+MAINTAINER= hrs@FreeBSD.org
+COMMENT= A LaTeX package for publication quality tables
+
+BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX
+BUILD_DEPENDS+= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
+RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
+
+NO_BUILD= YES
+PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR}
+PLIST_SUB+= CLASSDIR=${CLASSDIR}
+
+TEXMFLOCAL= share/texmf-local
+TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
+MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
+TEX_BIN= ${LOCALBASE}/bin/latex
+CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
+
+DOC_FILES= booktabs.pdf
+
+CLASS_FILES= booktabs.dtx booktabs.ins booktabs.sty
+
+do-install:
+ ${MKDIR} ${PREFIX}/${CLASSDIR}
+ ${INSTALL_DATA} ${CLASS_FILES:S@^@${DISTDIR}/${DIST_SUBDIR}/@} ${PREFIX}/${CLASSDIR}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${DOC_FILES:S@^@${DISTDIR}/${DIST_SUBDIR}/@} ${DOCSDIR}
+.endif
+
+post-install:
+ ${MKTEXLSR}
+
+.include <bsd.port.mk>
diff --git a/print/latex-booktabs/distinfo b/print/latex-booktabs/distinfo
new file mode 100644
index 000000000000..91104d2f28b1
--- /dev/null
+++ b/print/latex-booktabs/distinfo
@@ -0,0 +1,4 @@
+MD5 (latex-booktabs/booktabs.pdf) = 755d190f924af9d3b898c15a67b65a42
+MD5 (latex-booktabs/booktabs.dtx) = 1b48e8b965d9ac76e2899aaec5ae7591
+MD5 (latex-booktabs/booktabs.ins) = 684a0340272e5a0b68c5c8eda9b78b1f
+MD5 (latex-booktabs/booktabs.sty) = fde7b309aac8a7d5a7aff663e89e829c
diff --git a/print/latex-booktabs/pkg-descr b/print/latex-booktabs/pkg-descr
new file mode 100644
index 000000000000..0c8611c29819
--- /dev/null
+++ b/print/latex-booktabs/pkg-descr
@@ -0,0 +1,6 @@
+booktabs is to enable the easy production of tables such as should
+appear in published scientific books and journals. What distinguishes
+these from plain LaTeX tables is the default use of additional space
+above and below rules, and rules of varying `thickness'. What further
+distinguishes them from the tables many people do produce using LaTeX
+is the absence of vertical rules and double rules.
diff --git a/print/latex-booktabs/pkg-plist b/print/latex-booktabs/pkg-plist
new file mode 100644
index 000000000000..4e1986cf2ca1
--- /dev/null
+++ b/print/latex-booktabs/pkg-plist
@@ -0,0 +1,9 @@
+@comment $FreeBSD$
+%%PORTDOCS%%%%DOCSDIR%%/booktabs.pdf
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%CLASSDIR%%/booktabs.dtx
+%%CLASSDIR%%/booktabs.ins
+%%CLASSDIR%%/booktabs.sty
+@dirrm %%CLASSDIR%%
+@exec %%MKTEXLSR%%
+@unexec %%MKTEXLSR%%