source: trunk/dports/devel/unsermake/Portfile @ 31256

Last change on this file since 31256 was 31256, checked in by takanori@…, 11 years ago

unsermake: Linted.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 31256 2007-11-19 05:23:41Z takanori@macports.org $
2
3PortSystem      1.0
4
5name            unsermake
6version         0.4-20070824
7revision        1
8categories      devel
9maintainers     nomaintainer
10description     Replacement for automake
11long_description \
12                Unsermake is an automake replacement from the KDE project.
13platforms       darwin
14homepage        http://www.kde.me.uk/index.php?page=unsermake
15master_sites    http://ranger.befunk.com/fink \
16                http://astrange.ithinksw.net/~astrange/ranger-fink \
17                http://www.southofheaven.net/befunk
18distfiles       ${name}-20070824.tar.bz2
19use_bzip2       yes
20checksums       md5 b794f83bdc3f6205d1fd731da4e96d89
21worksrcdir      ${name}
22
23depends_run     port:py25-zlib \
24                port:python25
25
26patch {
27    reinplace "s|exec python|exec ${prefix}/bin/python2.5|" ${worksrcpath}/unsermake
28}
29
30configure {}
31
32build {}
33
34destroot {
35    xinstall -d -m 755 ${destroot}${prefix}/share/unsermake
36    foreach f {*.um *.py} {
37        eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/unsermake/
38    }
39    xinstall -m 755 ${worksrcpath}/unsermake ${destroot}${prefix}/share/unsermake/
40    ln -s ${prefix}/share/unsermake/unsermake ${destroot}${prefix}/bin/unsermake
41}
42post-destroot {
43    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
44    xinstall -m 644 -W ${worksrcpath} COPYING README TODO ${destroot}${prefix}/share/doc/${name}
45}
46
47platform darwin 7 {
48    depends_run-append  port:coreutils
49    post-patch {
50        reinplace "s|`readlink|`greadlink|" ${worksrcpath}/unsermake
51    }
52}
Note: See TracBrowser for help on using the repository browser.