# $Id: Portfile,v 1.8 2005/11/29 21:58:30 mww Exp $

PortSystem 1.0
name			wml
version			2.0.9
platforms		darwin
categories		lang www
maintainers		darwinports@opendarwin.org
description		Website META Language
long_description	WML is a free and extensible Webdesigner's \
			off-line HTML generation toolkit for Unix
master_sites		http://thewml.org/distrib/ \
			ftp://thewml.org/distrib/

checksums		md5 a7c9da3b58f7e40706e3c29c37b4822b
patchfiles		patch-wml_aux-tidy-Makefile.in \
				patch-wml_backend-p2_mp4h-configure \
				patch-wml_backend-p2_mp4h-src-Makefile.in \
				patch-wml_backend-p3_eperl-eperl_proto.h \
				patch-wml_include-des-imgbg.src \
				patch-wml_include-des-imgdot.src

depends_lib		port:gdbm port:gettext port:libiconv

configure.args	--with-perl=${prefix}/bin/perl --without-modules
configure.env	CPATH=${prefix}/include

destroot.destdir	prefix=${destroot}/${prefix} \
				mandir=${destroot}${prefix}/share/man

platform darwin 8 {
	configure.args-append	--with-cc=/usr/bin/gcc-4.0
	build.args-append	CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0
}

