summaryrefslogtreecommitdiff
path: root/print/tex-chemarrow
diff options
context:
space:
mode:
authorjschauma <jschauma>2005-05-16 22:30:24 +0000
committerjschauma <jschauma>2005-05-16 22:30:24 +0000
commit4052c8bd6f6b8ff23dacdda4a071d63c26ecfc4e (patch)
treea6bf169bda8402f780dd677b8c8ca993f75617c4 /print/tex-chemarrow
parentf0c4c5321351b8a0ac9a278a8aa5429dadd4bf2f (diff)
downloadpkgsrc-4052c8bd6f6b8ff23dacdda4a071d63c26ecfc4e.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/tex-chemarrow')
-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
4 files changed, 66 insertions, 0 deletions
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