source: trunk/dports/sysutils/daemontools/Portfile @ 7924

Last change on this file since 7924 was 7924, checked in by rshaw, 15 years ago

Corrected destroot error caused by attempt to "strip" a Bourne shell script
in xinstall command.
Bumped revision.

Submitted by: rshaw@
Reviewed by: mww@
Approved by: mww@

  • Property svn:eol-style set to native
File size: 1.9 KB
Line 
1# $Id: Portfile,v 1.2 2004/08/11 22:08:28 rshaw Exp $
2
3PortSystem 1.0
4
5name                    daemontools
6version                 0.76
7revision                1
8categories              sysutils
9platforms               darwin
10maintainers             mww@opendarwin.org
11description             collection of tools for managing UNIX services
12long_description        daemontools is an extensive collection of tools for \
13                                        managing UNIX services. It includes tools for starting, \
14                                        restarting, stopping, monitoring and logging any services \
15                                        that you might wish to run.
16
17homepage                http://cr.yp.to/daemontools.html
18master_sites    http://cr.yp.to/daemontools/ \
19                                http://smarden.org/pape/djb/manpages/:man
20distfiles-append        ${distname}-man.tar.gz:man
21checksums               ${distname}.tar.gz md5 1871af2453d6e464034968a0fbcb2bfc \
22                                ${distname}-man.tar.gz md5 2d3858a48f293c87202f76cd883438ee
23
24worksrcdir              admin/${worksrcdir}
25
26use_configure   no
27
28build.cmd               package/compile
29build.target
30
31post-build      {
32        system "cd ${workpath}/daemontools-man && gzip *.8"
33}
34
35destroot        {
36        xinstall -m 755 -s -W ${worksrcpath}/command envdir envuidgid fghack \
37                multilog pgrphack readproctitle setlock setuidgid softlimit supervise \
38                svc svok svscan svstat tai64n tai64nlocal \
39                ${destroot}${prefix}/sbin
40        xinstall -m 755 -W ${worksrcpath}/command svscanboot \
41                ${destroot}${prefix}/sbin
42        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
43        xinstall -m 644 -W ${worksrcpath}/src CHANGES TODO \
44                ${destroot}${prefix}/share/doc/${name}
45
46        xinstall -m 755 -d ${destroot}${prefix}/share/man/man8
47        xinstall -m 644 -W ${workpath}/daemontools-man envdir.8.gz envuidgid.8.gz \
48                fghack.8.gz multilog.8.gz pgrphack.8.gz readproctitle.8.gz \
49                setlock.8.gz setuidgid.8.gz softlimit.8.gz supervise.8.gz svc.8.gz \
50                svok.8.gz svscan.8.gz svscanboot.8.gz svstat.8.gz tai64n.8.gz \
51                tai64nlocal.8.gz ${destroot}${prefix}/share/man/man8
52        xinstall -m 644 ${workpath}/daemontools-man/README \
53                ${destroot}${prefix}/share/doc/${name}/README_MANPAGES
54}
Note: See TracBrowser for help on using the repository browser.