summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2005-05-16 22:30:24 +0000
committerjschauma <jschauma@pkgsrc.org>2005-05-16 22:30:24 +0000
commit2ec5542f0525a9db7cca55e460c1d517fbcfd01f (patch)
treea6bf169bda8402f780dd677b8c8ca993f75617c4 /print
parent91703bfef39e104536f7d38b1ab039d82148321b (diff)
downloadpkgsrc-2ec5542f0525a9db7cca55e460c1d517fbcfd01f.tar.gz
Initial import of tex-chemarrow:
LaTeX can be used to typeset many kinds of different documents, but typesetting chemical reactions is esthetically not very pleasing because LaTeX's own arrows \rightarrow, \leftarrow and \rightleftharpoons which you might use for this purpose are too short and the arrow heads are not like the "standard" ones you will find in books or journals on chemistry. The macro chemarrow.sty in conjunction with the font arrow.mf is supposed to make the typesetting of chemical reaction schemes in LaTeX easier and especially nicer looking.
Diffstat (limited to 'print')
-rw-r--r--print/Makefile3
-rw-r--r--print/tex-chemarrow/DESCR9
-rw-r--r--print/tex-chemarrow/Makefile38
-rw-r--r--print/tex-chemarrow/PLIST14
-rw-r--r--print/tex-chemarrow/distinfo5
5 files changed, 68 insertions, 1 deletions
diff --git a/print/Makefile b/print/Makefile
index 42863707975..fbdf26a3644 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.124 2005/04/28 22:34:02 reed Exp $
+# $NetBSD: Makefile,v 1.125 2005/05/16 22:30:24 jschauma Exp $
#
COMMENT= Desktop publishing
@@ -105,6 +105,7 @@ SUBDIR+= teTeX3-bin
SUBDIR+= teTeX3-texmf
SUBDIR+= teTeX3-texmfsrc
SUBDIR+= tex-bagpipetex
+SUBDIR+= tex-chemarrow
SUBDIR+= tex-eurosym
SUBDIR+= tex-hugelatex
SUBDIR+= tex-jadetex
diff --git a/print/tex-chemarrow/DESCR b/print/tex-chemarrow/DESCR
new file mode 100644
index 00000000000..c6709570bca
--- /dev/null
+++ b/print/tex-chemarrow/DESCR
@@ -0,0 +1,9 @@
+LaTeX can be used to typeset many kinds of different documents, but
+typesetting chemical reactions is esthetically not very pleasing because
+LaTeX's own arrows \rightarrow, \leftarrow and \rightleftharpoons which
+you might use for this purpose are too short and the arrow heads are not
+like the "standard" ones you will find in books or journals on chemistry.
+
+The macro chemarrow.sty in conjunction with the font arrow.mf is supposed
+to make the typesetting of chemical reaction schemes in LaTeX easier and
+especially nicer looking.
diff --git a/print/tex-chemarrow/Makefile b/print/tex-chemarrow/Makefile
new file mode 100644
index 00000000000..009d78f4384
--- /dev/null
+++ b/print/tex-chemarrow/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1 2005/05/16 22:30:24 jschauma Exp $
+#
+
+DISTNAME= chemarrow
+PKGNAME= tex-${DISTNAME}-0.1
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=macros/latex/contrib/}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://tug.ctan.org/tex-archive/help/Catalogue/entries/chemarrow.html
+COMMENT= New arrow heads for chemical reaction schemes
+
+DEPENDS+= teTeX-bin-[0-9]*:../../print/teTeX-bin
+
+NO_CONFIGURE= yes
+NO_BUILD= yes
+
+post-extract:
+ @(cd ${WRKSRC}/type1 && ${EXTRACT_CMD.zip} arrow.PC.zip)
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/texmf/fonts/source/chemarrow
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/texmf/tex/latex/chemarrow
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/texmf/fonts/tfm/chemarrow
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/fonts/chemarrow
+ ${INSTALL_DATA} ${WRKSRC}/arrow.mf \
+ ${PREFIX}/share/texmf/fonts/source/chemarrow
+ ${INSTALL_DATA} ${WRKSRC}/arrow.tfm \
+ ${PREFIX}/share/texmf/fonts/tfm/chemarrow
+ ${INSTALL_DATA} ${WRKSRC}/chemarrow.sty \
+ ${PREFIX}/share/texmf/tex/latex/chemarrow
+ cd ${WRKSRC}/type1/arrow\ PC && ${PAX} -rw . \
+ ${PREFIX}/share/fonts/chemarrow/
+ ${LOCALBASE}/bin/texconfig rehash
+ ${LOCALBASE}/bin/mktexlsr
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/tex-chemarrow/PLIST b/print/tex-chemarrow/PLIST
new file mode 100644
index 00000000000..6cbaca08149
--- /dev/null
+++ b/print/tex-chemarrow/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2005/05/16 22:30:24 jschauma Exp $
+share/texmf/fonts/source/chemarrow/arrow.mf
+share/texmf/fonts/tfm/chemarrow/arrow.tfm
+share/texmf/tex/latex/chemarrow/chemarrow.sty
+share/fonts/chemarrow/Arrow.vfb
+share/fonts/chemarrow/arrow.afm
+share/fonts/chemarrow/arrow.inf
+share/fonts/chemarrow/arrow.pfb
+share/fonts/chemarrow/arrow.pfm
+@unexec ${RM} -rf %D/share/texmf/fonts/tfm/chemarrow || ${TRUE}
+@exec %D/bin/texconfig rehash
+@unexec %D/bin/texconfig rehash
+@dirrm share/texmf/fonts/source/chemarrow
+@dirrm share/fonts/chemarrow
diff --git a/print/tex-chemarrow/distinfo b/print/tex-chemarrow/distinfo
new file mode 100644
index 00000000000..956f89f303c
--- /dev/null
+++ b/print/tex-chemarrow/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2005/05/16 22:30:24 jschauma Exp $
+
+SHA1 (chemarrow.zip) = 7a26f3fa7457003eed39bd5f66d8aa476edee9bb
+RMD160 (chemarrow.zip) = 94c6ab9a5f65db09bc25e459b90e1f21b9fdbe83
+Size (chemarrow.zip) = 22687 bytes