source: trunk/dports/devel/aap/Portfile

Last change on this file was 72433, checked in by ryandesign@…, 7 years ago

aap: new port, version 1.091; see #23634

  • 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 72433 2010-10-15 00:25:17Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                aap
7version             1.091
8categories          devel
9platforms           darwin
10maintainers         yahoo.com.au:mail_ben_schmidt
11license             GPL-2
12supported_archs     noarch
13
14description         A-A-P helps you with distributed development of software.
15
16long_description    ${description} \
17                    Install a program on your system, obtain the sources \
18                    and make modifications, manage multiple versions \
19                    of the same project, distribute packages and much more. \
20                    A-A-P runs on many operating systems.
21
22homepage            http://www.a-a-p.org/
23master_sites        sourceforge:a-a-p
24use_zip             yes
25
26checksums           sha1    4f91e48292457826251ec2fddcd3ad9a4814c8ed \
27                    rmd160  59cb689cd2e36621e00b5c0f3e53ee50129cdff5
28
29depends_lib         port:python26
30
31extract.mkdir       yes
32
33patchfiles          patch-destroot.diff patch-python26.diff
34patch.pre_args      -p1
35
36post-patch {
37    reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/aap
38}
39
40use_configure       no
41
42build {}
43
44destroot.cmd        ./aap
45destroot.args       PREFIX=${prefix}
46
47post-destroot {
48    set docdir ${destroot}${prefix}/share/doc/${name}
49    xinstall -d ${docdir}
50    xinstall -m 644 -W ${worksrcpath} \
51        COPYING \
52        README.txt \
53        ${docdir}
54}
Note: See TracBrowser for help on using the repository browser.