source: trunk/dports/textproc/doclifter/Portfile

Last change on this file was 125738, checked in by mf2k@…, 3 years ago

adodb argus-monitor base blt cacti cdpr doclifter eventlog expect gkrellm honeyd iwidgets kchmviewer libdnsres monarch moodss moomps nagios nagios-plugins nedi netmrg network-weathermap nfdump nfsen nrg nrpe nsca ntop p5-archive-zip p5-cgi p5-cgi-speedycgi p5-convert-asn1 p5-libintl-perl p5-mhonarc p5-net p5-perl-ldap rancid rrdtool scotty sendpage smokeping snort sympa syslog-ng tclx tftp-hpa tktable uplog vm-pop3d xserve-raid-tools zabbix: Ports abandoned by markd. (#44782)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 125738 2014-09-25 14:43:03Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            doclifter
6version         2.3
7revision        1
8categories      textproc
9platforms       darwin
10maintainers     nomaintainer
11description     troff macro to DocBook translater.
12long_description A troff macro to DocBook translater.  For example, \
13                it may be used to convert man pages to DocBook.
14homepage        http://catb.org/~esr/doclifter/
15master_sites    http://catb.org/~esr/doclifter/
16checksums       md5 db0573381ac1abec627b4bb5025087ea
17
18depends_lib     port:python26
19
20use_configure   no
21
22patchfiles      patch-doclifter.diff
23
24destroot {
25        xinstall -m 755 -d ${destroot}${prefix}/bin
26        xinstall -m 755 -d ${destroot}${prefix}/share/man/man1
27        xinstall ${worksrcpath}/doclifter ${destroot}${prefix}/bin
28        xinstall ${worksrcpath}/manlifter ${destroot}${prefix}/bin
29        xinstall ${worksrcpath}/doclifter.1 ${destroot}${prefix}/share/man/man1
30        xinstall ${worksrcpath}/manlifter.1 ${destroot}${prefix}/share/man/man1
31
32        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
33        foreach doc {BUGS COPYING README TODO} {
34                xinstall -m 644 ${worksrcpath}/${doc} ${destroot}${prefix}/share/doc/${name}
35        }
36        reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.6|" \
37                ${destroot}${prefix}/bin/doclifter
38        reinplace "s|#!/usr/bin/python|#!${prefix}/bin/python2.6|" \
39                ${destroot}${prefix}/bin/manlifter
40}
Note: See TracBrowser for help on using the repository browser.