diff --git a/sysutils/groff/Portfile b/sysutils/groff/Portfile
index 4a08feb77d..8a81dd1009 100644
a
|
b
|
|
3 | 3 | PortSystem 1.0 |
4 | 4 | |
5 | 5 | name groff |
6 | | conflicts mdocml |
7 | 6 | version 1.22.3 |
8 | 7 | revision 1 |
9 | 8 | categories sysutils textproc |
diff --git a/sysutils/man/Portfile b/sysutils/man/Portfile
index faa7ee1b6c..2d53faed76 100644
a
|
b
|
revision 1 |
8 | 8 | categories sysutils |
9 | 9 | platforms darwin |
10 | 10 | maintainers nomaintainer |
11 | | conflicts man2html |
| 11 | conflicts man2html mandoc |
12 | 12 | license GPL-2 |
13 | 13 | description The man page suite containing man, apropos, whatis, man2html |
14 | 14 | long_description The man page suite (man, apropos, and whatis) contains \ |
diff --git a/textproc/mandoc/Portfile b/textproc/mandoc/Portfile
index f6071d256b..5f381a2c0d 100644
a
|
b
|
version 1.14.1 |
7 | 7 | description UNIX manpage compiler |
8 | 8 | homepage http://mdocml.bsd.lv/ |
9 | 9 | categories textproc |
| 10 | conflicts man |
10 | 11 | license ISC |
11 | 12 | maintainers eitanadler.com:lists openmaintainer |
12 | 13 | platforms openbsd freebsd netbsd darwin |
… |
… |
pre-configure { |
28 | 29 | set content [subst { |
29 | 30 | |
30 | 31 | PREFIX="${prefix}" |
| 32 | MANDIR="${prefix}/share/man" |
31 | 33 | |
32 | | MANM_MANCONF="mandoc.conf" |
| 34 | # Use separate manpage names for the language references, |
| 35 | # like groff does with groff_man(7) etc, so we can coexist. |
33 | 36 | MANM_MAN="mandoc_man" |
34 | 37 | MANM_MDOC="mandoc_mdoc" |
35 | 38 | MANM_ROFF="mandoc_roff" |
36 | 39 | MANM_EQN="mandoc_eqn" |
37 | 40 | MANM_TBL="mandoc_tbl" |
38 | 41 | |
39 | | BINM_MAN="mman" |
40 | | BINM_APROPOS="mapropos" |
41 | | BINM_WHATIS="mwhatis" |
42 | | BINM_MAKEWHATIS="mandocdb" |
| 42 | # On the other hand, just use man.conf |
| 43 | # MANM_MANCONF="mandoc.conf" |
| 44 | |
| 45 | # Rename our soelim(1). That way we have no conflict with groff. |
| 46 | # We don't mind using some other soelim implementation. |
43 | 47 | BINM_SOELIM="msoelim" |
44 | 48 | |
| 49 | # User the usual chmod |
45 | 50 | INSTALL_PROGRAM="${configure.install} -m 0755" |
46 | 51 | INSTALL_LIB="${configure.install} -m 0644" |
47 | 52 | INSTALL_MAN="${configure.install} -m 0644" |
48 | 53 | INSTALL_DATA="${configure.install} -m 0644" |
49 | 54 | |
50 | 55 | INSTALL_LIBMANDOC=0 |
51 | | BUILD_CGI=0 |
52 | 56 | BUILD_CATMAN=0 |
| 57 | BUILD_CGI=0 |
53 | 58 | |
54 | 59 | CC="${configure.cc}" |
55 | 60 | CFLAGS="${configure.cppflags} ${configure.cflags} [get_canonical_archflags cc]" |
… |
… |
LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" |
58 | 63 | } ] |
59 | 64 | |
60 | 65 | set fd [open "${filename}" "w"] |
61 | | puts -nonewline "${fd}" "${content}" |
| 66 | puts "${fd}" "${content}" |
62 | 67 | close "${fd}" |
63 | 68 | } |
64 | 69 | |
… |
… |
LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" |
69 | 74 | # Kudos to jmr and ryandesign for explaining that. |
70 | 75 | variant universal {} |
71 | 76 | |
| 77 | build.args CC="${configure.cc}" |
72 | 78 | build.env CFLAGS="${configure.cppflags} ${configure.cflags} [get_canonical_archflags cc]" \ |
73 | 79 | LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" |
74 | | build.args CC="${configure.cc}" |