Import discount-2.1.6 as textproc/discount, packaged for wip

by zecrazytux and fhajny.

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.

Original Markdown implementation is written in Perl. Discount provides a
Markdown CLI tool and a library, written in C.
This commit is contained in:
wiz 2013-04-04 09:40:22 +00:00
parent e95ddeb1a9
commit 61b5af6a93
5 changed files with 85 additions and 0 deletions

14
textproc/discount/DESCR Normal file
View file

@ -0,0 +1,14 @@
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.
Original Markdown implementation is written in Perl. Discount provides a
Markdown CLI tool and a library, written in C.

View file

@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.1 2013/04/04 09:40:23 wiz Exp $
#
DISTNAME= discount-2.1.6
CATEGORIES= textproc
MASTER_SITES= http://www.pell.portland.or.us/~orc/Code/discount/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= zecrazytux@zecrazytux.net
HOMEPAGE= http://www.pell.portland.or.us/~orc/Code/discount/
COMMENT= Markdown C implementation
LICENSE= modified-bsd
HAS_CONFIGURE= YES
CONFIGURE_SCRIPT= ./configure.sh
CONFIGURE_ARGS= --prefix=${PREFIX}
CONFIGURE_ARGS+= --execdir=${PREFIX}/bin
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
CONFIGURE_ARGS+= --enable-all-features
INSTALL_TARGET= install.everything
TEST_TARGET= test
.include "../../mk/bsd.pkg.mk"

29
textproc/discount/PLIST Normal file
View file

@ -0,0 +1,29 @@
@comment $NetBSD: PLIST,v 1.1 2013/04/04 09:40:23 wiz Exp $
bin/makepage
bin/markdown
bin/mkd2html
bin/theme
include/mkdio.h
lib/libmarkdown.a
man/man1/makepage.1
man/man1/markdown.1
man/man1/mkd2html.1
man/man1/theme.1
man/man3/markdown.3
man/man3/mkd-callbacks.3
man/man3/mkd-functions.3
man/man3/mkd-line.3
man/man3/mkd_cleanup.3
man/man3/mkd_compile.3
man/man3/mkd_css.3
man/man3/mkd_doc_author.3
man/man3/mkd_doc_date.3
man/man3/mkd_doc_title.3
man/man3/mkd_generatecss.3
man/man3/mkd_generatehtml.3
man/man3/mkd_generateline.3
man/man3/mkd_in.3
man/man3/mkd_line.3
man/man3/mkd_string.3
man/man7/markdown.7
man/man7/mkd-extensions.7

View file

@ -0,0 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.1 2013/04/04 09:40:23 wiz Exp $
BUILDLINK_TREE+= discount
.if !defined(DISCOUNT_BUILDLINK3_MK)
DISCOUNT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.discount+= discount>=2.1.6
BUILDLINK_PKGSRCDIR.discount?= ../../textproc/discount
.endif # DISCOUNT_BUILDLINK3_MK
BUILDLINK_TREE+= -discount

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2013/04/04 09:40:23 wiz Exp $
SHA1 (discount-2.1.6.tar.bz2) = a7461731613d0e2f88dd19af9feb860c191e8234
RMD160 (discount-2.1.6.tar.bz2) = 1cddc71a87e56ba0138e8ca9774c402236a91a7d
Size (discount-2.1.6.tar.bz2) = 83823 bytes