source: trunk/dports/gnome/libcroco/Portfile @ 41808

Last change on this file since 41808 was 41808, checked in by ryandesign@…, 11 years ago

Change dependency style "path:${prefix}/..." to "path:..." in all nomaintainer ports, because this is simpler and actually works; see #17182

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 41808 2008-11-10 23:41:44Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            libcroco
6version         0.6.1
7set branch      [join [lrange [split ${version} .] 0 1] .]
8revision        1
9categories      gnome
10platforms       darwin
11maintainers     nomaintainer
12description     A CSS parsing and manipulation toolkit for GNOME
13
14long_description \
15    A generic Cascading Style Sheet (CSS) parsing and manipulation \
16    toolkit for GNOME applications that need CSS support.
17
18homepage        http://www.freespiders.org/projects/libcroco/
19master_sites    gnome:sources/${name}/${branch}/
20use_bzip2       yes
21
22checksums       md5 b0975bd01eb11964f1b3f254f267a43d \
23                sha1 fdb1d0ab7082836c570f98b1846e4ddcc0b37607 \
24                rmd160 ed823fa815f8fcb6a87b1637db6df2561e92425d
25
26depends_lib     port:gettext \
27                path:lib/pkgconfig/glib-2.0.pc:glib2 \
28                port:libiconv \
29                port:libxml2 \
30                port:zlib
31
32configure.args              --mandir=${prefix}/share/man
33configure.cppflags-append   -L${prefix}/lib
34
35test.run        yes
36test.env        DYLD_LIBRARY_PATH=${worksrcpath}/src/.libs
37
38post-destroot {
39    set docdir ${prefix}/share/doc/${name}-${version}
40    xinstall -d ${destroot}${docdir}
41    xinstall -m 0644 -W ${worksrcpath} ABOUT-NLS AUTHORS COPYING COPYING.LIB ChangeLog \
42        NEWS README TODO ${destroot}${docdir}
43}
44
45livecheck.check regex
46livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
47livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
48
Note: See TracBrowser for help on using the repository browser.