aboutsummaryrefslogtreecommitdiff
path: root/graphics/klatexformula
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2009-11-18 20:03:01 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2009-11-18 20:03:01 +0000
commit33096d08123d165fc15df48ca563f489480fa887 (patch)
tree215673a75655842ef3adf0f2ab695b24d5f3a56d /graphics/klatexformula
parent867e4c67e048d45ab538705bf6310c7ff33b9118 (diff)
downloadports-33096d08123d165fc15df48ca563f489480fa887.tar.gz
ports-33096d08123d165fc15df48ca563f489480fa887.zip
Add new port graphics/klatexformula:
KLatexFormula is a Qt4 program to easily get an image from a LaTeX formula. Just enter a formula, click "Evaluate", then you can drag&drop or copy the resulting image to another location (an OpenOffice document, for example) or save it as an image (many formats are available). WWW: http://klatexformula.sourceforge.net
Notes
Notes: svn path=/head/; revision=244438
Diffstat (limited to 'graphics/klatexformula')
-rw-r--r--graphics/klatexformula/Makefile36
-rw-r--r--graphics/klatexformula/distinfo3
-rw-r--r--graphics/klatexformula/pkg-descr7
-rw-r--r--graphics/klatexformula/pkg-plist14
4 files changed, 60 insertions, 0 deletions
diff --git a/graphics/klatexformula/Makefile b/graphics/klatexformula/Makefile
new file mode 100644
index 000000000000..23ed78543e27
--- /dev/null
+++ b/graphics/klatexformula/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: klatexformula
+# Date created: 2009-11-18
+# Whom: Max Brazhnikov <makc@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= klatexformula
+PORTVERSION= 3.1.0
+CATEGORIES= graphics
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= makc@FreeBSD.org
+COMMENT= Convert LaTeX formula to image
+
+RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
+ dvips:${PORTSDIR}/print/dvipsk-tetex \
+ ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
+
+USE_QT_VER= 4
+QT_COMPONENTS= gui xml dbus designer_build \
+ qmake_build moc_build rcc_build uic_build
+HAS_CONFIGURE= yes
+USE_GHOSTSCRIPT= yes
+QMAKE_ARGS= QMAKE=${QMAKE} INSTALLPREFIX=${PREFIX} \
+ BACKEND_LIBDIR=lib
+
+STRIP_FILES= bin/klatexformula
+
+do-configure:
+ cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKE_ARGS}
+
+post-install:
+ ${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,}
+
+.include <bsd.port.mk>
diff --git a/graphics/klatexformula/distinfo b/graphics/klatexformula/distinfo
new file mode 100644
index 000000000000..2ed5c57cbba9
--- /dev/null
+++ b/graphics/klatexformula/distinfo
@@ -0,0 +1,3 @@
+MD5 (klatexformula-3.1.0.tar.gz) = 865a073fef576a395c32ed6a6e9b49c2
+SHA256 (klatexformula-3.1.0.tar.gz) = 1aec21ed429c08aa9419d500016938c9c2d7d3be194dba7e0a22fa81e1b37ad8
+SIZE (klatexformula-3.1.0.tar.gz) = 560116
diff --git a/graphics/klatexformula/pkg-descr b/graphics/klatexformula/pkg-descr
new file mode 100644
index 000000000000..f54b785d59fa
--- /dev/null
+++ b/graphics/klatexformula/pkg-descr
@@ -0,0 +1,7 @@
+KLatexFormula is a Qt4 program to easily get an image from a LaTeX
+formula. Just enter a formula, click "Evaluate", then you can
+drag&drop or copy the resulting image to another location (an
+OpenOffice document, for example) or save it as an image (many
+formats are available).
+
+WWW: http://klatexformula.sourceforge.net
diff --git a/graphics/klatexformula/pkg-plist b/graphics/klatexformula/pkg-plist
new file mode 100644
index 000000000000..ae011e688015
--- /dev/null
+++ b/graphics/klatexformula/pkg-plist
@@ -0,0 +1,14 @@
+bin/klatexformula
+bin/klatexformula_cmdl
+include/klfbackend.h
+include/klfblockprocess.h
+lib/libklfbackend.a
+share/applications/klatexformula.desktop
+share/icons/hicolor/128x128/apps/klatexformula.png
+share/icons/hicolor/16x16/apps/klatexformula.png
+share/icons/hicolor/32x32/apps/klatexformula.png
+share/icons/hicolor/64x64/apps/klatexformula.png
+share/klatexformula/rccresources/klfbaseplugins.rcc
+@dirrm share/klatexformula/rccresources
+@dirrm share/klatexformula
+@dirrmtry share/applications