From eb2f907f0d54c77184e5bde36c9e26f77ae841f6 Mon Sep 17 00:00:00 2001 From: miwi Date: Sat, 12 Jan 2008 16:15:03 +0000 Subject: 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 --- www/Makefile | 1 + www/trac-wysiwyg/Makefile | 33 +++++++++++++++++++++++++++++++++ www/trac-wysiwyg/distinfo | 3 +++ www/trac-wysiwyg/pkg-descr | 5 +++++ www/trac-wysiwyg/pkg-message | 8 ++++++++ www/trac-wysiwyg/pkg-plist | 1 + 6 files changed, 51 insertions(+) create mode 100644 www/trac-wysiwyg/Makefile create mode 100644 www/trac-wysiwyg/distinfo create mode 100644 www/trac-wysiwyg/pkg-descr create mode 100644 www/trac-wysiwyg/pkg-message create mode 100644 www/trac-wysiwyg/pkg-plist (limited to 'www') 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 +# +# $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 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 -- cgit