BSD Ports

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

SystemPortVersion
FreeBSDtextproc/discount3.0.2.0
OpenBSDtextproc/discount3.0.1.3
NetBSDtextproc/discount2.2.7e
DragonFlytextproc/discount2.2.7d
MidnightBSDtextproc/discount2.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.0.2.03.0.2.02.2.7b2.2.7d3.0.2.0
FreeBSD:14:quarterly3.0.2.03.0.2.0n/a2.2.7d3.0.2.0
FreeBSD:15:latest3.0.2.03.0.2.0n/a2.2.7d2.2.7d
FreeBSD:15:quarterly3.0.2.03.0.2.0n/an/an/a
FreeBSD:16:latest3.0.2.03.0.2.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

OptionDefaultDescription
EXTRAonEnable all extra features
SAMPLESoffInstall sample programs
TAB8onUse 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
FileSizeSHA256
discount-3.0.2.0.tar.bz21137144747d9e745c2bb6fc0f2cf24ebf27d8f5cc61d08c01fafa54db419b604f1b674
Master sites 1
  • https://www.pell.portland.or.us/~orc/Code/discount/

Commit history 2

DateCommitCreditsLog message
fbabd61ade Po-Chuan Hsieh textproc/discount: Update to 3.0.2.0
Changes: https://github.com/Orc/discount/commits/main
6ef74faca4 Po-Chuan Hsieh textproc/discount: Update to 3.0.1.3
Changes: https://github.com/Orc/discount/commits/main