source: trunk/dports/textproc/help2man/Portfile

Last change on this file was 151884, checked in by khindenburg@…, 11 months ago

help2man: use perl 5.24 #52081

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