source: trunk/dports/devel/cvsgraph/Portfile

Last change on this file was 109427, checked in by ryandesign@…, 4 years ago

revbump ports linking with libgd that were built while gd2 @2.1.0 was missing the pkgconfig dependency and was therefore missing some features which caused these ports to build differently (#39550)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 109427 2013-08-15 13:11:47Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            cvsgraph
6version         1.7.0
7revision        2
8categories      devel
9license         GPL-2+
10maintainers     nomaintainer
11description     utility for graphical representation of CVS/RCS revision tree
12long_description    CvsGraph is a utility to make a graphical \
13                    representation of all revisions and branches of a \
14                    file in a CVS/RCS repository.
15platforms       darwin
16homepage        http://www.akhphd.au.dk/~bertho/cvsgraph
17master_sites    ${homepage}/release
18
19checksums       md5     8194c0c6f6837fcfa3ad0fab5dfc0597 \
20                sha1    952c35381ba8db39d05f1a4e504e9bc8e43a7beb \
21                rmd160  d7eafcd921b9157277d0beed5d14c33dfd0f25a3
22
23depends_lib     port:gd2
24
25post-patch {
26    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/${name}.h ${worksrcpath}/README
27}
28
29configure.args  --with-gd-inc=${prefix}/include \
30                --with-gd-lib=${prefix}/lib
31
32destroot {
33    xinstall -m 0755 -W ${worksrcpath} ${name} ${destroot}${prefix}/bin/
34    xinstall -m 0644 -W ${worksrcpath} ${name}.1 ${destroot}${prefix}/share/man/man1/
35    xinstall -m 0644 -W ${worksrcpath} ${name}.conf ${destroot}${prefix}/etc/${name}.conf.sample
36    xinstall -m 0644 -W ${worksrcpath} ${name}.conf.5 ${destroot}${prefix}/share/man/man5/
37    xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
38    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog contrib/cvsgraphwrapper.php contrib/mkimage.php README ${destroot}${prefix}/share/doc/${name}/
39}
Note: See TracBrowser for help on using the repository browser.