textproc/discount 3.0.2.0 FreeBSD
C implementation of the Markdown markup language
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
fbabd61ade- License
- BSD3CLAUSE
- Categories
- textproc, devel
- Package size
- 84.4 KiB, 287.4 KiB installed
Description
This is an implementation of John Gruber's Markdown text to html language. There's not much here that differentiates it from any of the existing Markdown implementations except that it's written in C instead of one of the vast flock of scripting languages that are fighting it out for the Perl crown.
Markdown provides a library that gives you formatting functions suitable for marking down entire documents or lines of text, a command-line program that you can use to mark down documents interactively or from a script, and a tiny (1 program so far) suite of example programs that show how to fully utilize the markdown library.
It also does, by default, various smartypants-style substitutions.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/discount | 3.0.2.0 |
| OpenBSD | textproc/discount | 3.0.1.3 |
| NetBSD | textproc/discount | 2.2.7e |
| DragonFly | textproc/discount | 2.2.7d |
| MidnightBSD | textproc/discount | 2.2.7d |
Install
Binary package:
pkg install discount
From the ports tree:
cd /usr/ports/textproc/discount/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= discount>0:textproc/discount
LIB_DEPENDS= libmarkdown.so:textproc/discount
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.0.2.0 | 3.0.2.0 | 2.2.7b | 2.2.7d | 3.0.2.0 |
| FreeBSD:14:quarterly | 3.0.2.0 | 3.0.2.0 | n/a | 2.2.7d | 3.0.2.0 |
| FreeBSD:15:latest | 3.0.2.0 | 3.0.2.0 | n/a | 2.2.7d | 2.2.7d |
| FreeBSD:15:quarterly | 3.0.2.0 | 3.0.2.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.0.2.0 | 3.0.2.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Configuration
Options name: textproc_discount
| Option | Default | Description |
|---|---|---|
| EXTRA | on | Enable all extra features |
| SAMPLES | off | Install sample programs |
| TAB8 | on | Use a tabstop of 8 (default is 4) |
- USES
- cpe pkgconfig tar:bz2
- Service scripts
- none
- Conflicts with
- markdown
Files
Manual pages 22
- makepage(1)
- markdown(1)
- markdown(3)
- markdown(7)
- mkd-callbacks(3)
- mkd-extensions(7)
- mkd-functions(3)
- mkd-line(3)
- mkd2html(1)
- mkd_cleanup(3)
- mkd_compile(3)
- mkd_css(3)
- mkd_doc_author(3)
- mkd_doc_date(3)
- mkd_doc_title(3)
- mkd_generatecss(3)
- mkd_generatehtml(3)
- mkd_generateline(3)
- mkd_in(3)
- mkd_line(3)
- mkd_string(3)
- theme(1)
pkg-plist 32
- bin/makepage
- bin/markdown
- bin/mkd2html
- bin/theme
- include/mkdio.h
- lib/libmarkdown.a
- lib/libmarkdown.so
- lib/libmarkdown.so.3
- lib/libmarkdown.so.
- libdata/pkgconfig/libmarkdown.pc
- share/man/man1/makepage.1.gz
- share/man/man1/markdown.1.gz
- share/man/man1/mkd2html.1.gz
- share/man/man1/theme.1.gz
- share/man/man3/markdown.3.gz
- share/man/man3/mkd-callbacks.3.gz
- share/man/man3/mkd-functions.3.gz
- share/man/man3/mkd-line.3.gz
- share/man/man3/mkd_cleanup.3.gz
- share/man/man3/mkd_compile.3.gz
- share/man/man3/mkd_css.3.gz
- share/man/man3/mkd_doc_author.3.gz
- share/man/man3/mkd_doc_date.3.gz
- share/man/man3/mkd_doc_title.3.gz
- share/man/man3/mkd_generatecss.3.gz
- share/man/man3/mkd_generatehtml.3.gz
- share/man/man3/mkd_generateline.3.gz
- share/man/man3/mkd_in.3.gz
- share/man/man3/mkd_line.3.gz
- share/man/man3/mkd_string.3.gz
- share/man/man7/markdown.7.gz
- share/man/man7/mkd-extensions.7.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| discount-3.0.2.0.tar.bz2 | 113714 | 4747d9e745c2bb6fc0f2cf24ebf27d8f5cc61d08c01fafa54db419b604f1b674 |
Master sites 1
- https://www.pell.portland.or.us/~orc/Code/discount/