# $Id: Portfile,v 1.1 2005/10/25 16:01:34 mww Exp $

PortSystem 1.0

name			ecm
version			1.0
categories		archivers
platforms		darwin
maintainers		mww@opendarwin.org
description		CD image file error code modeler
long_description	ECM (Error Code Modeler) lets you prepare CD image files - \
			such as BIN, CDI, NRG, CCD, or similar - so that they'll compress \
			far better.

homepage		http://www.neillcorlett.com/ecm/
master_sites	${homepage}
distname		ecm100
checksums		md5 debcc0772cea7e8b1ae2562a38788fb6
use_zip			yes

pre-extract {
	file mkdir ${worksrcpath}
	file copy ${filespath}/Makefile ${worksrcpath}
}
extract.dir		${worksrcpath}

use_configure	no

destroot.destdir	prefix=${destroot}${prefix}

platform darwin 8 {
	build.args	CC=/usr/bin/gcc-4.0
}
