source: trunk/dports/textproc/psbind/Portfile @ 74878

Last change on this file since 74878 was 74878, checked in by ryandesign@…, 7 years ago

psbind: skip the perl5 dependency by using /usr/bin/pod2man, since psbind itself uses /usr/bin/perl; see http://lists.macosforge.org/pipermail/macports-dev/2011-January/013534.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 74878 2011-01-05 11:27:42Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    psbind
6version                 20030617
7revision                2
8categories              textproc print
9platforms               darwin
10maintainers             nomaintainer
11supported_archs         noarch
12
13description             psbind is a smarter psnup
14
15long_description        psbind examines the margins in a PostScript document \
16                        and rearranges the pages to fit them onto paper \
17                        efficiently. It outputs a transformed PostScript \
18                        document.
19
20extract.suffix
21extract.only
22extract.mkdir           yes
23
24homepage                http://www.digitas.harvard.edu/~ken/${name}/
25master_sites            http://www.cpan.org/authors/id/K/KE/KENSHAN/
26
27checksums               sha1    39e82fde6c0b8a5dc393feb241698ba4cc8f7dcb \
28                        rmd160  fbaecf7dcbe2bcfe3f2a9e3b09ffe08624535b11
29
30depends_run             port:a2ps \
31                        port:ghostscript \
32                        port:libpaper
33
34post-extract {
35    copy ${distpath}/${distfiles} ${worksrcpath}/${name}
36}
37
38use_configure           no
39
40build {
41    system "cd ${worksrcpath} && /usr/bin/pod2man ${name} ${name}.1"
42}
43
44destroot {
45    xinstall -m 755 -W ${worksrcpath} ${name} ${destroot}${prefix}/bin
46    xinstall -m 644 -W ${worksrcpath} ${name}.1 ${destroot}${prefix}/share/man/man1
47}
Note: See TracBrowser for help on using the repository browser.