Files

36 lines
1.1 KiB
Tcl

# -*- 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
PortGroup github 1.0
name discount
categories textproc
maintainers {landonf @landonf} openmaintainer
description C implementation of the Markdown markup language
long_description ${description}.
homepage https://www.pell.portland.or.us/~orc/Code/discount/
github.setup Orc discount 3.0.1.2 v
revision 0
checksums rmd160 5e06c2a33108df0dfca1c777ea7b352f699ba083 \
sha256 4ea6cc8782c6508b3051c469ed7a1b6ca20b023c2a0c26ccd9c83bc7e61dfc16 \
size 143419
license BSD
github.tarball_from archive
configure.cmd ./configure.sh
configure.args-append --shared --pkg-config
use_parallel_build no
post-build {
system -W ${worksrcpath} "install_name_tool -id ${prefix}/lib/libmarkdown.dylib libmarkdown.dylib"
}
post-destroot {
file rename ${destroot}${prefix}/bin/markdown \
${destroot}${prefix}/bin/discount-markdown
}