# $Id: Portfile,v 1.8 2006/05/25 14:28:07 mww Exp $

PortSystem 1.0

name			msort
version			8.26
categories		textproc
platforms		darwin
maintainers		mww@opendarwin.org
description		program for sorting files in sophisticated ways
long_description	Msort is a program for sorting files in sophisticated \
			ways. Records need not be single lines.

homepage		http://msort.sourceforge.net/
master_sites	http://www.billposer.org/Software/Downloads/
extract.suffix	.tgz
checksums		sha1 6b99c4dcebefe944167c8ab11a31f7f66e267fab
patchfiles		patch-Makefile.in

depends_lib		port:libtre port:gettext
depends_run		port:tcl port:tk

configure.args	--mandir=${prefix}/share/man
configure.env	CFLAGS=-I${prefix}/include CPPFLAGS=-I${prefix}/include \
				LDFLAGS=-L${prefix}/lib

platform darwin 8 {
	configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0
}

