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

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

help2man: change variable to avoid confusion

  • 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 138745 2015-07-18 01:10:55Z 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
26# set pbranch to desired perl version
27# currently 5.22 (#48365)
28set pbranch     5.22
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.