Source
xxxxxxxxxx
# -*- 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 man
version 1.6g
revision 1
categories sysutils
platforms darwin
maintainers nomaintainer
conflicts mandoc
license GPL-2
description The man page suite containing man, apropos, whatis, man2html
long_description The man page suite (man, apropos, and whatis) contains \
programs used to read most of the documentation on a Unix \
system. The whatis and apropos programs are used to find \
documentation related to a particular subject.
homepage http://primates.ximian.com/~flucifredi/man/
master_sites ${homepage}
patchfiles patch-configure \
patch-configure-prepath \
patch-man2html_Makefile.in \
configure.diff \
PR3845474.diff \
PR3857969.diff \
PR3939085.diff \
PR4006198.diff \
PR4062483.diff \
PR4076593.diff \
PR4302566.diff \
PR4670363.diff \
src__man-getopt.c.diff \
src__man.c.diff \
src__manpath.c.diff \
src__util.c.diff
checksums md5 ba154d5796928b841c9c69f0ae376660 \
sha1 ef9e1f36a1a536a31112d52c3f39340900b0d3cb \
rmd160 f1a845bcf454424f49a3281a86217af0328d88e2
# Doesn't work, see ticket #23108
universal_variant no
configure.args --mandir=${prefix}/share/man \
-compatibility_mode_for_colored_groff \
-confdir=${prefix}/etc \
+fhs
# sed: RE error: illegal byte sequence, #37189
build.env-append LC_ALL=C LANG=C
depends_run port:bzip2 \
port:groff \
port:gzip \
port:less
post-destroot {
file delete ${destroot}${prefix}/share/locale
}
variant man_all_lang {
configure.args-append +lang all
}
# if libxcselect is available, also add Xcode man pages to search path
if {${os.platform} eq "darwin" && ${os.major} >= 13} {
variant xcode description {Look up additional man pages installed by Xcode} {
patchfiles-append PR11291804-xcode.diff
build.env-append LIBS=-lxcselect
}
default_variants +xcode
}
platform darwin 9 {
patchfiles-append src__man.conf.in.diff
}