# $Id: Portfile,v 1.2 2004/09/27 08:55:04 pguyot Exp $
PortSystem			1.0
name				fvwm2
version				2.5.10
description			Version 2.x of FVWM, an X11 window manager.
long_description	FVWM 2.x is an extremely powerful ICCCM-compliant multiple virtual \
					desktop window manager for the X Window system.
homepage			http://www.fvwm.org/
maintainers			pguyot@kallisys.net
categories			x11-wm x11
platforms			darwin
master_sites		ftp://ftp.fvwm.org/pub/fvwm/version-2/ \
					ftp://ftp.hpc.uh.edu/pub/fvwm/version-2/
distname			fvwm-${version}
use_bzip2			yes
checksums			md5 b3c86e2af2a4eabe692c9c849ff4b243
# We probably require darwin 7 here.
# Cf: http://www.hpc.uh.edu/fvwm/archive/0211/msg00289.html
depends_lib			lib:libX11.6:XFree86 \
					lib:libXpm.4:xpm \
					lib:libgtk.1:gtk1 \
					lib:libreadline:readline \
					bin:gnome-config:gnome-libs
configure.env		CPPFLAGS=-I${prefix}/include \
					CFLAGS=-I${prefix}/include \
					LDFLAGS=-L${prefix}/lib
# I'm installing this in x11prefix like fvwm.
configure.args		--enable-gtk \
					--with-gnome \
					--with-ncurses-library=yes \
					--without-rplay-library \
					--without-stroke-library \
					--with-x \
					--prefix=${x11prefix}