PortSystem 1.0

name			ossp-ex
version			1.0.6
categories		devel
platforms		darwin
license			BSD
maintainers		nomaintainer
description		ISO-C++ style exception handling library for the ISO-C language
long_description	OSSP ex is a small ISO-C++ style exception handling \
				library for use in the ISO-C language. It allows you to use \
				the paradigm of throwing and catching exceptions in order to \
				reduce the amount of error handling code without making your \
				program less robust.

homepage		http://www.ossp.org/pkg/lib/ex/
master_sites	ftp://ftp.ossp.org/pkg/lib/ex/ freebsd
distname		ex-${version}
checksums		sha1 bd02fb372cb88ee531c42a425d1cf691d83d9415

configure.args	--mandir=${prefix}/share/man

pre-destroot {
	# crude hack to get Makefile to install
	reinplace "s|^install:|install: dummy|g" ${worksrcpath}/Makefile
	system "touch ${worksrcpath}/dummy"
}
