Fetching contributors…
Cannot retrieve contributors at this time
56 lines (44 sloc) 1.92 KB
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name asciidoc
version 8.6.9
revision 3
checksums sha256 78db9d0567c8ab6570a6eff7ffdf84eadd91f2dfc0a92a2d0105d323cab4e1f0 \
rmd160 f19936593e3bed2755d77d38dd78a4769f77c7fa
categories textproc
license GPL-2+
maintainers {cal @neverpanic} openmaintainer
description Formatter/translator for text files to numerous formats
long_description \
AsciiDoc is a text document format for writing short documents, \
articles, books and UNIX man pages. AsciiDoc files can be translated to \
HTML (with or without stylesheets), DocBook and LinuxDoc markup using \
the asciidoc(1) command. AsciiDoc is highly configurable: both the \
AsciiDoc source file syntax and the backend output markups (which can be \
almost any type of SGML/XML markup) can be customized and extended by \
the user.
platforms darwin
supported_archs noarch
master_sites sourceforge
depends_lib port:python27
depends_run port:docbook-xml-4.5 \
port:fop \
port:libxml2 \
# Other runtime dependencies include dblatex, w3m and epubcheck, but those are
# rarely used and large. See #52758.
configure.python ${prefix}/bin/python2.7 install docs vimdir=${prefix}/share/vim/vimfiles/
pre-destroot {
xinstall -d ${destroot}${prefix}/share/vim/vimfiles
post-destroot {
reinplace "s:#!/usr/bin/env python:#!${prefix}/bin/python2.7:" \
${destroot}${prefix}/bin/asciidoc \
platform darwin {
# Avoid hidden dependency on gsed
configure.env-append SED=/usr/bin/sed