a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22139 2007-02-18 20:50:18Z ryandesign@macports.org $
PortSystem 1.0
name gtk-extra
version 0.99.17
categories x11 devel
platforms darwin
maintainers matthew.c@rogers.com
description Extra GTK+1 Widgets
long_description GtkExtra is a useful set of widgets for creating \
GUIs for the Xwindows system using GTK+. You can \
use it complementary to GTK+ and it is written in \
C. It is also Free Software and released under the \
LGPL license.
homepage http://gtkextra.sourceforge.net
master_sites ${homepage}/src/
distname gtk+extra-${version}
depends_lib lib:libgtk.1:gtk1
checksums gtk+extra-0.99.17.tar.gz md5 390e622c12a5c7f7845ee144ae13ab93
pre-configure {
# Copy new versions of config.guess and config.sub for host detection
set src_dir ${portpath}/${workdir}/${name}-${version}
system "cp /usr/share/automake-1.6/config.guess ${src_dir}"
system "cp /usr/share/automake-1.6/config.sub ${src_dir}"
}
pre-build {
# Create an empty malloc.h file to provide missing header
# This header would define stuff that's in stdlib.h
set src_dir ${portpath}/${workdir}/${name}-${version}
system "touch ${src_dir}/malloc.h"
}