notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details on branch 2025Q2
discount C implementation of the Markdown markup language
2.2.7d textproc on this many watch lists=5 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.2.7dVersion of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2009-04-26 23:47:44
Last Update: 2025-01-28 17:04:46
Commit Hash: 57a11f4
People watching this port, also watch:: libXdamage, xcb-util-image, libssh, vcdimager, libevent
Also Listed In: devel
License: BSD3CLAUSE
WWW:
https://www.pell.portland.or.us/~orc/Code/discount/
https://github.com/Orc/discount
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.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (39 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/discount-2.2.7d/catalog.mk
  3. /usr/local/share/licenses/discount-2.2.7d/LICENSE
  4. /usr/local/share/licenses/discount-2.2.7d/BSD3CLAUSE
  5. @comment bin/makepage
  6. bin/markdown
  7. @comment bin/mkd2html
  8. @comment bin/theme
  9. include/mkdio.h
  10. lib/libmarkdown.a
  11. lib/libmarkdown.so
  12. lib/libmarkdown.so.2
  13. lib/libmarkdown.so.2.2.7
  14. libdata/pkgconfig/libmarkdown.pc
  15. @comment share/man/man1/makepage.1.gz
  16. share/man/man1/markdown.1.gz
  17. @comment share/man/man1/mkd2html.1.gz
  18. @comment share/man/man1/theme.1.gz
  19. share/man/man3/markdown.3.gz
  20. share/man/man3/mkd-callbacks.3.gz
  21. share/man/man3/mkd-functions.3.gz
  22. share/man/man3/mkd-line.3.gz
  23. share/man/man3/mkd_cleanup.3.gz
  24. share/man/man3/mkd_compile.3.gz
  25. share/man/man3/mkd_css.3.gz
  26. share/man/man3/mkd_doc_author.3.gz
  27. share/man/man3/mkd_doc_date.3.gz
  28. share/man/man3/mkd_doc_title.3.gz
  29. share/man/man3/mkd_generatecss.3.gz
  30. share/man/man3/mkd_generatehtml.3.gz
  31. share/man/man3/mkd_generateline.3.gz
  32. share/man/man3/mkd_in.3.gz
  33. share/man/man3/mkd_line.3.gz
  34. share/man/man3/mkd_string.3.gz
  35. share/man/man7/markdown.7.gz
  36. share/man/man7/mkd-extensions.7.gz
  37. @owner
  38. @group
  39. @mode
Collapse this list.
Dependency lines:
  • discount>0:textproc/discount
Conflicts:
CONFLICTS_INSTALL:
  • markdown
To install the port:
cd /usr/ports/textproc/discount/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/discount
  • pkg install discount
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: discount
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1693987425 SHA256 (discount-2.2.7d.tar.bz2) = 12a2041e96ae8cde17e08ff1a215d331580a5c58688daa5a18842b6bb5b77b52 SIZE (discount-2.2.7d.tar.bz2) = 106055

Packages (timestamps in pop-ups are UTC):
discount
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.2.7d2.2.7d2.2.62.2.7d2.2.7d-2.2.6-
FreeBSD:13:quarterly2.2.7d2.2.7d2.2.7c2.2.7d2.2.7d2.2.7d2.2.7d2.2.7d
FreeBSD:14:latest2.2.7d2.2.7d2.2.7b2.2.7d2.2.7d2.2.7b-2.2.7b
FreeBSD:14:quarterly2.2.7d2.2.7d-2.2.7d2.2.7d2.2.7d2.2.7d2.2.7d
FreeBSD:15:latest2.2.7d2.2.7dn/a2.2.7dn/a2.2.7d2.2.7d2.2.7d
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. pkgconf>=1.3.0_1 : devel/pkgconf
This port is required by:
for Build
  1. deskutils/kdepim-addons
  2. deskutils/showdown
  3. editors/quilter
  4. graphics/minder
  5. graphics/okular
  6. graphics/pdfpc
  7. net-im/purple-mattermost
Expand this list (10 items / 3 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. net-im/purple-rocketchat
  3. Collapse this list.

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. graphics/okular-devel*
  2. net-im/pidgin-rocketchat*
  3. Collapse this list of deleted ports.
for Libraries
  1. graphics/minder
  2. graphics/pdfpc
  3. math/labplot
  4. misc/kookbook
  5. sysutils/plasma6-discover
for Run
  1. deskutils/kdepim-addons
  2. graphics/okular

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. graphics/okular-devel*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for discount-2.2.7d: EXTRA=on: Enable all extra features SAMPLES=off: Install sample programs TAB8=on: Use a tabstop of 8 (default is 4) ===> Use 'make config' to modify these settings
Options name:
textproc_discount
USES:
cpe pathfix pkgconfig tar:bz2
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://www.pell.portland.or.us/~orc/Code/discount/
Collapse this list.

There are no commits on branch 2025Q2 for this port