aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-01-13 00:15:03 +0800
committermiwi <miwi@FreeBSD.org>2008-01-13 00:15:03 +0800
commiteb2f907f0d54c77184e5bde36c9e26f77ae841f6 (patch)
tree8f22c41bafa1f26edcca35e7415aecf01c9614d6 /www
parent53d692a6d781709dfcb72d473efad9174b7713ff (diff)
downloadfreebsd-ports-gnome-eb2f907f0d54c77184e5bde36c9e26f77ae841f6.tar.gz
freebsd-ports-gnome-eb2f907f0d54c77184e5bde36c9e26f77ae841f6.tar.zst
freebsd-ports-gnome-eb2f907f0d54c77184e5bde36c9e26f77ae841f6.zip
This plugin provides a wiki WYSIWYG editor that generates Trac
wiki markup. This enables users to switch between the WYSIWYG mode and the standard wiki markup format, as needed. WWW: http://trac-hacks.org/wiki/TracWysiwygPlugin PR: ports/119571 Submitted by: Greg Larkin <glarkin at sourcehosting.net>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/trac-wysiwyg/Makefile33
-rw-r--r--www/trac-wysiwyg/distinfo3
-rw-r--r--www/trac-wysiwyg/pkg-descr5
-rw-r--r--www/trac-wysiwyg/pkg-message8
-rw-r--r--www/trac-wysiwyg/pkg-plist1
6 files changed, 51 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 9fb82c922296..41553671d37a 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1244,6 +1244,7 @@
SUBDIR += trac-wikinotification
SUBDIR += trac-wikirename
SUBDIR += trac-wikitemplates
+ SUBDIR += trac-wysiwyg
SUBDIR += trac-xmlrpc
SUBDIR += transproxy
SUBDIR += twhttpd
diff --git a/www/trac-wysiwyg/Makefile b/www/trac-wysiwyg/Makefile
new file mode 100644
index 000000000000..0dad14177309
--- /dev/null
+++ b/www/trac-wysiwyg/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: trac-wysiwyg
+# Date created: Jan 11 2008
+# Whom: Greg Larkin <glarkin@sourcehosting.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wysiwyg
+PORTVERSION= 0.2
+CATEGORIES= www devel python
+MASTER_SITES= http://www.sourcehosting.net/freebsd/distfiles/
+PKGNAMEPREFIX= trac-
+DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
+
+MAINTAINER= glarkin@sourcehosting.net
+COMMENT= WYSIWYG editor for Trac wiki
+
+BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
+RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
+
+USE_ZIP= yes
+
+WRKSRC= ${WRKDIR}/trac${PORTNAME}plugin/0.10
+NO_BUILD= yes
+USE_PYTHON= 2.3+
+USE_PYDISTUTILS=yes
+PLIST_SUB+= PORTVERSION=${PORTVERSION} PYTHONVERSION=${_PYTHON_VERSION}
+PYDISTUTILS_NOEGGINFO= yes
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/trac-wysiwyg/distinfo b/www/trac-wysiwyg/distinfo
new file mode 100644
index 000000000000..988e4a9889f6
--- /dev/null
+++ b/www/trac-wysiwyg/distinfo
@@ -0,0 +1,3 @@
+MD5 (wysiwygplugin-0.2.zip) = 398926240666273bf7088c948d3c04f6
+SHA256 (wysiwygplugin-0.2.zip) = 18133585c45489c91eb449bc28b9d6a694837e6b6a24b0006836507851709bea
+SIZE (wysiwygplugin-0.2.zip) = 77814
diff --git a/www/trac-wysiwyg/pkg-descr b/www/trac-wysiwyg/pkg-descr
new file mode 100644
index 000000000000..b9b647ff36fc
--- /dev/null
+++ b/www/trac-wysiwyg/pkg-descr
@@ -0,0 +1,5 @@
+This plugin provides a wiki WYSIWYG editor that generates Trac
+wiki markup. This enables users to switch between the WYSIWYG mode
+and the standard wiki markup format, as needed.
+
+WWW: http://trac-hacks.org/wiki/TracWysiwygPlugin
diff --git a/www/trac-wysiwyg/pkg-message b/www/trac-wysiwyg/pkg-message
new file mode 100644
index 000000000000..b8b8686c61a1
--- /dev/null
+++ b/www/trac-wysiwyg/pkg-message
@@ -0,0 +1,8 @@
+**************************************************
+To complete the installation, please add:
+
+[components]
+tracwysiwyg.* = enabled
+
+to your trac.ini to enable the WYSIWYG editor.
+**************************************************
diff --git a/www/trac-wysiwyg/pkg-plist b/www/trac-wysiwyg/pkg-plist
new file mode 100644
index 000000000000..d2303036c49c
--- /dev/null
+++ b/www/trac-wysiwyg/pkg-plist
@@ -0,0 +1 @@
+%%PYTHON_SITELIBDIR%%/TracWysiwyg-%%PORTVERSION%%-py%%PYTHONVERSION%%.egg