# $Id: Portfile,v 1.12 2005/08/11 21:33:44 rshaw Exp $
PortSystem		1.0
PortGroup		zope 1.0

zope.setup		CMF 1.4.7 {CMFCore CMFDefault CMFTopic CMFCalendar DCWorkflow}
maintainers		darwinports@opendarwin.org
description		The Zope Content Management Framework (CMF)
long_description	The Zope Content Management Framework provides a set \
					of services and content objects useful for building \
					highly dynamic, content-oriented portal sites.  As \
					packaged, the CMF generates a site much like the \
					Zope.org site.  The CMF is intended to be easily \
					customizable, in terms of both the types of content \
					used and the policies and services it provides.
homepage		http://zope.org/Products/${zope.product}
master_sites	${homepage}/${distname}/
checksums		md5 2aca7518950444fa4f7437860865647f
platforms		darwin freebsd

post-destroot {
	if {[file isdirectory ${worksrcpath}/docs]} {
		set docPath ${destroot}${prefix}/share/doc
		xinstall -d -m 0755 ${docPath}
		system "cp -R ${worksrcpath}/docs ${docPath}/${name}"
	}
}

