# $Id: Portfile,v 1.2 2005/03/08 08:21:46 blb Exp $

PortSystem			1.0
PortGroup			perl5 1.0
perl5.setup			ExtUtils-CBuilder 0.03
maintainers			darwinports@opendarwin.org
description			Compile and link C code for Perl modules
long_description \
	This module can build the C portions of Perl modules by invoking the \
	appropriate compilers and linkers in a cross-platform manner.  It was \
	motivated by the Module::Build project, but may be useful for other \
	purposes as well.  However, it is not intended as a general \
	cross-platform interface to all your C building needs.  That would have \
	been a much more ambitious goal!

platforms			darwin

checksums			md5 1af765d42e90e421ac7f0afaaeedf53e

# Override default perl group settings, since this uses Module::Build
# instead of MakeMaker
configure.pre_args	Build.PL
configure.args		installdirs=vendor

build.cmd			${perl5.bin}
build.pre_args		Build
build.args			build

destroot.cmd		${perl5.bin}
destroot.pre_args	Build
destroot.args		install
destroot.destdir	destdir=${destroot}

