# $Id: Portfile,v 1.15 2005/09/25 09:21:59 cjr Exp $

PortSystem 1.0

name 		docbook-xsl
version		1.69.1
categories	textproc
description	the docbook xsl stylesheets
platforms	darwin
maintainers     michaelm@opendarwin.org
master_sites	sourceforge:docbook
homepage	http://docbook.sf.net/
checksums	md5 6f2478faea86bd55abb36ddb57291347
use_configure 	no
build		{}

set dirs_to_install	"common eclipse extensions fo html htmlhelp images \
					javahelp lib manpages params profiling template \
					xhtml VERSION"
set instdir			"share/xsl/${name}"

destroot	{
	xinstall -m 755 -d ${destroot}/${prefix}/${instdir} \
		${destroot}/${prefix}/share/doc/${name} \
		${destroot}/${prefix}/share/${name}
	xinstall -m 644 -W ${worksrcpath} BUGS ChangeLog README \
		RELEASE-NOTES.html RELEASE-NOTES.xml TODO VERSION NEWS \
		${destroot}/${prefix}/share/doc/${name}
	foreach dirname $dirs_to_install {
		file copy ${worksrcpath}/${dirname} ${destroot}/${prefix}/${instdir}
	}
}

