# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name mandoc version 1.14.6 description UNIX manpage compiler homepage https://mandoc.bsd.lv/ categories textproc conflicts man license ISC maintainers {grimreaper @grimreaper} openmaintainer platforms openbsd freebsd netbsd darwin long_description mandoc is a suite of tools compiling mdoc, \ the roff macro language of choice for \ BSD manual pages, and man, the predominant \ historical language for UNIX manuals. master_sites https://mandoc.bsd.lv/snapshots/ checksums rmd160 9cdf565cdf56e6a8d42194825218d44841ffcfbe \ sha256 8bf0d570f01e70a6e124884088870cbed7537f36328d512909eb10cd53179d9c \ size 697150 pre-configure { set filename "${worksrcpath}/configure.local" set content [subst { PREFIX="${prefix}" MANDIR="${prefix}/share/man" MANPATH_DEFAULT="${prefix}/share/man:/usr/local/share/man:/usr/share/man" MANPATH_BASE="/usr/share/man" # The following files are in conflict with groff: # bin/soelim, share/man/man1/soelim.1.gz, share/man/man7/roff.7.gz # Rename them so that mandoc and groff can coexist BINM_SOELIM="msoelim" MANM_ROFF="mandoc_roff" INSTALL_LIBMANDOC=0 BUILD_CGI=0 BUILD_CATMAN=0 CC="${configure.cc}" CFLAGS="${configure.cppflags} ${configure.cflags} [get_canonical_archflags cc]" LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" INSTALL="${configure.install}" } ] set fd [open "${filename}" "w"] puts "${fd}" "${content}" close "${fd}" } # ./configure takes no args configure.universal_args configure.pre_args configure.args