Ticket #46842: Portfile

File Portfile, 1005 bytes (added by howarth.at.macports@…, 10 years ago)

initial Portfile for new xvfb-run package with port:xvfb added to depends_run

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
3PortSystem          1.0
4
5name                xvfb-run
6version             1.4.2
7maintainers         gmail.com:howarth.at.macports
8description         Run x11 clients on headless machine
9
10depends_run         port:getopt port:xauth port:xvfb
11homepage            http://packages.debian.org/xvfb
12
13license             BSD
14
15distfiles           
16
17patchfiles          xorg-server_1.4.2-10.lenny4.debian-only-changes.diff xvfb-run.diff
18patch.pre_args      -p1
19
20configure {
21}
22
23build {
24}
25
26destroot {
27xinstall -d ${destroot}${prefix}/bin
28xinstall -m 755 ${worksrcpath}/debian/local/xvfb-run ${destroot}${prefix}/bin
29xinstall -d ${destroot}${prefix}/man/man1
30xinstall -m 644 ${worksrcpath}/debian/local/xvfb-run.1  ${destroot}${prefix}/man/man1
31xinstall -d ${destroot}${prefix}/share/doc/${name}
32xinstall -m 640 ${worksrcpath}/debian/copyright ${destroot}${prefix}/share/doc/${name}
33}