Ticket #23634: Portfile

File Portfile, 1.4 KB (added by mail_ben_schmidt@…, 14 years ago)

New version to avoid hard coding /opt/local

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$
3
4PortSystem          1.0
5name                aap
6version             1.091
7revision            0
8categories          devel
9maintainers         mail_ben_schmidt@yahoo.com.au
10description         A-A-P helps you with distributed development of software.
11long_description    A-A-P helps you with distributed development of software. \
12                    Install a program on your system, obtain the sources \
13                    and make modifications, manage multiple versions \
14                    of the same project, distribute packages and much more. \
15                    A-A-P runs on many operating systems.
16homepage            http://www.a-a-p.org/
17platforms           darwin
18depends_lib         port:python26
19master_sites        sourceforge:a-a-p
20checksums           md5 6c7820e7596bd5be5cde29030d3cdf3b \
21                    sha1 4f91e48292457826251ec2fddcd3ad9a4814c8ed \
22                    rmd160 59cb689cd2e36621e00b5c0f3e53ee50129cdff5
23use_zip             yes
24extract.mkdir       yes
25use_configure       no
26patchfiles          patch-destroot.diff patch-python26.diff
27patch.pre_args      -p1
28post-patch {
29    reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/aap
30}
31build { }
32destroot.cmd        ./aap
33pre-destroot {
34    file mkdir ${destroot}${prefix}/share/doc
35}
36destroot.destdir    DESTDIR=${destroot} PREFIX=${prefix}