summaryrefslogtreecommitdiffstats
path: root/net-im/gaim-latex
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/gaim-latex')
-rw-r--r--net-im/gaim-latex/Makefile36
-rw-r--r--net-im/gaim-latex/distinfo3
-rw-r--r--net-im/gaim-latex/files/patch-LaTeX.c17
-rw-r--r--net-im/gaim-latex/pkg-descr4
4 files changed, 60 insertions, 0 deletions
diff --git a/net-im/gaim-latex/Makefile b/net-im/gaim-latex/Makefile
new file mode 100644
index 000000000..16c2a6ceb
--- /dev/null
+++ b/net-im/gaim-latex/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: Gaim-LaTeX
+# Date created: 2005-06-22
+# Whom: Geoffrey Mainland <mainland@apeiron.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= latex
+PORTVERSION= 0.3
+PORTREVISION= 5
+CATEGORIES= net-im
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}
+PKGNAMEPREFIX= gaim-
+DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= mainland@apeiron.net
+COMMENT= Display LaTeX output in your IMs
+
+BUILD_DEPENDS= ${LOCALBASE}/include/gaim/config.h:${PORTSDIR}/net-im/gaim
+RUN_DEPENDS= gaim:${PORTSDIR}/net-im/gaim \
+ latex:${PORTSDIR}/print/teTeX \
+ convert:${PORTSDIR}/graphics/ImageMagick
+
+CFLAGS+= "-fPIC"
+USE_XLIB= yes
+USE_GMAKE= yes
+USE_GNOME= gtk20
+USE_BZIP2= yes
+
+PLIST_FILES= lib/gaim/LaTeX.so
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/LaTeX.so ${PREFIX}/lib/gaim
+
+.include <bsd.port.mk>
diff --git a/net-im/gaim-latex/distinfo b/net-im/gaim-latex/distinfo
new file mode 100644
index 000000000..3b10f941e
--- /dev/null
+++ b/net-im/gaim-latex/distinfo
@@ -0,0 +1,3 @@
+MD5 (gaim-latex-0.3.tar.bz2) = e0ff7686b3e40a8f2e456785b0557a29
+SHA256 (gaim-latex-0.3.tar.bz2) = e7742ebd216bd7414525ba074f828e43db3093807e4c506e5a002f45855f84e4
+SIZE (gaim-latex-0.3.tar.bz2) = 12903
diff --git a/net-im/gaim-latex/files/patch-LaTeX.c b/net-im/gaim-latex/files/patch-LaTeX.c
new file mode 100644
index 000000000..a09cfc364
--- /dev/null
+++ b/net-im/gaim-latex/files/patch-LaTeX.c
@@ -0,0 +1,17 @@
+--- LaTeX.c.orig Sun Jul 3 11:23:45 2005
++++ LaTeX.c Sun Jul 3 11:24:29 2005
+@@ -77,13 +77,13 @@
+
+ while(ptr1 != NULL)
+ {
+- retro = FALSE;
+ char *tex, *message, *idstring;
+ gchar *name, *buf;
+ char *filedata;
+ size_t size;
+ GError *error = NULL;
+ char *filter;
++ retro = FALSE;
+
+ pos1 = strlen(*tmp2) - strlen(ptr1);
+
diff --git a/net-im/gaim-latex/pkg-descr b/net-im/gaim-latex/pkg-descr
new file mode 100644
index 000000000..46c46e0e7
--- /dev/null
+++ b/net-im/gaim-latex/pkg-descr
@@ -0,0 +1,4 @@
+This is a plugin for Gaim that allows you to display LaTeX output in
+your IMs.
+
+WWW: http://sourceforge.net/projects/gaim-latex