From dee027de6e196a0fe52a63c8ed965548ca0e6ed2 Mon Sep 17 00:00:00 2001 From: jasper Date: Sun, 17 Dec 2006 15:01:57 +0000 Subject: [PATCH] import l2p 1.0 L2P creates PNG images of mathematical expressions formatted in LaTeX. While it can convert a whole LaTeX document, it is designed to easily generate images from just a fragment of LaTeX code. --- graphics/l2p/Makefile | 33 +++++++++++++++++++++++++++++++++ graphics/l2p/distinfo | 4 ++++ graphics/l2p/pkg/DESCR | 3 +++ graphics/l2p/pkg/PLIST | 4 ++++ 4 files changed, 44 insertions(+) create mode 100644 graphics/l2p/Makefile create mode 100644 graphics/l2p/distinfo create mode 100644 graphics/l2p/pkg/DESCR create mode 100644 graphics/l2p/pkg/PLIST diff --git a/graphics/l2p/Makefile b/graphics/l2p/Makefile new file mode 100644 index 00000000000..1bbd55f2119 --- /dev/null +++ b/graphics/l2p/Makefile @@ -0,0 +1,33 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2006/12/17 15:01:57 jasper Exp $ + +COMMENT= "create PNG images of LaTex math expressions" + +DISTNAME= l2p-1.0 +CATEGORIES= graphics + +HOMEPAGE= http://redsymbol.net/software/l2p/ + +# Public Domain +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${HOMEPAGE}dist/ +EXTRACT_SUFX= .tgz + +WRKDIST= ${WRKDIR}/${PKGNAME} + +RUN_DEPENDS= ::graphics/ImageMagick \ + ::print/teTeX/base + +NO_BUILD= Yes +NO_REGRESS= Yes +PKG_ARCH= * + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/l2p ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/l2p + ${INSTALL_DATA} ${WRKSRC}/l2p.txt ${PREFIX}/share/doc/l2p/README + +.include diff --git a/graphics/l2p/distinfo b/graphics/l2p/distinfo new file mode 100644 index 00000000000..92fe68c7306 --- /dev/null +++ b/graphics/l2p/distinfo @@ -0,0 +1,4 @@ +MD5 (l2p-1.0.tgz) = 87db2e0b5e6b8fffbeb1137a24c343b2 +RMD160 (l2p-1.0.tgz) = 40a37763451ea217fcbe8cea2ae9b8aae96d03b4 +SHA1 (l2p-1.0.tgz) = 9559fb0f83c981300be11a8641ff62f1b20dcad0 +SIZE (l2p-1.0.tgz) = 7540 diff --git a/graphics/l2p/pkg/DESCR b/graphics/l2p/pkg/DESCR new file mode 100644 index 00000000000..a4e48cfa553 --- /dev/null +++ b/graphics/l2p/pkg/DESCR @@ -0,0 +1,3 @@ +L2P creates PNG images of mathematical expressions formatted in LaTeX. +While it can convert a whole LaTeX document, it is designed to easily +generate images from just a fragment of LaTeX code. diff --git a/graphics/l2p/pkg/PLIST b/graphics/l2p/pkg/PLIST new file mode 100644 index 00000000000..754b4d2aa9f --- /dev/null +++ b/graphics/l2p/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2006/12/17 15:01:57 jasper Exp $ +bin/l2p +share/doc/l2p/ +share/doc/l2p/README