Ticket #36757: Portfile

File Portfile, 1.8 KB (added by gjasny@…, 12 years ago)

Addressed the comments. Portfile is now lint clean

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5
6name                mr
7version             1.13
8categories          devel
9platforms           darwin
10maintainers         googlemail.com:gjasny openmaintainer
11description         Multiple repository management tool
12
13long_description    The mr(1) command can checkout, update, or perform other actions on a set of \
14                    repositories as if they were one combined respository. It supports any combination \
15                    of git, svn, mercurial, bzr, darcs, cvs, vcsh, fossil, and veracity repositories, \
16                    and support for other version control systems can easily be added. \
17                    (There are extensions adding support for unison and git-svn, among others.)
18
19license             GPL-2+
20
21homepage            http://joeyh.name/code/mr/
22
23master_sites        debian:m/${name}
24distname            ${name}_${version}
25worksrcdir          ${name}
26
27checksums           rmd160 3d64e271ea0a0ac6dee07c5fb32cc5a8a6e64aa3 \
28                    sha256 9f7e93568113497c59f4fdb132f77cba06ca2d1705c1dec506632fded0ec78e0
29
30supported_archs     noarch
31use_configure       no
32build.target        build
33
34depends_lib         port:perl5
35depends_run         port:p5-html-parser port:p5-libwww-perl port:p5-getopt-long
36
37post-patch {
38    reinplace -locale C "s|^#!.*perl|#!${prefix}/bin/perl|" "${worksrcpath}/mr" "${worksrcpath}/webcheckout"
39}
40
41destroot {
42    xinstall -W ${worksrcpath} -m 755 mr webcheckout ${destroot}${prefix}/bin
43    xinstall -d -m 755 ${destroot}${prefix}/share/mr
44    eval xinstall -W ${worksrcpath} -m 644 [glob lib/*] ${destroot}${prefix}/share/mr
45    xinstall -W ${worksrcpath} -m 644 mr.1 webcheckout.1 ${destroot}${prefix}/share/man/man1/
46}