summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authordan <dan>2006-11-13 01:20:09 +0000
committerdan <dan>2006-11-13 01:20:09 +0000
commit8bef4d4934abefdfef207f763db13d54212e05a8 (patch)
tree6cfc151ffbddf1b144b7dec3d95776c2ee9c06bd /textproc
parentbbd856feed715beabfd12acccf0b7683443a47a6 (diff)
downloadpkgsrc-8bef4d4934abefdfef207f763db13d54212e05a8.tar.gz
Initial import of Markdown-1.0.1
Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Markdown/DESCR11
-rw-r--r--textproc/Markdown/Makefile32
-rw-r--r--textproc/Markdown/PLIST5
-rw-r--r--textproc/Markdown/distinfo5
4 files changed, 53 insertions, 0 deletions
diff --git a/textproc/Markdown/DESCR b/textproc/Markdown/DESCR
new file mode 100644
index 00000000000..5f295cc3e1a
--- /dev/null
+++ b/textproc/Markdown/DESCR
@@ -0,0 +1,11 @@
+Markdown is a text-to-HTML conversion tool for web writers. Markdown
+allows you to write using an easy-to-read, easy-to-write plain text
+format, then convert it to structurally valid XHTML (or HTML).
+
+The overriding design goal for Markdown's formatting syntax is to make
+it as readable as possible. The idea is that a Markdown-formatted
+document should be publishable as-is, as plain text, without looking
+like it?s been marked up with tags or formatting instructions. While
+Markdown's syntax has been influenced by several existing text-to-HTML
+filters, the single biggest source of inspiration for Markdown's
+syntax is the format of plain text email.
diff --git a/textproc/Markdown/Makefile b/textproc/Markdown/Makefile
new file mode 100644
index 00000000000..b6e2abb07ea
--- /dev/null
+++ b/textproc/Markdown/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/11/13 01:20:09 dan Exp $
+#
+
+DISTNAME= Markdown_1.0.1
+PKGNAME= Markdown-1.0.1
+CATEGORIES= textproc
+MASTER_SITES= http://daringfireball.net/projects/downloads/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= dan@NetBSD.org
+HOMEPAGE= http://daringfireball.net/projects/markdown/
+COMMENT= Text-to-HTML conversion tool for web writers
+
+USE_LANGUAGES= # none
+NO_BUILD= yes
+USE_TOOLS+= perl:run
+
+REPLACE_PERL+= Markdown.pl
+
+PERL5_SITELIB= ${PERL5_SUB_INSTALLVENDORLIB:Q}
+PLIST_SUBST+= PERL5_SITELIB=${PERL5_SITELIB:Q}
+
+.include "../../mk/bsd.prefs.mk"
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/Markdown.pl ${PREFIX}/bin/Markdown
+ ${INSTALL_SCRIPT} ${WRKSRC}/Markdown.pl ${PREFIX}/${PERL5_SITELIB}/Markdown.pm
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/Markdown
+ ${INSTALL_DATA} ${WRKSRC}/"Markdown Readme.text" ${PREFIX}/share/doc/Markdown
+ ${INSTALL_DATA} ${WRKSRC}/License.text ${PREFIX}/share/doc/Markdown
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/Markdown/PLIST b/textproc/Markdown/PLIST
new file mode 100644
index 00000000000..85e9c2940e8
--- /dev/null
+++ b/textproc/Markdown/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/11/13 01:20:09 dan Exp $
+bin/Markdown
+${PERL5_SITELIB}/Markdown.pm
+share/doc/Markdown/License.text
+share/doc/Markdown/Markdown Readme.text
diff --git a/textproc/Markdown/distinfo b/textproc/Markdown/distinfo
new file mode 100644
index 00000000000..f07d8116516
--- /dev/null
+++ b/textproc/Markdown/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/11/13 01:20:09 dan Exp $
+
+SHA1 (Markdown_1.0.1.zip) = 933f37dc305bf86554026416da1a54be9bb7ff74
+RMD160 (Markdown_1.0.1.zip) = ce07c6b88c12823a657068b3d51d159ad08c0e17
+Size (Markdown_1.0.1.zip) = 18648 bytes