source: trunk/dports/x11/gtk-extra/Portfile

Last change on this file was 92853, checked in by jmr@…, 5 years ago

gtk-extra: fix path to config.{guess,sub}, replace incorrect src_dir with worksrcpath

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 986 bytes
Line 
1# $Id: Portfile 92853 2012-05-09 05:27:23Z ryandesign@macports.org $
2
3PortSystem              1.0
4name                    gtk-extra
5version                 0.99.17
6categories              x11 devel
7platforms               darwin
8maintainers             rogers.com:matthew.c
9description             Extra GTK+1 Widgets
10
11long_description        GtkExtra is a useful set of widgets for creating \
12                        GUIs for the Xwindows system using GTK+. You can \
13                        use it complementary to GTK+ and it is written in \
14                        C. It is also Free Software and released under the \
15                        LGPL license.
16                       
17homepage                http://gtkextra.sourceforge.net
18master_sites            ${homepage}/src/
19distname                gtk+extra-${version}
20
21depends_build           port:automake
22depends_lib             lib:libgtk.1:gtk1
23
24checksums               gtk+extra-0.99.17.tar.gz md5 390e622c12a5c7f7845ee144ae13ab93
25
26post-patch {
27        # Copy new versions of config.guess and config.sub for host detection
28        eval copy -force [glob ${prefix}/share/automake-*/config.{guess,sub}] \
29            {${worksrcpath}}
30
31        # Create an empty malloc.h file to provide missing header
32        # This header would define stuff that's in stdlib.h
33        touch ${worksrcpath}/malloc.h
34}
Note: See TracBrowser for help on using the repository browser.