# $Id: Portfile,v 1.3 2005/04/21 15:58:00 jberry Exp $

PortSystem			1.0
PortGroup			perl5 1.0
perl5.setup			ExtUtils-ParseXS 2.08
maintainers			darwinports@opendarwin.org
description			Converts Perl XS code into C code
long_description \
	ExtUtils::ParseXS will compile XS code into C code by embedding the \
	constructs necessary to let C functions manipulate Perl values and \
	creates the glue necessary to let Perl access those functions.  The \
	compiler uses typemaps to determine how to map C function parameters \
	and variables to Perl values.

platforms			darwin

checksums			md5 96a63d75e5ff2e2665ee97370690068a

depends_lib-append	port:p5-extutils-cbuilder

# 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}

