summaryrefslogtreecommitdiff
path: root/www/trac-math
diff options
context:
space:
mode:
Diffstat (limited to 'www/trac-math')
-rw-r--r--www/trac-math/Makefile35
-rw-r--r--www/trac-math/distinfo2
-rw-r--r--www/trac-math/files/patch-tracmath_tracmath.py21
-rw-r--r--www/trac-math/files/pkg-message.in17
-rw-r--r--www/trac-math/pkg-descr4
5 files changed, 0 insertions, 79 deletions
diff --git a/www/trac-math/Makefile b/www/trac-math/Makefile
deleted file mode 100644
index d9b3230a9a3b..000000000000
--- a/www/trac-math/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-# $FreeBSD$
-
-PORTNAME= math
-PORTVERSION= 0.1
-PORTREVISION= 8
-CATEGORIES= www math python
-MASTER_SITES= LOCAL/brooks
-PKGNAMEPREFIX= trac-
-
-MAINTAINER= joneum@FreeBSD.org
-COMMENT= Support for LaTeX math formulas in wiki pages
-
-RUN_DEPENDS= tracd:www/trac
-
-USE_TEX= latex
-SUB_FILES= pkg-message
-
-USES= python:2.7
-USE_PYTHON= distutils autoplist
-NO_ARCH= yes
-
-# Maintainter targets below this point
-
-# Retrieve the latest version from SVN and package in a tarball.
-.if defined(BOOTSTRAP)
-FETCH_DEPENDS+= svn:devel/subversion
-do-fetch:
- ${MKDIR} ${WRKDIR}
- cd ${WRKDIR} && \
- svn export http://trac-hacks.org/svn/tracmathplugin/ \
- ${DISTNAME}
- cd ${WRKDIR} && tar cvf ${DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME}
-.endif
-
-.include <bsd.port.mk>
diff --git a/www/trac-math/distinfo b/www/trac-math/distinfo
deleted file mode 100644
index 8b57fe8b56f0..000000000000
--- a/www/trac-math/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (math-0.1.tar.gz) = 6690f91e1905b6a3f213edb2a69e9268695a7acc1b3df921e963d453d9b2b2db
-SIZE (math-0.1.tar.gz) = 12800
diff --git a/www/trac-math/files/patch-tracmath_tracmath.py b/www/trac-math/files/patch-tracmath_tracmath.py
deleted file mode 100644
index f0b37da150da..000000000000
--- a/www/trac-math/files/patch-tracmath_tracmath.py
+++ /dev/null
@@ -1,21 +0,0 @@
---- tracmath/tracmath.py.orig 2008-04-04 08:58:46 UTC
-+++ tracmath/tracmath.py
-@@ -4,8 +4,8 @@ This has currently been tested only on t
- """
-
- import codecs
-+import hashlib
- import re
--import sha
- from cStringIO import StringIO
- import os
- import sys
-@@ -142,7 +142,7 @@ class TracMathPlugin(Component):
- if m:
- label = m.group(1)
-
-- key = sha.new(content.encode('utf-8')).hexdigest()
-+ key = hashlib.sha1(content.encode('utf-8')).hexdigest()
-
- imgname = key + '.png'
- imgpath = os.path.join(self.cacheDirectory, imgname)
diff --git a/www/trac-math/files/pkg-message.in b/www/trac-math/files/pkg-message.in
deleted file mode 100644
index bb0738e10587..000000000000
--- a/www/trac-math/files/pkg-message.in
+++ /dev/null
@@ -1,17 +0,0 @@
-[
-{ type: install
- message: <<EOM
-To use the plugin, you must add at least the following to your trac.ini.
-
- [tracmath]
- latex_cmd = %%LOCALBASE%%/bin/latex
- dvipng_cmd = %%LOCALBASE%%/bin/dvipng
-
-You may also wish to set:
-
- cache_dir = <cache directory>
- max_png = <max number of pngs in cache - defaults to 500>
- use_dollars = enabled
-EOM
-}
-]
diff --git a/www/trac-math/pkg-descr b/www/trac-math/pkg-descr
deleted file mode 100644
index eb49bb16f000..000000000000
--- a/www/trac-math/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-Allow embedded equations in wiki pages. Basically a port of mt-math to
-trac.
-
-WWW: https://trac-hacks.org/wiki/TracMathPlugin