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

Last change on this file since 51955 was 51955, checked in by arthurk@…, 8 years ago

Compile core modules with python25; mark old core module ports as stubs; remove deps on stubs (#12369)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 51955 2009-06-07 10:04:10Z arthurk@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:python25
24
25patch {
26    reinplace "s|exec python|exec ${prefix}/bin/python2.5|" ${worksrcpath}/unsermake
27}
28
29configure {}
30
31build {}
32
33destroot {
34    xinstall -d -m 755 ${destroot}${prefix}/share/unsermake
35    foreach f {*.um *.py} {
36        eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/unsermake/
37    }
38    xinstall -m 755 ${worksrcpath}/unsermake ${destroot}${prefix}/share/unsermake/
39    ln -s ${prefix}/share/unsermake/unsermake ${destroot}${prefix}/bin/unsermake
40}
41post-destroot {
42    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
43    xinstall -m 644 -W ${worksrcpath} COPYING README TODO ${destroot}${prefix}/share/doc/${name}
44}
45
46platform darwin 7 {
47    depends_run-append  port:coreutils
48    post-patch {
49        reinplace "s|`readlink|`greadlink|" ${worksrcpath}/unsermake
50    }
51}
Note: See TracBrowser for help on using the repository browser.