Ticket #20643: Portfile

File Portfile, 1.3 KB (added by ranauei@…, 15 years ago)

Updated Portfile

Line 
1# $Id: Portfile 45603 2009-01-18 20:52:41Z jeremyhu@macports.org $
2
3PortSystem      1.0
4
5name            ddd
6version         3.3.12
7categories      devel
8platforms       darwin
9maintainers     nomaintainer
10description     Data Display Debugger
11long_description DDD is a graphical front-end for GDB and other command-line debuggers.
12homepage        http://www.gnu.org/software/ddd/
13master_sites    gnu
14
15checksums       md5 c50396db7bac3862a6d2555b3b22c34e \
16                sha1 b91d2dfb1145af409138bd34517a898341724e56 \
17                rmd160 fcc71b2b57f4d7a2c17ac817739674c89e1dd7a0
18
19depends_lib \
20        port:ncurses \
21        lib:libXm:openmotif \
22        port:xorg-libXaw \
23        port:xorg-libXp
24
25configure.args  --infodir=${prefix}/share/info \
26                --mandir=${prefix}/share/man \
27                --enable-builtin-manual \
28                --enable-builtin-app-defaults
29
30# make will build the executable "ddd" and the X resource file "Ddd" in the same directory,
31# as HFS+ is case-insensitive by default, this will loosely FAIL.
32build.args      EXEEXT=.exe
33destroot.args   ${build.args}
34
35post-destroot {
36    move ${destroot}${prefix}/bin/ddd.exe ${destroot}${prefix}/bin/ddd
37}
38
39livecheck.check regex
40livecheck.url   http://ftp.gnu.org/gnu/${name}/?C=M&O=D
41livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
42