pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/wmd Initial import of WMD, a simple, lightweight H...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2fdf878a7202
branches:  trunk
changeset: 558477:2fdf878a7202
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon May 04 22:48:26 2009 +0000

description:
Initial import of WMD, a simple, lightweight HTML editor for blog
comments, forum posts, and basic content management. You can add
WMD to any textarea with one line of code. Add live preview with
one line more. WMD works in nearly all modern browsers, and is now
completely free to use. The next release will be open source under
an MIT-style license.

This is not a WYSIWYG editor. Writing HTML to look a certain way
can make your text less accessible to blind people, search engines,
mobile users, and feed readers. HTML describes a document's logical
structure -- not its appearance. It just wasn't built for WYSIWYG.

So WMD is something new: a Wysiwym Markdown editor.

diffstat:

 www/wmd/DESCR    |  12 ++++++++++++
 www/wmd/Makefile |  31 +++++++++++++++++++++++++++++++
 www/wmd/PLIST    |  29 +++++++++++++++++++++++++++++
 www/wmd/distinfo |   5 +++++
 4 files changed, 77 insertions(+), 0 deletions(-)

diffs (93 lines):

diff -r de690e4f0629 -r 2fdf878a7202 www/wmd/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/wmd/DESCR     Mon May 04 22:48:26 2009 +0000
@@ -0,0 +1,12 @@
+WMD is a simple, lightweight HTML editor for blog comments, forum
+posts, and basic content management. You can add WMD to any textarea
+with one line of code. Add live preview with one line more. WMD
+works in nearly all modern browsers, and is now completely free to
+use. The next release will be open source under an MIT-style license.
+
+This is not a WYSIWYG editor. Writing HTML to look a certain way
+can make your text less accessible to blind people, search engines,
+mobile users, and feed readers. HTML describes a document's logical
+structure -- not its appearance. It just wasn't built for WYSIWYG.
+
+So WMD is something new: a Wysiwym Markdown editor.
diff -r de690e4f0629 -r 2fdf878a7202 www/wmd/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/wmd/Makefile  Mon May 04 22:48:26 2009 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/05/04 22:48:26 schmonz Exp $
+#
+
+DISTNAME=              wmd-1.0.1
+CATEGORIES=            www
+MASTER_SITES=          http://wmd-editor.com/downloads/
+EXTRACT_SUFX=          .zip
+
+MAINTAINER=            schmonz%NetBSD.org@localhost
+HOMEPAGE=              http://wmd-editor.com/
+COMMENT=               Simple, lightweight WYSIWYM Markdown editor
+#LICENSE=              "next release will be under an MIT-style license"
+
+USE_LANGUAGES=         # none
+NO_BUILD=              yes
+
+INSTALLATION_DIRS=     share/doc/wmd share/wmd/images
+
+do-install:
+       cd ${WRKSRC} &&                                                 \
+       for f in *.txt *Example.html; do                                \
+               ${INSTALL_DATA} $${f} ${PREFIX}/share/doc/wmd;          \
+       done;                                                           \
+       for f in wmd/*.js; do                                           \
+               ${INSTALL_DATA} $${f} ${PREFIX}/share/wmd;              \
+       done;                                                           \
+       for f in wmd/images/*.png; do                                   \
+               ${INSTALL_DATA} $${f} ${PREFIX}/share/wmd/images;       \
+       done
+
+.include "../../mk/bsd.pkg.mk"
diff -r de690e4f0629 -r 2fdf878a7202 www/wmd/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/wmd/PLIST     Mon May 04 22:48:26 2009 +0000
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/05/04 22:48:26 schmonz Exp $
+share/doc/wmd/apiExample.html
+share/doc/wmd/minimalExample.html
+share/doc/wmd/optionsExample.html
+share/doc/wmd/readme.txt
+share/wmd/images/bg-fill.png
+share/wmd/images/bg.png
+share/wmd/images/blockquote.png
+share/wmd/images/bold.png
+share/wmd/images/code.png
+share/wmd/images/h1.png
+share/wmd/images/hr.png
+share/wmd/images/img.png
+share/wmd/images/italic.png
+share/wmd/images/link.png
+share/wmd/images/ol.png
+share/wmd/images/redo.png
+share/wmd/images/separator.png
+share/wmd/images/ul.png
+share/wmd/images/undo.png
+share/wmd/images/wmd-on.png
+share/wmd/images/wmd.png
+share/wmd/showdown.js
+share/wmd/wmd-base.js
+share/wmd/wmd-plus.js
+share/wmd/wmd.js
+@dirrm share/wmd/images
+@dirrm share/wmd
+@dirrm share/doc/wmd
diff -r de690e4f0629 -r 2fdf878a7202 www/wmd/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/wmd/distinfo  Mon May 04 22:48:26 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/05/04 22:48:26 schmonz Exp $
+
+SHA1 (wmd-1.0.1.zip) = 0448cf143d926ea840e013517ae97b3eb82d322e
+RMD160 (wmd-1.0.1.zip) = b929fa11379db53fcaf5dee9b3d8518aa9f09744
+Size (wmd-1.0.1.zip) = 30863 bytes



Home | Main Index | Thread Index | Old Index