a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 21519 2007-01-26 16:18:23Z css@macports.org $
PortSystem 1.0
name cvsgraph
version 1.6.1
categories devel
maintainers nomaintainer@macports.org
description utility for graphical representation of CVS/RCS revision tree
long_description CvsGraph is a utility to make a graphical \
representation of all revisions and branches of a \
file in a CVS/RCS repository.
platforms darwin
homepage http://www.akhphd.au.dk/~bertho/cvsgraph
master_sites ${homepage}/release
checksums md5 2f3da8e85de67d0690b120b33304f966 \
sha1 ca5011537e22d6399eeb4d44c9ba0830e0f240a6
depends_lib port:gd2
post-patch {
cd ${worksrcpath}
reinplace "s|/usr/local|${prefix}|g" ${name}.1 README
}
configure.args --with-gd-inc=${prefix}/include \
--with-gd-lib=${prefix}/lib
destroot {
cd ${worksrcpath}
xinstall -m 0755 ${name} ${destroot}${prefix}/bin/
xinstall -m 0644 ${name}.1 ${destroot}${prefix}/share/man/man1/
xinstall -m 0644 ${name}.conf ${destroot}${prefix}/etc/${name}.conf.sample
xinstall -m 0644 ${name}.conf.5 ${destroot}${prefix}/share/man/man5/
xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
xinstall -m 0644 ChangeLog contrib/cvsgraphwrapper.php3 LICENSE contrib/mkimage.php3 README ${destroot}${prefix}/share/doc/${name}/
}