source: trunk/dports/textproc/help2man/Portfile @ 138691

Last change on this file since 138691 was 138691, checked in by khindenburg@…, 5 years ago

help2man: update to 1.47.1; use perl 5.22 #48365

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- 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
2# $Id: Portfile 138691 2015-07-16 13:34:27Z khindenburg@macports.org $
3
4PortSystem      1.0
5
6name            help2man
7version         1.47.1
8categories      textproc
9platforms       darwin
10license         GPL-3+
11installs_libs   no
12maintainers     khindenburg openmaintainer
13description     automatically generate simple man pages
14
15long_description \
16                help2man is a tool for automatically generating simple \
17                manual pages from program output.
18
19homepage        http://www.gnu.org/software/help2man/
20master_sites    gnu
21use_xz          yes
22
23checksums       rmd160  903bc09a7ae39242c3dabb52557f98544b60fb73 \
24                sha256  c59b26f60cb06e45b00e729dea721e7a17220e2c17d800eb428271a750382b06
25
26set branch      5.22
27depends_lib     port:perl${branch} port:p${branch}-locale-gettext \
28                port:gettext port:libiconv
29
30configure.perl  ${prefix}/bin/perl${branch}
31
32configure.args  --enable-nls
33
34configure.universal_args-delete --disable-dependency-tracking
35
36variant universal {}
37
38post-patch {
39    reinplace "s|-shared|-bundle ${configure.ldflags} [get_canonical_archflags ld]|" ${worksrcpath}/Makefile.in
40}
41
42post-destroot {
43    set docdir ${prefix}/share/doc/${name}
44    xinstall -d ${destroot}${docdir}
45    xinstall -m 0644 -W ${worksrcpath} COPYING debian/changelog NEWS README THANKS \
46        ${destroot}${docdir}
47}
Note: See TracBrowser for help on using the repository browser.