source: trunk/dports/devel/unsermake/Portfile

Last change on this file was 136562, checked in by ryandesign@…, 2 years ago

unsermake: use just one glob

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