summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2009-05-04 22:48:26 +0000
committerschmonz <schmonz@pkgsrc.org>2009-05-04 22:48:26 +0000
commitc13b46defc4e148dc05f93464691915669879693 (patch)
treecdd94ffebf71559db06329591d49e95393809809 /www
parentb765760799647fc6a638f825831f0d357f9ff4d3 (diff)
downloadpkgsrc-c13b46defc4e148dc05f93464691915669879693.tar.gz
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 (limited to 'www')
-rw-r--r--www/wmd/DESCR12
-rw-r--r--www/wmd/Makefile31
-rw-r--r--www/wmd/PLIST29
-rw-r--r--www/wmd/distinfo5
4 files changed, 77 insertions, 0 deletions
diff --git a/www/wmd/DESCR b/www/wmd/DESCR
new file mode 100644
index 00000000000..8da8eb64c0e
--- /dev/null
+++ b/www/wmd/DESCR
@@ -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 --git a/www/wmd/Makefile b/www/wmd/Makefile
new file mode 100644
index 00000000000..ea6ed1cbc2a
--- /dev/null
+++ b/www/wmd/Makefile
@@ -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
+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 --git a/www/wmd/PLIST b/www/wmd/PLIST
new file mode 100644
index 00000000000..52a6df10abe
--- /dev/null
+++ b/www/wmd/PLIST
@@ -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 --git a/www/wmd/distinfo b/www/wmd/distinfo
new file mode 100644
index 00000000000..99168b7b197
--- /dev/null
+++ b/www/wmd/distinfo
@@ -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