diff --git a/net/libpsl/Portfile b/net/libpsl/Portfile
index 37750cf85b..13dd4682f2 100644
a
|
b
|
PortSystem 1.0 |
4 | 4 | PortGroup github 1.0 |
5 | 5 | |
6 | 6 | github.setup rockdaboot libpsl 0.19.1 libpsl- |
7 | | revision 3 |
| 7 | revision 4 |
8 | 8 | license MIT |
9 | 9 | description A C library and utility to handle the Public Suffix List |
10 | 10 | long_description ${description} |
… |
… |
checksums ${main_distfile} \ |
40 | 40 | |
41 | 41 | depends_build-append \ |
42 | 42 | port:pkgconfig \ |
43 | | port:gtk-doc \ |
44 | 43 | port:python27 |
45 | 44 | |
46 | 45 | depends_lib-append path:lib/pkgconfig/glib-2.0.pc:glib2 \ |
… |
… |
post-patch { |
63 | 62 | configure.python ${prefix}/bin/python2.7 |
64 | 63 | |
65 | 64 | configure.args --enable-builtin=libidn2 \ |
66 | | --enable-gtk-doc \ |
67 | 65 | --disable-silent-rules |
| 66 | |
| 67 | subport libpsl-docs { |
| 68 | description GTK docs for libpsl. |
| 69 | long_description ${description} |
| 70 | } |
| 71 | |
| 72 | if {${subport} eq ${name}} { |
| 73 | |
| 74 | configure.args-append \ |
| 75 | --disable-gtk-doc \ |
| 76 | --disable-gtk-doc-html \ |
| 77 | --disable-gtk-doc-pdf |
| 78 | |
| 79 | notes "GTK-based documentation is provided by the port 'libpsl-docs'." |
| 80 | |
| 81 | } else { |
| 82 | |
| 83 | depends_build-append \ |
| 84 | port:gtk-doc |
| 85 | |
| 86 | depends_lib-append \ |
| 87 | port:libpsl |
| 88 | |
| 89 | configure.args-append \ |
| 90 | --enable-gtk-doc |
| 91 | |
| 92 | post-destroot { |
| 93 | delete ${destroot}${prefix}/bin \ |
| 94 | ${destroot}${prefix}/include \ |
| 95 | ${destroot}${prefix}/lib \ |
| 96 | ${destroot}${prefix}/share/man |
| 97 | |
| 98 | } |
| 99 | } |