source: trunk/dports/x11/xdiskusage/Portfile

Last change on this file was 97652, checked in by ryandesign@…, 5 years ago

allow fltk or fltk-devel to satisfy dependency, since they're now both 1.3.x versions

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 862 bytes
Line 
1# $Id: Portfile 97652 2012-09-10 20:18:16Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    xdiskusage
6version                 1.48
7revision                2
8categories              x11
9platforms               darwin
10maintainers             nomaintainer
11license                 GPL-2+
12
13description             program to show you what is using up all your disk space
14long_description        ${description}
15
16homepage                http://xdiskusage.sourceforge.net/
17master_sites    ${homepage}
18extract.suffix  .tgz
19checksums               md5 a902aa9d73761ade98256c3cd5c1f533
20
21depends_lib             path:lib/libfltk.dylib:fltk
22
23patchfiles              patch-configure.in.diff \
24                                patch-xdiskusage.C.diff
25
26# fix configure error with clang:
27# error: C++ requires a type specifier for all declarations
28use_autoreconf  yes
29
30destroot.destdir        prefix=${destroot}${prefix} mandir=${destroot}${prefix}/share/man
31
32platform macosx {
33    patchfiles-append       patch-makeinclude.in.diff
34   
35    post-activate {
36        system "${prefix}/bin/fltk-config --post xdiskusage"
37    }
38}
Note: See TracBrowser for help on using the repository browser.