Files
Lawrence VelázquezandMojca Miklavec 34b3070336 Remove all $Id$ lines
for pf in */*/Portfile
do
    ed -s "$pf" <<-'EOF'
	1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
	1g/^[[:space:]]*$/d
	w
	q
	EOF
done
2016-12-28 18:14:04 +01:00

38 lines
1.5 KiB
Plaintext

PortSystem 1.0
name cvsgraph
version 1.7.0
revision 2
categories devel
license GPL-2+
maintainers nomaintainer
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 8194c0c6f6837fcfa3ad0fab5dfc0597 \
sha1 952c35381ba8db39d05f1a4e504e9bc8e43a7beb \
rmd160 d7eafcd921b9157277d0beed5d14c33dfd0f25a3
depends_lib port:gd2
post-patch {
reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/${name}.h ${worksrcpath}/README
}
configure.args --with-gd-inc=${prefix}/include \
--with-gd-lib=${prefix}/lib
destroot {
xinstall -m 0755 -W ${worksrcpath} ${name} ${destroot}${prefix}/bin/
xinstall -m 0644 -W ${worksrcpath} ${name}.1 ${destroot}${prefix}/share/man/man1/
xinstall -m 0644 -W ${worksrcpath} ${name}.conf ${destroot}${prefix}/etc/${name}.conf.sample
xinstall -m 0644 -W ${worksrcpath} ${name}.conf.5 ${destroot}${prefix}/share/man/man5/
xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog contrib/cvsgraphwrapper.php contrib/mkimage.php README ${destroot}${prefix}/share/doc/${name}/
}