# $Id: Portfile 67042 2010-04-27 23:02:18Z ryandesign@macports.org $
PortSystem 1.0
PortGroup zope 1.0

zope.setup		CVSFile 0.9.0
revision		2
maintainers		nomaintainer
description		This is the CVSFile Zope Product.
long_description	The CVSFile package is a Zope product.  CVSFile \
					allows one to use CVS as a version control system \
					for Zope content.  The developer creates a CVSFile, \
					pointing to a file in the developer's CVS Sandbox on \
					the Zope server.  Other Zope objects are able to \
					access the content, but it is actually stored on the \
					disk, rather than in the ZODB.  CVSFile enables the \
					user to modify the file and do simple CVS commands. \
					CVSFile inherits from ExternalFile \
					(http://www.zope.org/Members/arielpartners/ExternalFile), \
					a Zope product that behaves like a standard Zope \
					object like File, Page Template,or DTMLMethod, but \
					points to external content in the filesystem.
homepage		http://zope.org/Members/arielpartners/${zope.product}
master_sites	${homepage}/${version}/
distname		${zope.product}-[strsed ${version} {g/[.]/-/}]
use_zip			yes
checksums		md5 e2841081d9b038c8a1acee97ff4b0e17
platforms		darwin freebsd

depends_lib-append		port:zope-externalfile
depends_run		bin:cvs:cvs

post-patch {
	reinplace "s|'tests'|& and name != 'extras'|" ${workpath}/compilezpy.py
}

